1
0
mirror of synced 2025-03-04 20:03:21 +03:00

Fixing hasRelation closes #406

This commit is contained in:
meus 2007-07-21 15:46:31 +00:00
parent 75dbc8c841
commit feaade5850

View File

@ -536,6 +536,18 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
$this->_parser->bind($args[0], $options);
}
}
/**
* hasRelation
*
* @param string $alias the relation to check if exists
* @return boolean true if the relation exists otherwise false
*/
public function hasRelation($alias)
{
return $this->_parser->hasRelation($alias);
}
/**
* getRelation
*