Prado\Data\ActiveRecord\Relations\TActiveRecordHasManyAssociation::getRelationForeignKeys PHP Метод

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

public getRelationForeignKeys ( ) : array
Результат array 2 arrays of source keys and foreign keys from the association table.
    public function getRelationForeignKeys()
    {
        $association = $this->getAssociationTable();
        $sourceKeys = $this->findForeignKeys($association, $this->getSourceRecord(), true);
        $fkObject = $this->getContext()->getForeignRecordFinder();
        $foreignKeys = $this->findForeignKeys($association, $fkObject);
        return array($sourceKeys, $foreignKeys);
    }