protected function listSubCategoryOptions()
    {
        $arResult = [];
        $obCategoryList = CategoryCollection::make()->tree();
        if ($obCategoryList->isEmpty()) {
            return $arResult;
        }

        $arResult = $this->getCategoryMenuOptions($obCategoryList);

        return $arResult;
    }
protected function listSubCategoryOptions()
    {
        $arResult = [];
        $obCategoryList = CategoryCollection::make()->tree();
        if ($obCategoryList->isEmpty()) {
            return $arResult;
        }

        $arResult = $this->getCategoryMenuOptions($obCategoryList);

        return $arResult;
    }
protected function listSubCategoryOptions ( ) { $ arResult = [ ] ; $ obCategoryList = CategoryCollection :: make ( ) -> tree ( ) ; if ( $ obCategoryList -> isEmpty ( ) ) { return $ arResult ; } $ arResult = $ this -> getCategoryMenuOptions ( $ obCategoryList ) ; return $ arResult ; }
Get subcategories list
@return array
Get subcategories list