Changeset 23126 for branches/version-2_13_0/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php
- Timestamp:
- 2013/08/26 15:52:37 (11 years ago)
- 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 38 38 * @return void 39 39 */ 40 function init()40 public function init() 41 41 { 42 42 parent::init(); … … 56 56 * @return void 57 57 */ 58 function process()58 public function process() 59 59 { 60 60 $this->action(); … … 67 67 * @return void 68 68 */ 69 function action()69 public function action() 70 70 { 71 71 $objDb = new SC_Helper_DB_Ex(); … … 128 128 * 商品取得 129 129 * 130 * @param array $arrProductId130 * @param array $arrProductId 131 131 * @param SC_Product $objProduct 132 132 */ 133 function getProductList($arrProductId, &$objProduct)133 public function getProductList($arrProductId, &$objProduct) 134 134 { 135 135 $objQuery =& SC_Query_Ex::getSingletonInstance(); … … 146 146 * @param array $arrProducts 147 147 */ 148 function getFnOnload($arrProducts)148 public function getFnOnload($arrProducts) 149 149 { 150 150 foreach ($arrProducts as $arrProduct) { … … 159 159 * @param SC_Product $objProduct 160 160 */ 161 function getTplJavascript(&$objProduct)161 public function getTplJavascript(&$objProduct) 162 162 { 163 163 return 'eccube.productsClassCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories) . '; '; … … 166 166 /** 167 167 * 検索結果の取得 168 * @param array $whereAndBind string whereと array bindの連想配列168 * @param array $whereAndBind string whereと array bindの連想配列 169 169 * @param SC_Product $objProduct 170 170 */ 171 function getProducts($whereAndBind,&$objProduct, $page_max, $startno)171 public function getProducts($whereAndBind,&$objProduct, $page_max, $startno) 172 172 { 173 173 $where = $whereAndBind['where']; … … 187 187 * 188 188 * 検索結果対象となる商品の数を返す。 189 * @param array $whereAndBind189 * @param array $whereAndBind 190 190 * @param SC_Product $objProduct 191 191 */ 192 function getLineCount($whereAndBind,&$objProduct)192 public function getLineCount($whereAndBind,&$objProduct) 193 193 { 194 194 $where = $whereAndBind['where']; … … 205 205 * 206 206 * POSTされた値からSQLのWHEREとBINDを配列で返す。 207 * @return array ('where' => where string, 'bind' => databind array)208 * @param SC_FormParam $objFormParam209 */ 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) 211 211 { 212 212 $arrForm = $objFormParam->getHashArray(); … … 227 227 if ($tmp_where != '') { 228 228 $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); 230 230 } 231 231 break; … … 250 250 * @param unknown_type $globalParams 251 251 */ 252 function getNo($globalParams)252 public function getNo($globalParams) 253 253 { 254 254 foreach ($globalParams as $params) { … … 265 265 * @param unknown_type $globalParams 266 266 */ 267 function getShippingId($globalParams)267 public function getShippingId($globalParams) 268 268 { 269 269 foreach ($globalParams as $params) { … … 281 281 * @param $productList 282 282 */ 283 function sortProducts($arrProduct_id,$productList)283 public function sortProducts($arrProduct_id,$productList) 284 284 { 285 285 $products = array(); … … 299 299 * @param SC_FormParam $objFormParam 300 300 */ 301 function lfInitParam(&$objFormParam)301 public function lfInitParam(&$objFormParam) 302 302 { 303 303 $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.