Changeset 20274
- Timestamp:
- 2011/02/20 22:48:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php
r20272 r20274 105 105 $this->tpl_strnavi = $objNavi->strnavi; // 表示文字列 106 106 $startno = $objNavi->start_row; 107 //ぶった斬りポイント==================================================================108 107 $arrProduct_id = $this->getProducts($wheres, $objProduct); 109 //ぶった斬りポイント==================================================================110 108 $productList = $this->getProductList($arrProduct_id,$objProduct); 111 //ぶった斬りポイント==================================================================112 109 //取得している並び順で並び替え 113 110 $this->arrProducts = $this->sortProducts($arrProduct_id,$productList); 114 //ぶった斬りポイント==================================================================115 111 $objProduct->setProductsClassByProductIds($arrProduct_id); 116 //ぶった斬りポイント==================================================================117 112 $this->tpl_javascript .= $this->getTplJavascript($objProduct); 118 //ぶった斬りポイント==================================================================119 113 $js_fnOnLoad = $this->getFnOnload($this->arrProducts); 120 //ぶった斬りポイント==================================================================121 114 $this->tpl_javascript .= 'function fnOnLoad(){' . $js_fnOnLoad . '}'; 122 115 $this->tpl_onload .= 'fnOnLoad(); '; … … 143 136 } 144 137 138 /** 139 * 140 * 商品取得 141 * @param array $arrProduct_id 142 * @param SC_Product $objProduct 143 */ 145 144 function getProductList($arrProduct_id,&$objProduct){ 146 145 $where = ""; … … 156 155 } 157 156 158 157 /** 158 * ロード時に実行するJavascriptを生成 159 * @param array $arrProducts 160 */ 159 161 function getFnOnload($arrProducts){ 160 162 foreach ($arrProducts as $arrProduct) { … … 163 165 } 164 166 167 /** 168 * 規格クラス用JavaScript生成 169 * @param SC_Product $objProduct 170 */ 165 171 function getTplJavascript(&$objProduct){ 166 172 $objJson = new Services_JSON(); … … 190 196 /** 191 197 * 192 * Enter description here ...193 * @param unknown_type$whereAndBind194 * @param unknown_type$objProduct198 * 検索結果対象となる商品の数を返す。 199 * @param array $whereAndBind 200 * @param SC_Product $objProduct 195 201 */ 196 202 function getLineCount($whereAndBind,&$objProduct){ … … 282 288 /** 283 289 * デストラクタ. 284 *285 290 * @return void 286 291 */ … … 305 310 return $arrConvList; 306 311 } 312 307 313 /** 308 314 * パラメータ情報の初期化
Note: See TracChangeset
for help on using the changeset viewer.