src/behaviors/HasProperties.php
public function afterFind()
    {
        if ($this->autoFetchProperties === true) {

            /** @var \yii\db\ActiveRecord|\DevGroup\DataStructure\traits\PropertiesTrait $owner */
            $owner = $this->owner;
            $owner->ensurePropertyGroupIds();

            $models = [&$owner];
            PropertiesHelper::fillProperties($models);
        }
        return true;
    }
public function afterFind()
    {
        if ($this->autoFetchProperties === true) {

            /** @var \yii\db\ActiveRecord|\DevGroup\DataStructure\traits\PropertiesTrait $owner */
            $owner = $this->owner;
            $owner->ensurePropertyGroupIds();

            $models = [&$owner];
            PropertiesHelper::fillProperties($models);
        }
        return true;
    }
public function afterFind ( ) { if ( $ this -> autoFetchProperties === true ) { /** @var \yii\db\ActiveRecord|\DevGroup\DataStructure\traits\PropertiesTrait $owner */ $ owner = $ this -> owner ; $ owner -> ensurePropertyGroupIds ( ) ; $ models = [ & $ owner ] ; PropertiesHelper :: fillProperties ( $ models ) ; } return true ; }
Performs auto fetching properties if it is turned on
@return bool
Performs auto fetching properties if it is turned on