Changeset 23124 for branches/version-2_13-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_RecommendSearch.php
- Timestamp:
- 2013/08/24 23:33:52 (11 years ago)
- 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 38 38 * @return void 39 39 */ 40 function init()40 public function init() 41 41 { 42 42 parent::init(); … … 52 52 * @return void 53 53 */ 54 function process()54 public function process() 55 55 { 56 56 $this->action(); … … 63 63 * @return void 64 64 */ 65 function action()65 public function action() 66 66 { 67 67 $objDb = new SC_Helper_DB_Ex(); … … 112 112 * @param Object $objFormParam 113 113 */ 114 function lfInitParam(&$objFormParam)114 public function lfInitParam(&$objFormParam) 115 115 { 116 116 $objFormParam->addParam('商品ID', 'search_name', LTEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK')); … … 123 123 /** 124 124 * 入力されたパラメーターのエラーチェックを行う。 125 * @param Object $objFormParam126 * @return Array エラー内容127 */ 128 function lfCheckError(&$objFormParam)125 * @param Object $objFormParam 126 * @return Array エラー内容 127 */ 128 public function lfCheckError(&$objFormParam) 129 129 { 130 130 $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); … … 137 137 * 138 138 * POSTされた値からSQLのWHEREとBINDを配列で返す。 139 * @return array ('where' => where string, 'bind' => databind array)140 * @param SC_FormParam $objFormParam141 */ 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) 143 143 { 144 144 $arrForm = $objFormParam->getHashArray(); … … 159 159 if ($tmp_where != '') { 160 160 $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); 162 162 } 163 163 break; … … 184 184 * 185 185 * 検索結果対象となる商品の数を返す。 186 * @param array $whereAndBind186 * @param array $whereAndBind 187 187 * @param SC_Product $objProduct 188 188 */ 189 function getLineCount($whereAndBind,&$objProduct)189 public function getLineCount($whereAndBind,&$objProduct) 190 190 { 191 191 $where = $whereAndBind['where']; … … 201 201 /** 202 202 * 検索結果の取得 203 * @param array $whereAndBind string whereと array bindの連想配列203 * @param array $whereAndBind string whereと array bindの連想配列 204 204 * @param SC_Product $objProduct 205 205 */ 206 function getProducts($whereAndBind,&$objProduct, $page_max, $startno)206 public function getProducts($whereAndBind,&$objProduct, $page_max, $startno) 207 207 { 208 208 $where = $whereAndBind['where']; … … 219 219 * 商品取得 220 220 * 221 * @param array $arrProductId221 * @param array $arrProductId 222 222 * @param SC_Product $objProduct 223 223 */ 224 function getProductList($arrProductId, &$objProduct)224 public function getProductList($arrProductId, &$objProduct) 225 225 { 226 226 $objQuery =& SC_Query_Ex::getSingletonInstance();
Note: See TracChangeset
for help on using the changeset viewer.