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

    r23066 r23124  
    3434{ 
    3535    /** テンプレートクラス名1 */ 
    36     var $tpl_class_name1 = array(); 
     36    public $tpl_class_name1 = array(); 
    3737 
    3838    /** テンプレートクラス名2 */ 
    39     var $tpl_class_name2 = array(); 
     39    public $tpl_class_name2 = array(); 
    4040 
    4141    /** JavaScript テンプレート */ 
    42     var $tpl_javascript; 
    43  
    44     var $orderby; 
    45  
    46     var $mode; 
     42    public $tpl_javascript; 
     43 
     44    public $orderby; 
     45 
     46    public $mode; 
    4747 
    4848    /** 検索条件(内部データ) */ 
    49     var $arrSearchData = array(); 
     49    public $arrSearchData = array(); 
    5050 
    5151    /** 検索条件(表示用) */ 
    52     var $arrSearch = array(); 
    53  
    54     var $tpl_subtitle = ''; 
     52    public $arrSearch = array(); 
     53 
     54    public $tpl_subtitle = ''; 
    5555 
    5656    /** ランダム文字列 **/ 
    57     var $tpl_rnd = ''; 
     57    public $tpl_rnd = ''; 
    5858 
    5959    /** 
     
    6262     * @return void 
    6363     */ 
    64     function init() 
     64    public function init() 
    6565    { 
    6666        parent::init(); 
     
    7878     * @return void 
    7979     */ 
    80     function process() 
     80    public function process() 
    8181    { 
    8282        parent::process(); 
     
    9090     * @return void 
    9191     */ 
    92     function action() 
     92    public function action() 
    9393    { 
    9494        //決済処理中ステータスのロールバック 
     
    9797        $objPurchase->checkDbMyPendignOrder(); 
    9898        $objPurchase->checkDbAllPendingOrder(); 
    99          
     99 
    100100        $objProduct = new SC_Product_Ex(); 
    101101        // パラメーター管理クラス 
     
    163163     * パラメーター情報の初期化 
    164164     * 
    165      * @param array $objFormParam フォームパラメータークラス 
    166      * @return void 
    167      */ 
    168     function lfInitParam(&$objFormParam) 
     165     * @param  array $objFormParam フォームパラメータークラス 
     166     * @return void 
     167     */ 
     168    public function lfInitParam(&$objFormParam) 
    169169    { 
    170170        // 抽出条件 
     
    189189     * @return integer カテゴリID 
    190190     */ 
    191     function lfGetCategoryId($category_id) 
     191    public function lfGetCategoryId($category_id) 
    192192    { 
    193193        // 指定なしの場合、0 を返す 
     
    197197        if (!SC_Utils_Ex::sfIsInt($category_id) 
    198198            || SC_Utils_Ex::sfIsZeroFilling($category_id) 
    199             || !SC_Helper_DB_Ex::sfIsRecord('dtb_category', 'category_id', (array)$category_id, 'del_flg = 0') 
     199            || !SC_Helper_DB_Ex::sfIsRecord('dtb_category', 'category_id', (array) $category_id, 'del_flg = 0') 
    200200            ) { 
    201201            SC_Utils_Ex::sfDispSiteError(CATEGORY_NOT_FOUND); 
     
    213213 
    214214    /* 商品一覧の表示 */ 
    215     function lfGetProductsList($searchCondition, $disp_number, $startno, &$objProduct) 
     215    public function lfGetProductsList($searchCondition, $disp_number, $startno, &$objProduct) 
    216216    { 
    217217        $arrOrderVal = array(); 
     
    272272 
    273273    /* 入力内容のチェック */ 
    274     function lfCheckError($objFormParam) 
     274    public function lfCheckError($objFormParam) 
    275275    { 
    276276        // 入力データを渡す。 
     
    295295     * @return void 
    296296     */ 
    297     function lfGetDisplayNum($display_number) 
     297    public function lfGetDisplayNum($display_number) 
    298298    { 
    299299        // 表示件数 
     
    308308     * @return str 
    309309     */ 
    310     function lfGetPageTitle($mode, $category_id = 0) 
     310    public function lfGetPageTitle($mode, $category_id = 0) 
    311311    { 
    312312        if ($mode == 'search') { 
     
    317317            $objCategory = new SC_Helper_Category_Ex(); 
    318318            $arrCat = $objCategory->get($category_id); 
     319 
    319320            return $arrCat['category_name']; 
    320321        } 
     
    326327     * @return array 
    327328     */ 
    328     function lfGetSearchConditionDisp($arrSearchData) 
     329    public function lfGetSearchConditionDisp($arrSearchData) 
    329330    { 
    330331        $objQuery   =& SC_Query_Ex::getSingletonInstance(); 
     
    355356     * @return int 
    356357     */ 
    357     function lfGetProductAllNum($searchCondition) 
     358    public function lfGetProductAllNum($searchCondition) 
    358359    { 
    359360        // 検索結果対象となる商品の数を取得 
     
    370371     * @return array 
    371372     */ 
    372     function lfGetSearchCondition($arrSearchData) 
     373    public function lfGetSearchCondition($arrSearchData) 
    373374    { 
    374375        $searchCondition = array( 
     
    430431     * @return str 
    431432     */ 
    432     function lfSetSelectedData(&$arrProducts, $arrForm, $arrErr, $product_id) 
     433    public function lfSetSelectedData(&$arrProducts, $arrForm, $arrErr, $product_id) 
    433434    { 
    434435        $js_fnOnLoad = ''; 
     
    453454     * @return void 
    454455     */ 
    455     function lfAddCart($arrForm) 
     456    public function lfAddCart($arrForm) 
    456457    { 
    457458        $objCartSess = new SC_CartSession_Ex(); 
     
    464465     * 商品情報配列に商品ステータス情報を追加する 
    465466     * 
    466      * @param Array $arrProducts 商品一覧情報 
    467      * @param Array $arrStatus 商品ステータス配列 
    468      * @param Array $arrStatusImage スタータス画像配列 
     467     * @param  Array $arrProducts    商品一覧情報 
     468     * @param  Array $arrStatus      商品ステータス配列 
     469     * @param  Array $arrStatusImage スタータス画像配列 
    469470     * @return Array $arrProducts 商品一覧情報 
    470471     */ 
    471     function setStatusDataTo($arrProducts, $arrStatus, $arrStatusImage) 
     472    public function setStatusDataTo($arrProducts, $arrStatus, $arrStatusImage) 
    472473    { 
    473474        foreach ($arrProducts['productStatus'] as $product_id => $arrValues) { 
     
    492493     * @return void 
    493494     */ 
    494     function doJson() 
     495    public function doJson() 
    495496    { 
    496497        $this->arrProducts = $this->setStatusDataTo($this->arrProducts, $this->arrSTATUS, $this->arrSTATUS_IMAGE); 
     
    508509    /** 
    509510     * 
    510      * @param type $objProduct 
    511      * @return void 
    512      */ 
    513     function doDefault(&$objProduct, &$objFormParam) 
     511     * @param  type $objProduct 
     512     * @return void 
     513     */ 
     514    public function doDefault(&$objProduct, &$objFormParam) 
    514515    { 
    515516        //商品一覧の表示処理 
Note: See TracChangeset for help on using the changeset viewer.