Storm\Drivers\Base\Relational\Relations\ToOneRelationBase::MapRelationalParentDataToRelatedData PHP Метод

MapRelationalParentDataToRelatedData() публичный Метод

public MapRelationalParentDataToRelatedData ( ColumnData $ParentRow, ColumnData $RelatedRow )
$ParentRow Storm\Core\Relational\ColumnData
$RelatedRow Storm\Core\Relational\ColumnData
    public function MapRelationalParentDataToRelatedData(Relational\ColumnData $ParentRow, Relational\ColumnData $RelatedRow)
    {
        $ForeignKey = $this->GetForeignKey();
        if ($this->IsInversed()) {
            $ForeignKey->MapReferencedToParentKey($ParentRow, $RelatedRow);
        } else {
            $ForeignKey->MapParentToReferencedKey($ParentRow, $RelatedRow);
        }
    }