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

getSourceRecordValues() приватный Метод

private getSourceRecordValues ( $obj )
    private function getSourceRecordValues($obj)
    {
        $sourceKeys = $this->findForeignKeys($this->getAssociationTable(), $obj);
        $indexValues = $this->getIndexValues(array_values($sourceKeys), $obj);
        $data = array();
        $i = 0;
        foreach ($sourceKeys as $name => $srcKey) {
            $data[$name] = $indexValues[0][$i++];
        }
        return $data;
    }