Storm\Drivers\Base\Relational\Traits\ForeignKey::GetReferencedColumns PHP Method

GetReferencedColumns() final public method

final public GetReferencedColumns ( )
    public final function GetReferencedColumns()
    {
        return $this->ReferencedColumnIdentifierMap;
    }

Usage Example

Esempio n. 1
0
 protected function GroupRelatedRowsByParentKeys(array &$MappedRelatedRows, ForeignKey $ForeignKey, array $ParentRows, array $RelatedRows)
 {
     $ParentJoinTableKeys = $this->ParentForeignKey->GetParentColumns();
     $ParentReferencedKeys = $this->ParentForeignKey->GetReferencedColumns();
     $GroupedRelatedRows = $this->GroupRowsByColumnValues($RelatedRows, $ParentJoinTableKeys);
     $this->MapParentRowKeysToGroupedRelatedRows($MappedRelatedRows, $ParentRows, $ParentReferencedKeys, $GroupedRelatedRows);
 }