Ignore:
Timestamp:
2013/08/26 15:52:37 (11 years ago)
Author:
m_uehara
Message:

#2348 r23116 - r23125 をマージ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_0/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php

    r23103 r23126  
    3838     * @return void 
    3939     */ 
    40     function init() 
     40    public function init() 
    4141    { 
    4242        parent::init(); 
     
    5656     * @return void 
    5757     */ 
    58     function process() 
     58    public function process() 
    5959    { 
    6060        $this->action(); 
     
    6767     * @return void 
    6868     */ 
    69     function action() 
     69    public function action() 
    7070    { 
    7171        $objDb = new SC_Helper_DB_Ex(); 
     
    128128     * 商品取得 
    129129     * 
    130      * @param array $arrProductId 
     130     * @param array      $arrProductId 
    131131     * @param SC_Product $objProduct 
    132132     */ 
    133     function getProductList($arrProductId, &$objProduct) 
     133    public function getProductList($arrProductId, &$objProduct) 
    134134    { 
    135135        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     
    146146     * @param array $arrProducts 
    147147     */ 
    148     function getFnOnload($arrProducts) 
     148    public function getFnOnload($arrProducts) 
    149149    { 
    150150        foreach ($arrProducts as $arrProduct) { 
     
    159159     * @param SC_Product $objProduct 
    160160     */ 
    161     function getTplJavascript(&$objProduct) 
     161    public function getTplJavascript(&$objProduct) 
    162162    { 
    163163        return 'eccube.productsClassCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories) . '; '; 
     
    166166    /** 
    167167     * 検索結果の取得 
    168      * @param array $whereAndBind string whereと array bindの連想配列 
     168     * @param array      $whereAndBind string whereと array bindの連想配列 
    169169     * @param SC_Product $objProduct 
    170170     */ 
    171     function getProducts($whereAndBind,&$objProduct, $page_max, $startno) 
     171    public function getProducts($whereAndBind,&$objProduct, $page_max, $startno) 
    172172    { 
    173173        $where = $whereAndBind['where']; 
     
    187187     * 
    188188     * 検索結果対象となる商品の数を返す。 
    189      * @param array $whereAndBind 
     189     * @param array      $whereAndBind 
    190190     * @param SC_Product $objProduct 
    191191     */ 
    192     function getLineCount($whereAndBind,&$objProduct) 
     192    public function getLineCount($whereAndBind,&$objProduct) 
    193193    { 
    194194        $where = $whereAndBind['where']; 
     
    205205     * 
    206206     * POSTされた値からSQLのWHEREとBINDを配列で返す。 
    207      * @return array ('where' => where string, 'bind' => databind array) 
    208      * @param SC_FormParam $objFormParam 
    209      */ 
    210     function createWhere(&$objFormParam,&$objDb) 
     207     * @return array        ('where' => where string, 'bind' => databind array) 
     208     * @param  SC_FormParam $objFormParam 
     209     */ 
     210    public function createWhere(&$objFormParam,&$objDb) 
    211211    { 
    212212        $arrForm = $objFormParam->getHashArray(); 
     
    227227                    if ($tmp_where != '') { 
    228228                        $where.= ' AND alldtl.product_id IN (SELECT product_id FROM dtb_product_categories WHERE ' . $tmp_where . ')'; 
    229                         $bind = array_merge((array)$bind, (array)$tmp_bind); 
     229                        $bind = array_merge((array) $bind, (array) $tmp_bind); 
    230230                    } 
    231231                    break; 
     
    250250     * @param unknown_type $globalParams 
    251251     */ 
    252     function getNo($globalParams) 
     252    public function getNo($globalParams) 
    253253    { 
    254254        foreach ($globalParams as $params) { 
     
    265265     * @param unknown_type $globalParams 
    266266     */ 
    267     function getShippingId($globalParams) 
     267    public function getShippingId($globalParams) 
    268268    { 
    269269        foreach ($globalParams as $params) { 
     
    281281     * @param $productList 
    282282     */ 
    283     function sortProducts($arrProduct_id,$productList) 
     283    public function sortProducts($arrProduct_id,$productList) 
    284284    { 
    285285        $products  = array(); 
     
    299299     * @param SC_FormParam $objFormParam 
    300300     */ 
    301     function lfInitParam(&$objFormParam) 
     301    public function lfInitParam(&$objFormParam) 
    302302    { 
    303303        $objFormParam->addParam('オーダーID', 'order_id', INT_LEN, 'n', array('EXIST_CHECK', 'MAX_LENGTH_CHECK', 'NUM_CHECK')); 
Note: See TracChangeset for help on using the changeset viewer.