Свойство | Type | Description | |
---|---|---|---|
$_collection | |||
$_conditions | |||
$_foreignKeys | |||
$_mapper | |||
$_relationData | |||
$_relationRowCount |
Méthode | 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 |
Méthode | 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 | ||
Résultat | array |