Changeset 22796 for branches/version-2_12-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_RecommendSearch.php
- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- 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 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Admin_Contents_RecommendSearch extends LC_Page_Admin_Ex 35 { 34 class LC_Page_Admin_Contents_RecommendSearch extends LC_Page_Admin_Ex { 36 35 37 36 // }}} … … 43 42 * @return void 44 43 */ 45 function init() 46 { 44 function init() { 47 45 parent::init(); 48 46 $this->tpl_mainno = 'contents'; … … 57 55 * @return void 58 56 */ 59 function process() 60 { 57 function process() { 61 58 $this->action(); 62 59 $this->sendResponse(); … … 68 65 * @return void 69 66 */ 70 function action() 71 { 67 function action() { 72 68 73 69 $objDb = new SC_Helper_DB_Ex(); … … 117 113 * @return void 118 114 */ 119 function destroy() 120 { 115 function destroy() { 121 116 parent::destroy(); 122 117 } … … 126 121 * @param Object $objFormParam 127 122 */ 128 function lfInitParam(&$objFormParam) 129 { 123 function lfInitParam(&$objFormParam) { 130 124 $objFormParam->addParam('商品ID', 'search_name', LTEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK')); 131 125 $objFormParam->addParam('商品ID', 'search_category_id', INT_LEN, 'n', array('MAX_LENGTH_CHECK','NUM_CHECK')); 132 126 $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'));134 127 $objFormParam->addParam('ページ番号', 'search_pageno', INT_LEN, 'n', array('MAX_LENGTH_CHECK','NUM_CHECK')); 135 128 } … … 140 133 * @return Array エラー内容 141 134 */ 142 function lfCheckError(&$objFormParam) 143 { 135 function lfCheckError(&$objFormParam) { 144 136 $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); 145 137 $objErr->arrErr = $objFormParam->checkError(); … … 153 145 * @param SC_FormParam $objFormParam 154 146 */ 155 function createWhere(&$objFormParam,&$objDb) 156 { 147 function createWhere(&$objFormParam,&$objDb) { 157 148 $arrForm = $objFormParam->getHashArray(); 158 149 $where = 'alldtl.del_flg = 0'; … … 179 170 $bind[] = '%'.$val.'%'; 180 171 break; 181 case 'search_status':182 $where .= ' AND alldtl.status = ?';183 $bind[] = $val;184 break;185 172 default: 186 173 break; … … 199 186 * @param SC_Product $objProduct 200 187 */ 201 function getLineCount($whereAndBind,&$objProduct) 202 { 188 function getLineCount($whereAndBind,&$objProduct) { 203 189 $where = $whereAndBind['where']; 204 190 $bind = $whereAndBind['bind']; … … 215 201 * @param SC_Product $objProduct 216 202 */ 217 function getProducts($whereAndBind,&$objProduct, $page_max, $startno) 218 { 203 function getProducts($whereAndBind,&$objProduct, $page_max, $startno) { 219 204 $where = $whereAndBind['where']; 220 205 $bind = $whereAndBind['bind']; … … 233 218 * @param SC_Product $objProduct 234 219 */ 235 function getProductList($arrProductId, &$objProduct) 236 { 220 function getProductList($arrProductId, &$objProduct) { 237 221 $objQuery =& SC_Query_Ex::getSingletonInstance(); 238 222
Note: See TracChangeset
for help on using the changeset viewer.