src/xPDO/xPDO.php
public function getCollectionGraph($className, $graph, $criteria= null, $cacheFlag= true) {
        return $this->call($className, 'loadCollectionGraph', array(& $this, $className, $graph, $criteria, $cacheFlag));
    }
public function getCollectionGraph($className, $graph, $criteria= null, $cacheFlag= true) {
        return $this->call($className, 'loadCollectionGraph', array(& $this, $className, $graph, $criteria, $cacheFlag));
    }
public function getCollectionGraph ( $ className , $ graph , $ criteria = null , $ cacheFlag = true ) { return $ this -> call ( $ className , 'loadCollectionGraph' , array ( & $ this , $ className , $ graph , $ criteria , $ cacheFlag ) ) ; }
Retrieves a collection of xPDOObject instances with related objects.

@uses xPDOQuery::bindGraph()
@param string $className The name of the class to return a collection of.
@param string|array $graph A related object graph in array or JSON
format, e.g. array('relationAlias'=>array('subRelationAlias'=>array()))
or {"relationAlias":{"subRelationAlias":{}}}.  Note that the empty arrays
are necessary in order for the relation to be recognized.
@param mixed $criteria A valid xPDOCriteria instance or condition string.
@param boolean $cacheFlag Indicates if the result set should be cached.
@return array An array of instances matching the criteria with related
objects from the graph hydrated.  An empty array is returned when no
matches are found.
Retrieves a collection of xPDOObject instances with related objects .