Changeset 22590 for branches/version-2_12-dev/data/class/pages
- Timestamp:
- 2013/03/01 10:40:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Category.php
r22589 r22590 130 130 function lfGetCatTree($arrParentCategoryId, $count_check = false) 131 131 { 132 $objDb = new SC_Helper_DB_Ex();133 132 $objCategory = new SC_Helper_Category_Ex($count_check); 134 133 $arrTree = $objCategory->getTree(); … … 136 135 $arrCategory = $objCategory->getList(); 137 136 foreach ($arrParentCategoryId as $category_id) { 138 $arrParentID = $objDb->sfGetParents( 139 'dtb_category', 140 'parent_category_id', 141 'category_id', 142 $category_id 143 ); 137 $arrParentID = SC_Utils_Ex::getTreeTrail($category_id, 'category_id', 'parent_category_id', $arrCategory); 144 138 $arrBrothersID = SC_Utils_Ex::sfGetBrothersArray( 145 139 $arrCategory,
Note: See TracChangeset
for help on using the changeset viewer.
