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_RecommendSearch.php

    r22926 r23124  
    3838     * @return void 
    3939     */ 
    40     function init() 
     40    public function init() 
    4141    { 
    4242        parent::init(); 
     
    5252     * @return void 
    5353     */ 
    54     function process() 
     54    public function process() 
    5555    { 
    5656        $this->action(); 
     
    6363     * @return void 
    6464     */ 
    65     function action() 
     65    public function action() 
    6666    { 
    6767        $objDb = new SC_Helper_DB_Ex(); 
     
    112112     * @param Object $objFormParam 
    113113     */ 
    114     function lfInitParam(&$objFormParam) 
     114    public function lfInitParam(&$objFormParam) 
    115115    { 
    116116        $objFormParam->addParam('商品ID', 'search_name', LTEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK')); 
     
    123123    /** 
    124124     * 入力されたパラメーターのエラーチェックを行う。 
    125      * @param Object $objFormParam 
    126      * @return Array エラー内容 
    127      */ 
    128     function lfCheckError(&$objFormParam) 
     125     * @param  Object $objFormParam 
     126     * @return Array  エラー内容 
     127     */ 
     128    public function lfCheckError(&$objFormParam) 
    129129    { 
    130130        $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); 
     
    137137     * 
    138138     * POSTされた値からSQLのWHEREとBINDを配列で返す。 
    139      * @return array ('where' => where string, 'bind' => databind array) 
    140      * @param SC_FormParam $objFormParam 
    141      */ 
    142     function createWhere(&$objFormParam,&$objDb) 
     139     * @return array        ('where' => where string, 'bind' => databind array) 
     140     * @param  SC_FormParam $objFormParam 
     141     */ 
     142    public function createWhere(&$objFormParam,&$objDb) 
    143143    { 
    144144        $arrForm = $objFormParam->getHashArray(); 
     
    159159                    if ($tmp_where != '') { 
    160160                        $where.= ' AND alldtl.product_id IN (SELECT product_id FROM dtb_product_categories WHERE ' . $tmp_where . ')'; 
    161                         $bind = array_merge((array)$bind, (array)$tmp_bind); 
     161                        $bind = array_merge((array) $bind, (array) $tmp_bind); 
    162162                    } 
    163163                    break; 
     
    184184     * 
    185185     * 検索結果対象となる商品の数を返す。 
    186      * @param array $whereAndBind 
     186     * @param array      $whereAndBind 
    187187     * @param SC_Product $objProduct 
    188188     */ 
    189     function getLineCount($whereAndBind,&$objProduct) 
     189    public function getLineCount($whereAndBind,&$objProduct) 
    190190    { 
    191191        $where = $whereAndBind['where']; 
     
    201201    /** 
    202202     * 検索結果の取得 
    203      * @param array $whereAndBind string whereと array bindの連想配列 
     203     * @param array      $whereAndBind string whereと array bindの連想配列 
    204204     * @param SC_Product $objProduct 
    205205     */ 
    206     function getProducts($whereAndBind,&$objProduct, $page_max, $startno) 
     206    public function getProducts($whereAndBind,&$objProduct, $page_max, $startno) 
    207207    { 
    208208        $where = $whereAndBind['where']; 
     
    219219     * 商品取得 
    220220     * 
    221      * @param array $arrProductId 
     221     * @param array      $arrProductId 
    222222     * @param SC_Product $objProduct 
    223223     */ 
    224     function getProductList($arrProductId, &$objProduct) 
     224    public function getProductList($arrProductId, &$objProduct) 
    225225    { 
    226226        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
Note: See TracChangeset for help on using the changeset viewer.