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

getArray() public method

Return primary keys of all items
public getArray ( ) : array
return array
    public function getArray()
    {
        $criteria = $this->getOwnerCriteria();
        $criteria->select = $this->primaryKeyAttribute;
        $command = $this->createFindCommand($criteria);
        $result = $command->queryColumn();
        $this->clearOwnerCriteria();
        return $result;
    }