Ignore:
Timestamp:
2013/03/04 09:05:06 (11 years ago)
Author:
pineray
Message:

#2166 商品並び替えページのツリーとパンくずを調整.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_Category.php

    r22595 r22597  
    113113     *  
    114114     * @param integer $category_id 起点のカテゴリーID 
     115     * @param boolean $id_only IDだけの配列を返す場合はtrue 
    115116     * @return array 
    116117     */ 
    117     public function getTreeTrail($category_id) 
     118    public function getTreeTrail($category_id, $id_only = TRUE) 
    118119    { 
    119120        $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); 
    121122        return $arrTrailID; 
    122123    } 
Note: See TracChangeset for help on using the changeset viewer.