Property | Type | Description | |
---|---|---|---|
$_collection | |||
$_conditions | |||
$_foreignKeys | |||
$_mapper | |||
$_relationData | |||
$_relationRowCount |
Method | Description | |
---|---|---|
__construct ( phpDataMapper_Base $mapper, array $conditions, array $relationData ) | Constructor function | |
__toString ( ) | Called automatically when attribute is printed | |
all ( ) | Select all related records | |
conditions ( ) : array | Get foreign key relations | |
mapper ( ) | Get related DataMapper object | |
relationOrder ( ) : array | Get sorting for relations |
Method | Description | |
---|---|---|
execute ( ) | Internal function, caches fetched related rows from all() function call |
public __construct ( phpDataMapper_Base $mapper, array $conditions, array $relationData ) | ||
$mapper | phpDataMapper_Base | DataMapper object to query on for relationship data |
$conditions | array | |
$relationData | array |
protected execute ( ) |
public relationOrder ( ) : array | ||
return | array |