1
0
mirror of synced 2025-01-29 19:41:45 +03:00

=added the missing getter for the Doctrine_Relation object

This commit is contained in:
nightfreak 2007-11-05 18:05:17 +00:00
parent 9e3379689b
commit 89ce4a28ec

View File

@ -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;
}
}