Ignore:
Timestamp:
2013/06/08 16:35:27 (11 years ago)
Author:
Seasoft
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • 主に空白・空白行の調整。もう少し整えたいが、一旦現状コミット。
File:
1 edited

Legend:

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

    r22777 r22856  
    3535    /** 
    3636     * コンストラクター 
    37      *  
     37     * 
    3838     * @param boolean $count_check 登録商品数をチェックする場合はtrue 
    3939     */ 
     
    4545    /** 
    4646     * カテゴリーの情報を取得. 
    47      *  
     47     * 
    4848     * @param integer $category_id カテゴリーID 
    4949     * @return array 
     
    6060        } 
    6161        $arrRet = $objQuery->getRow($col, $from, $where, array($category_id)); 
     62 
    6263        return $arrRet; 
    6364    } 
     
    6566    /** 
    6667     * カテゴリー一覧の取得. 
    67      *  
     68     * 
    6869     * @param boolean $cid_to_key 配列のキーをカテゴリーIDにする場合はtrue 
    6970     * @return array カテゴリー一覧の配列 
     
    102103    /** 
    103104     * カテゴリーツリーの取得. 
    104      *  
     105     * 
    105106     * @return type 
    106107     */ 
     
    112113            $arrTree[$this->count_check] = SC_Utils_Ex::buildTree('category_id', 'parent_category_id', LEVEL_MAX, $arrList); 
    113114        } 
     115 
    114116        return $arrTree[$this->count_check]; 
    115117    } 
     
    117119    /** 
    118120     * 親カテゴリーIDの配列を取得. 
    119      *  
     121     * 
    120122     * @param integer $category_id 起点のカテゴリーID 
    121123     * @param boolean $id_only IDだけの配列を返す場合はtrue 
     
    126128        $arrCategory = $this->getList(TRUE); 
    127129        $arrTrailID = SC_Utils_Ex::getTreeTrail($category_id, 'category_id', 'parent_category_id', $arrCategory, TRUE, 0, $id_only); 
     130 
    128131        return $arrTrailID; 
    129132    } 
Note: See TracChangeset for help on using the changeset viewer.