Prado\Data\ActiveRecord\Relations\TActiveRecordRelation::setObjectProperty PHP Метод

setObjectProperty() защищенный Метод

Sets the foreign objects to the given property on the source object.
protected setObjectProperty ( $source, $properties, &$collections )
    protected function setObjectProperty($source, $properties, &$collections)
    {
        $hash = $this->getObjectHash($source, $properties);
        $prop = $this->getContext()->getProperty();
        $source->{$prop} = isset($collections[$hash]) ? $collections[$hash] : array();
    }