- Timestamp:
- 2008/04/07 13:47:40 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/pages/admin/products/LC_Page_Admin_Products.php
r17226 r17227 325 325 326 326 // カテゴリの読込 327 $this->arrCatList = $objDb->sfGetCategoryList();328 $this->arrCat IDName = $this->lfGetIDName($this->arrCatList);327 list($this->arrCatKey, $this->arrCatVal) = $objDb->sfGetLevelCatList(false); 328 $this->arrCatList = $this->lfGetIDName($this->arrCatKey, $this->arrCatVal); 329 329 330 330 // 画面の表示 … … 394 394 395 395 // カテゴリIDをキー、カテゴリ名を値にする配列を返す。 396 function lfGetIDName($arrCat List) {397 $max = count($arrCat List);396 function lfGetIDName($arrCatKey, $arrCatVal) { 397 $max = count($arrCatKey); 398 398 for ($cnt = 0; $cnt < $max; $cnt++ ) { 399 $key = isset($arrCat List[$cnt]['category_id']) ? $arrCatList[$cnt]['category_id'] : "";400 $val = isset($arrCat List[$cnt]['category_name']) ? $arrCatList[$cnt]['category_name'] : "";399 $key = isset($arrCatKey[$cnt]) ? $arrCatKey[$cnt] : ""; 400 $val = isset($arrCatVal[$cnt]) ? $arrCatVal[$cnt] : ""; 401 401 $arrRet[$key] = $val; 402 402 }
Note: See TracChangeset
for help on using the changeset viewer.