=added the missing getter for the Doctrine_Relation object
This commit is contained in:
parent
9e3379689b
commit
89ce4a28ec
1 changed files with 9 additions and 0 deletions
|
@ -780,4 +780,13 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
|
|||
{
|
||||
return Doctrine_Lib::getCollectionAsString($this);
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the relation object
|
||||
* @return object Doctrine_Relation
|
||||
*/
|
||||
public function getRelation()
|
||||
{
|
||||
return $this->relation;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue