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);
    }