Prado\Data\ActiveRecord\Relations\TActiveRecordRelation::findForeignObjects PHP Méthode

findForeignObjects() protected méthode

Fetches the foreign objects using TActiveRecord::findAllByIndex()
protected findForeignObjects ( $fields, $indexValues ) : TActiveRecord[]
Résultat Prado\Data\ActiveRecord\TActiveRecord[] foreign objects.
    protected function findForeignObjects($fields, $indexValues)
    {
        $finder = $this->getContext()->getForeignRecordFinder();
        return $finder->findAllByIndex($this->_criteria, $fields, $indexValues);
    }