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/contents/LC_Page_Admin_Contents_Recommend.php

    r22926 r23124  
    3838     * @return void 
    3939     */ 
    40     function init() 
     40    public function init() 
    4141    { 
    4242        parent::init(); 
     
    5555     * @return void 
    5656     */ 
    57     function process() 
     57    public function process() 
    5858    { 
    5959        $this->action(); 
     
    6666     * @return void 
    6767     */ 
    68     function action() 
     68    public function action() 
    6969    { 
    7070        $objFormParam = new SC_FormParam_Ex(); 
     
    133133     * @param Object $objFormParam 
    134134     */ 
    135     function lfInitParam(&$objFormParam) 
     135    public function lfInitParam(&$objFormParam) 
    136136    { 
    137137        $objFormParam->addParam('おすすめ商品ID', 'best_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); 
     
    144144    /** 
    145145     * 入力されたパラメーターのエラーチェックを行う。 
    146      * @param Object $objFormParam 
    147      * @return Array エラー内容 
    148      */ 
    149     function lfCheckError(&$objFormParam) 
     146     * @param  Object $objFormParam 
     147     * @return Array  エラー内容 
     148     */ 
     149    public function lfCheckError(&$objFormParam) 
    150150    { 
    151151        $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); 
     
    157157    /** 
    158158     * 既に登録されている内容を取得する 
    159      * @param Object $objRecommend 
    160      * @return Array $arrReturnProducts データベースに登録されているおすすめ商品の配列 
    161      */ 
    162     function getRecommendProducts(SC_Helper_BestProducts_Ex &$objRecommend) 
     159     * @param  Object $objRecommend 
     160     * @return Array  $arrReturnProducts データベースに登録されているおすすめ商品の配列 
     161     */ 
     162    public function getRecommendProducts(SC_Helper_BestProducts_Ex &$objRecommend) 
    163163    { 
    164164        $arrList = $objRecommend->getList(); 
     
    185185    /** 
    186186     * おすすめ商品の新規登録を行う。 
    187      * @param Array $arrPost POSTの値を格納した配列 
    188      * @param Integer $member_id 登録した管理者を示すID 
    189      * @param Object $objRecommend 
    190      */ 
    191     function insertRecommendProduct($arrPost,$member_id, SC_Helper_BestProducts_Ex &$objRecommend) 
     187     * @param Array   $arrPost      POSTの値を格納した配列 
     188     * @param Integer $member_id    登録した管理者を示すID 
     189     * @param Object  $objRecommend 
     190     */ 
     191    public function insertRecommendProduct($arrPost,$member_id, SC_Helper_BestProducts_Ex &$objRecommend) 
    192192    { 
    193193        // 古いおすすめ商品のデータを削除する。 
     
    205205    /** 
    206206     * データを削除する 
    207      * @param Array $arrPost POSTの値を格納した配列 
    208      * @param Object $objRecommend 
    209      * @return void 
    210      */ 
    211     function deleteProduct($arrPost, SC_Helper_BestProducts_Ex &$objRecommend) 
     207     * @param  Array  $arrPost      POSTの値を格納した配列 
     208     * @param  Object $objRecommend 
     209     * @return void 
     210     */ 
     211    public function deleteProduct($arrPost, SC_Helper_BestProducts_Ex &$objRecommend) 
    212212    { 
    213213        if ($arrPost['best_id']) { 
     
    222222    /** 
    223223     * 商品情報を取得する 
    224      * @param Integer $product_id 商品ID 
    225      * @return Array $return 商品のデータを格納した配列 
    226      */ 
    227     function getProduct($product_id) 
     224     * @param  Integer $product_id 商品ID 
     225     * @return Array   $return 商品のデータを格納した配列 
     226     */ 
     227    public function getProduct($product_id) 
    228228    { 
    229229        $objProduct = new SC_Product_Ex(); 
     
    240240    /** 
    241241     * 商品のデータを表示用に処理する 
    242      * @param Array $arrPost POSTのデータを格納した配列 
     242     * @param Array $arrPost  POSTのデータを格納した配列 
    243243     * @param Array $arrItems フロントに表示される商品の情報を格納した配列 
    244244     */ 
    245     function setProducts($arrPost,$arrItems) 
     245    public function setProducts($arrPost,$arrItems) 
    246246    { 
    247247        $arrProduct = $this->getProduct($arrPost['product_id']); 
Note: See TracChangeset for help on using the changeset viewer.