Storm\Drivers\Base\Relational\Relations\JoinTableRelation::MapParentRowToRelatedKey PHP Method

MapParentRowToRelatedKey() protected method

protected MapParentRowToRelatedKey ( ForeignKey $ForeignKey, ResultRow $ParentRow )
$ForeignKey Storm\Drivers\Base\Relational\Traits\ForeignKey
$ParentRow Storm\Core\Relational\ResultRow
    protected function MapParentRowToRelatedKey(ForeignKey $ForeignKey, Relational\ResultRow $ParentRow)
    {
        $JoinTableKey = $this->ParentForeignKey->ParentKey();
        $this->ParentForeignKey->MapReferencedToParentKey($ParentRow, $JoinTableKey);
        return $JoinTableKey;
    }