store\components\behaviors\DCategoryBehavior::getFullAssocData PHP Method

getFullAssocData() protected method

protected getFullAssocData ( $attributes ) : array | CDbDataReader
$attributes
return array | CDbDataReader
    protected function getFullAssocData($attributes)
    {
        $criteria = $this->getOwnerCriteria();
        $attributes = $this->aliasAttributes(array_unique(array_merge($attributes, [$this->primaryKeyAttribute])));
        $criteria->select = implode(', ', $attributes);
        $command = $this->createFindCommand($criteria);
        $this->clearOwnerCriteria();
        return $command->queryAll();
    }