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/pages/products/LC_Page_Products_List.php

    r22833 r22856  
    2222 */ 
    2323 
    24 // {{{ requires 
    2524require_once CLASS_EX_REALDIR . 'page_extends/LC_Page_Ex.php'; 
    2625 
     
    3433class LC_Page_Products_List extends LC_Page_Ex 
    3534{ 
    36  
    37     // {{{ properties 
    38  
    3935    /** テンプレートクラス名1 */ 
    4036    var $tpl_class_name1 = array(); 
     
    6157    var $tpl_rnd = ''; 
    6258 
    63     // }}} 
    64     // {{{ functions 
    6559 
    6660    /** 
     
    9993    function action() 
    10094    { 
    101  
    10295        $objProduct = new SC_Product_Ex(); 
    10396 
     
    137130 
    138131        switch ($this->getMode()) { 
    139  
    140132            case 'json': 
    141133                $this->doJson($objProduct); 
     
    167159    function lfGetCategoryId($category_id) 
    168160    { 
    169  
    170161        // 指定なしの場合、0 を返す 
    171162        if (empty($category_id)) return 0; 
     
    192183    function lfGetProductsList($searchCondition, $disp_number, $startno, $linemax, &$objProduct) 
    193184    { 
    194  
    195185        $arrOrderVal = array(); 
    196186 
     
    245235        $objProduct->setProductsClassByProductIds($arrProductId); 
    246236        $arrProducts['productStatus'] = $objProduct->getProductStatus($arrProductId); 
     237 
    247238        return $arrProducts; 
    248239    } 
     
    251242    function lfCheckError($product_id, &$arrForm, $tpl_classcat_find1, $tpl_classcat_find2) 
    252243    { 
    253  
    254244        // 入力データを渡す。 
    255245        $objErr = new SC_CheckError_Ex($arrForm); 
     
    325315            $arrSearch['name']      = $arrSearchData['name']; 
    326316        } 
     317 
    327318        return $arrSearch; 
    328319    } 
     
    339330        $objQuery->setWhere($searchCondition['where_for_count']); 
    340331        $objProduct = new SC_Product_Ex(); 
     332 
    341333        return $objProduct->findProductCount($objQuery, $searchCondition['arrval']); 
    342334    } 
     
    412404        foreach ($arrProducts as $key => $value) { 
    413405            if ($arrProducts[$key]['product_id'] == $product_id) { 
    414  
    415406                $arrProducts[$key]['product_class_id']  = $arrForm['product_class_id']; 
    416407                $arrProducts[$key]['classcategory_id1'] = $arrForm['classcategory_id1']; 
     
    421412            } 
    422413        } 
     414 
    423415        return $js_fnOnLoad; 
    424416    } 
     
    446438    function setStatusDataTo($arrProducts, $arrStatus, $arrStatusImage) 
    447439    { 
    448  
    449440        foreach ($arrProducts['productStatus'] as $product_id => $arrValues) { 
    450441            for ($i = 0; $i < count($arrValues); $i++) { 
     
    460451            } 
    461452        } 
     453 
    462454        return $arrProducts; 
    463455    } 
Note: See TracChangeset for help on using the changeset viewer.