Changeset 15152 for branches/feature-module-update/html/frontparts
- Timestamp:
- 2007/08/01 10:23:57 (17 years ago)
- Location:
- branches/feature-module-update/html/frontparts/bloc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/html/frontparts/bloc/category.php
r15080 r15152 39 39 $arrRet = $objQuery->select($col, $from, $where); 40 40 41 $arrParentID = SC_Utils ::sfGetParents($objQuery, 'dtb_category', 'parent_category_id', 'category_id', $parent_category_id);42 $arrBrothersID = SC_Utils ::sfGetBrothersArray($arrRet, 'parent_category_id', 'category_id', $arrParentID);43 $arrChildrenID = SC_Utils ::sfGetUnderChildrenArray($arrRet, 'parent_category_id', 'category_id', $parent_category_id);41 $arrParentID = SC_Utils_Ex::sfGetParents($objQuery, 'dtb_category', 'parent_category_id', 'category_id', $parent_category_id); 42 $arrBrothersID = SC_Utils_Ex::sfGetBrothersArray($arrRet, 'parent_category_id', 'category_id', $arrParentID); 43 $arrChildrenID = SC_Utils_Ex::sfGetUnderChildrenArray($arrRet, 'parent_category_id', 'category_id', $parent_category_id); 44 44 45 45 $objSubPage->root_parent_id = $arrParentID[0]; -
branches/feature-module-update/html/frontparts/bloc/search_products.php
r15080 r15152 6 6 */ 7 7 class LC_SearchProductsPage { 8 9 10 11 8 function LC_SearchProductsPage() { 9 /** 必ず変更する **/ 10 $this->tpl_mainpage = BLOC_PATH . 'search_products.tpl'; // メイン 11 } 12 12 } 13 13 … … 16 16 17 17 // 選択中のカテゴリIDを判定する 18 $objSubPage->category_id = sfGetCategoryId($_GET['product_id'], $_GET['category_id']);18 $objSubPage->category_id = SC_Utils_Ex::sfGetCategoryId($_GET['product_id'], $_GET['category_id']); 19 19 // カテゴリ検索用選択リスト 20 $arrRet = sfGetCategoryList('', true, ' ');20 $arrRet = SC_Utils_Ex::sfGetCategoryList('', true, ' '); 21 21 22 22 if(is_array($arrRet)) { 23 24 25 $arrRet[$key] =sfCutString($val, SEARCH_CATEGORY_LEN);26 23 // 文字サイズを制限する 24 foreach($arrRet as $key => $val) { 25 $arrRet[$key] = SC_Utils_Ex::sfCutString($val, SEARCH_CATEGORY_LEN); 26 } 27 27 } 28 28 $objSubPage->arrCatList = $arrRet;
Note: See TracChangeset
for help on using the changeset viewer.