프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_collection | |||
$_conditions | |||
$_foreignKeys | |||
$_mapper | |||
$_relationData | |||
$_relationRowCount |
메소드 | 설명 | |
---|---|---|
__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 |
메소드 | 설명 | |
---|---|---|
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 ( ) |