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

Inheritance: extends KeyedRelation, implements Storm\Core\Relational\IToOneRelation
显示文件 Open project: timetoogo/penumbra Class Usage Examples

Public Methods

Method Description
MapParentKeysToRelatedRow ( array $ParentRows, array $RelatedRows )
MapRelationalParentDataToRelatedData ( ColumnData $ParentRow, ColumnData $RelatedRow )
Persist ( Transaction $Transaction, ResultRow $ParentData, RelationshipChange $RelationshipChange )

Protected Methods

Method Description
PersistIdentifyingRelationship ( Transaction $Transaction, ResultRow $ParentData, ResultRow $ChildData )

Method Details

MapParentKeysToRelatedRow() final public method

final public MapParentKeysToRelatedRow ( array $ParentRows, array $RelatedRows )
$ParentRows array
$RelatedRows array

MapRelationalParentDataToRelatedData() public method

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

Persist() public method

public Persist ( Transaction $Transaction, ResultRow $ParentData, RelationshipChange $RelationshipChange )
$Transaction Storm\Core\Relational\Transaction
$ParentData Storm\Core\Relational\ResultRow
$RelationshipChange Storm\Core\Relational\RelationshipChange

PersistIdentifyingRelationship() final protected method

final protected PersistIdentifyingRelationship ( Transaction $Transaction, ResultRow $ParentData, ResultRow $ChildData )
$Transaction Storm\Core\Relational\Transaction
$ParentData Storm\Core\Relational\ResultRow
$ChildData Storm\Core\Relational\ResultRow