Ignore:
Timestamp:
2013/08/24 23:33:52 (11 years ago)
Author:
kimoto
Message:

#2043 typo修正・ソース整形・ソースコメントの改善 for 2.13.0
PHP4的な書き方の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/admin/products/LC_Page_Admin_Products.php

    r23034 r23124  
    3838     * @return void 
    3939     */ 
    40     function init() 
     40    public function init() 
    4141    { 
    4242        parent::init(); 
     
    7474     * @return void 
    7575     */ 
    76     function process() 
     76    public function process() 
    7777    { 
    7878        $this->action(); 
     
    8585     * @return void 
    8686     */ 
    87     function action() 
     87    public function action() 
    8888    { 
    8989        $objDb = new SC_Helper_DB_Ex(); 
     
    181181     * パラメーター情報の初期化を行う. 
    182182     * 
    183      * @param SC_FormParam $objFormParam SC_FormParam インスタンス 
    184      * @return void 
    185      */ 
    186     function lfInitParam(&$objFormParam) 
     183     * @param  SC_FormParam $objFormParam SC_FormParam インスタンス 
     184     * @return void 
     185     */ 
     186    public function lfInitParam(&$objFormParam) 
    187187    { 
    188188        // POSTされる値 
     
    212212     * 入力内容のチェックを行う. 
    213213     * 
    214      * @param SC_FormParam $objFormParam SC_FormParam インスタンス 
    215      * @return void 
    216      */ 
    217     function lfCheckError(&$objFormParam) 
     214     * @param  SC_FormParam $objFormParam SC_FormParam インスタンス 
     215     * @return void 
     216     */ 
     217    public function lfCheckError(&$objFormParam) 
    218218    { 
    219219        $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); 
     
    226226 
    227227    // カテゴリIDをキー、カテゴリ名を値にする配列を返す。 
    228     function lfGetIDName($arrCatKey, $arrCatVal) 
     228    public function lfGetIDName($arrCatKey, $arrCatVal) 
    229229    { 
    230230        $max = count($arrCatKey); 
     
    241241     * 商品、子テーブル(商品規格)、お気に入り商品の削除 
    242242     * 
    243      * @param string $where 削除対象の WHERE 句 
    244      * @param array $arrParam 削除対象の値 
    245      * @return void 
    246      */ 
    247     function doDelete($where, $arrParam = array()) 
     243     * @param  string $where    削除対象の WHERE 句 
     244     * @param  array $arrParam 削除対象の値 
     245     * @return void 
     246     */ 
     247    public function doDelete($where, $arrParam = array()) 
    248248    { 
    249249        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     
    274274     * 構築内容は, 引数の $where 及び $arrValues にそれぞれ追加される. 
    275275     * 
    276      * @param string $key 検索条件のキー 
    277      * @param string $where 構築する WHERE 句 
    278      * @param array $arrValues 構築するクエリパラメーター 
    279      * @param SC_FormParam $objFormParam SC_FormParam インスタンス 
    280      * @param SC_FormParam $objDb SC_Helper_DB_Ex インスタンス 
    281      * @return void 
    282      */ 
    283     function buildQuery($key, &$where, &$arrValues, &$objFormParam, &$objDb) 
     276     * @param  string       $key          検索条件のキー 
     277     * @param  string       $where        構築する WHERE 句 
     278     * @param  array        $arrValues    構築するクエリパラメーター 
     279     * @param  SC_FormParam $objFormParam SC_FormParam インスタンス 
     280     * @param  SC_FormParam $objDb        SC_Helper_DB_Ex インスタンス 
     281     * @return void 
     282     */ 
     283    public function buildQuery($key, &$where, &$arrValues, &$objFormParam, &$objDb) 
    284284    { 
    285285        $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
     
    305305                if ($tmp_where != '') { 
    306306                    $where.= ' AND product_id IN (SELECT product_id FROM dtb_product_categories WHERE ' . $tmp_where . ')'; 
    307                     $arrValues = array_merge((array)$arrValues, (array)$tmp_Values); 
     307                    $arrValues = array_merge((array) $arrValues, (array) $tmp_Values); 
    308308                } 
    309309                break; 
     
    363363     * 検索結果の行数を取得する. 
    364364     * 
    365      * @param string $where 検索条件の WHERE 句 
    366      * @param array $arrValues 検索条件のパラメーター 
     365     * @param  string  $where    検索条件の WHERE 句 
     366     * @param  array  $arrValues 検索条件のパラメーター 
    367367     * @return integer 検索結果の行数 
    368368     */ 
    369     function getNumberOfLines($where, $arrValues) 
     369    public function getNumberOfLines($where, $arrValues) 
    370370    { 
    371371        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     
    377377     * 商品を検索する. 
    378378     * 
    379      * @param string $where 検索条件の WHERE 句 
    380      * @param array $arrValues 検索条件のパラメーター 
    381      * @param integer $limit 表示件数 
    382      * @param integer $offset 開始件数 
    383      * @param string $order 検索結果の並び順 
    384      * @param SC_Product $objProduct SC_Product インスタンス 
    385      * @return array 商品の検索結果 
    386      */ 
    387     function findProducts($where, $arrValues, $limit, $offset, $order, &$objProduct) 
     379     * @param  string     $where      検索条件の WHERE 句 
     380     * @param  array      $arrValues 検索条件のパラメーター 
     381     * @param  integer    $limit      表示件数 
     382     * @param  integer    $offset    開始件数 
     383     * @param  string     $order      検索結果の並び順 
     384     * @param  SC_Product $objProduct SC_Product インスタンス 
     385     * @return array      商品の検索結果 
     386     */ 
     387    public function findProducts($where, $arrValues, $limit, $offset, $order, &$objProduct) 
    388388    { 
    389389        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
Note: See TracChangeset for help on using the changeset viewer.