- Timestamp:
- 2013/03/04 09:05:06 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_Category.php
r22595 r22597 113 113 * 114 114 * @param integer $category_id 起点のカテゴリーID 115 * @param boolean $id_only IDだけの配列を返す場合はtrue 115 116 * @return array 116 117 */ 117 public function getTreeTrail($category_id )118 public function getTreeTrail($category_id, $id_only = TRUE) 118 119 { 119 120 $arrCategory = $this->getList(); 120 $arrTrailID = SC_Utils_Ex::getTreeTrail($category_id, 'category_id', 'parent_category_id', $arrCategory );121 $arrTrailID = SC_Utils_Ex::getTreeTrail($category_id, 'category_id', 'parent_category_id', $arrCategory, 0, $id_only); 121 122 return $arrTrailID; 122 123 }
Note: See TracChangeset
for help on using the changeset viewer.