store\components\behaviors\DCategoryTreeBehavior::getTabList PHP Метод

getTabList() публичный Метод

..)
public getTabList ( mixed $parent ) : array
$parent mixed number, object or array of numbers
Результат array
    public function getTabList($parent = 0)
    {
        $parents = $this->processParents($parent);
        $this->cached();
        $items = $this->getFullAssocData([$this->primaryKeyAttribute, $this->titleAttribute, $this->parentAttribute], $parent);
        $result = [];
        foreach ($parents as $parent_id) {
            $this->_getTabListRecursive($items, $result, $parent_id);
        }
        return $result;
    }