Changeset 22856 for branches/version-2_13-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Category.php
- Timestamp:
- 2013/06/08 16:35:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Category.php
r22602 r22856 22 22 */ 23 23 24 // {{{ requires25 24 require_once CLASS_EX_REALDIR . 'page_extends/frontparts/bloc/LC_Page_FrontParts_Bloc_Ex.php'; 26 25 … … 32 31 * @version $Id$ 33 32 */ 34 class LC_Page_FrontParts_Bloc_Category extends LC_Page_FrontParts_Bloc_Ex 33 class LC_Page_FrontParts_Bloc_Category extends LC_Page_FrontParts_Bloc_Ex 35 34 { 36 37 // }}}38 // {{{ functions39 35 public $arrParentID; 40 36 … … 67 63 function action() 68 64 { 69 70 65 // モバイル判定 71 66 switch (SC_Display_Ex::detectDevice()) { … … 81 76 break; 82 77 } 83 84 78 85 79 } … … 119 113 $arrCategoryId = array(0); 120 114 } 115 121 116 return $arrCategoryId; 122 117 } … … 137 132 foreach ($arrParentCategoryId as $category_id) { 138 133 $arrParentID = $objCategory->getTreeTrail($category_id); 139 $this->arrParentID = array_merge($this->arrParentID, $arrParentID); 134 $this->arrParentID = array_merge($this->arrParentID, $arrParentID); 140 135 $this->root_parent_id[] = $arrParentID[0]; 141 136 } … … 179 174 $arrMainCat[] = $cat; 180 175 } 176 181 177 return $arrMainCat; 182 178 }
Note: See TracChangeset
for help on using the changeset viewer.