PHP Class Storm\Drivers\Base\Relational\Relations\ToManyRelation

Inheritance: extends ToManyRelationBase
Exibir arquivo Open project: timetoogo/penumbra

Public Methods

Method Description
MapRelationalParentDataToRelatedData ( ColumnData $ParentRow, ColumnData $RelatedRow )
__construct ( ForeignKey $ForeignKey )

Protected Methods

Method Description
GroupRelatedRowsByParentKeys ( array &$MappedRelatedRows, ForeignKey $ForeignKey, array $ParentRows, array $RelatedRows )
PersistIdentifyingRelationship ( Transaction $Transaction, ResultRow $ParentData, array $ChildRows )

Method Details

GroupRelatedRowsByParentKeys() protected method

protected GroupRelatedRowsByParentKeys ( array &$MappedRelatedRows, ForeignKey $ForeignKey, array $ParentRows, array $RelatedRows )
$MappedRelatedRows array
$ForeignKey Storm\Drivers\Base\Relational\Traits\ForeignKey
$ParentRows array
$RelatedRows array

MapRelationalParentDataToRelatedData() public method

public MapRelationalParentDataToRelatedData ( ColumnData $ParentRow, ColumnData $RelatedRow )
$ParentRow Storm\Core\Relational\ColumnData
$RelatedRow Storm\Core\Relational\ColumnData

PersistIdentifyingRelationship() protected method

protected PersistIdentifyingRelationship ( Transaction $Transaction, ResultRow $ParentData, array $ChildRows )
$Transaction Storm\Core\Relational\Transaction
$ParentData Storm\Core\Relational\ResultRow
$ChildRows array

__construct() public method

public __construct ( ForeignKey $ForeignKey )
$ForeignKey Storm\Drivers\Base\Relational\Traits\ForeignKey