Ignore:
Timestamp:
2013/05/02 18:11:36 (11 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_RecommendSearch.php

    r22567 r22796  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Admin_Contents_RecommendSearch extends LC_Page_Admin_Ex  
    35 { 
     34class LC_Page_Admin_Contents_RecommendSearch extends LC_Page_Admin_Ex { 
    3635 
    3736    // }}} 
     
    4342     * @return void 
    4443     */ 
    45     function init() 
    46     { 
     44    function init() { 
    4745        parent::init(); 
    4846        $this->tpl_mainno = 'contents'; 
     
    5755     * @return void 
    5856     */ 
    59     function process() 
    60     { 
     57    function process() { 
    6158        $this->action(); 
    6259        $this->sendResponse(); 
     
    6865     * @return void 
    6966     */ 
    70     function action() 
    71     { 
     67    function action() { 
    7268 
    7369        $objDb = new SC_Helper_DB_Ex(); 
     
    117113     * @return void 
    118114     */ 
    119     function destroy() 
    120     { 
     115    function destroy() { 
    121116        parent::destroy(); 
    122117    } 
     
    126121     * @param Object $objFormParam 
    127122     */ 
    128     function lfInitParam(&$objFormParam) 
    129     { 
     123    function lfInitParam(&$objFormParam) { 
    130124        $objFormParam->addParam('商品ID', 'search_name', LTEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK')); 
    131125        $objFormParam->addParam('商品ID', 'search_category_id', INT_LEN, 'n', array('MAX_LENGTH_CHECK','NUM_CHECK')); 
    132126        $objFormParam->addParam('商品コード', 'search_product_code', LTEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK')); 
    133         $objFormParam->addParam('商品ステータス', 'search_status', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK')); 
    134127        $objFormParam->addParam('ページ番号', 'search_pageno', INT_LEN, 'n', array('MAX_LENGTH_CHECK','NUM_CHECK')); 
    135128    } 
     
    140133     * @return Array エラー内容 
    141134     */ 
    142     function lfCheckError(&$objFormParam) 
    143     { 
     135    function lfCheckError(&$objFormParam) { 
    144136        $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); 
    145137        $objErr->arrErr = $objFormParam->checkError(); 
     
    153145     * @param SC_FormParam $objFormParam 
    154146     */ 
    155     function createWhere(&$objFormParam,&$objDb) 
    156     { 
     147    function createWhere(&$objFormParam,&$objDb) { 
    157148        $arrForm = $objFormParam->getHashArray(); 
    158149        $where = 'alldtl.del_flg = 0'; 
     
    179170                    $bind[] = '%'.$val.'%'; 
    180171                    break; 
    181                 case 'search_status': 
    182                     $where .= ' AND alldtl.status = ?'; 
    183                     $bind[] = $val; 
    184                     break; 
    185172                default: 
    186173                    break; 
     
    199186     * @param SC_Product $objProduct 
    200187     */ 
    201     function getLineCount($whereAndBind,&$objProduct) 
    202     { 
     188    function getLineCount($whereAndBind,&$objProduct) { 
    203189        $where = $whereAndBind['where']; 
    204190        $bind = $whereAndBind['bind']; 
     
    215201     * @param SC_Product $objProduct 
    216202     */ 
    217     function getProducts($whereAndBind,&$objProduct, $page_max, $startno) 
    218     { 
     203    function getProducts($whereAndBind,&$objProduct, $page_max, $startno) { 
    219204        $where = $whereAndBind['where']; 
    220205        $bind = $whereAndBind['bind']; 
     
    233218     * @param SC_Product $objProduct 
    234219     */ 
    235     function getProductList($arrProductId, &$objProduct) 
    236     { 
     220    function getProductList($arrProductId, &$objProduct) { 
    237221        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    238222 
Note: See TracChangeset for help on using the changeset viewer.