- Timestamp:
- 2013/06/08 16:35:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_History.php
r22567 r22856 22 22 */ 23 23 24 // {{{ requires25 24 require_once CLASS_EX_REALDIR . 'page_extends/mypage/LC_Page_AbstractMypage_Ex.php'; 26 25 … … 32 31 * @version $Id$ 33 32 */ 34 class LC_Page_Mypage_History extends LC_Page_AbstractMypage_Ex 33 class LC_Page_Mypage_History extends LC_Page_AbstractMypage_Ex 35 34 { 36 37 // }}}38 // {{{ functions39 40 35 /** 41 36 * Page を初期化する. … … 74 69 function action() 75 70 { 76 77 71 $objCustomer = new SC_Customer_Ex(); 78 72 $objDb = new SC_Helper_DB_Ex(); … … 103 97 foreach ($this->tpl_arrOrderDetail as $product_index => $arrOrderProductDetail) { 104 98 //必要なのは商品の販売金額のみなので、遅い場合は、別途SQL作成した方が良い 105 $arrTempProductDetail = $objProduct->getProductsClass($arrOrderProductDetail['product_class_id']); 99 $arrTempProductDetail = $objProduct->getProductsClass($arrOrderProductDetail['product_class_id']); 106 100 if($this->tpl_arrOrderDetail[$product_index]['price'] != $arrTempProductDetail['price02']) { 107 101 $this->is_price_change = true; … … 109 103 $this->tpl_arrOrderDetail[$product_index]['product_price'] = ($arrTempProductDetail['price02'])?$arrTempProductDetail['price02']:0; 110 104 } 111 105 112 106 $this->tpl_arrOrderDetail = $this->setMainListImage($this->tpl_arrOrderDetail); 113 107 $objPurchase->setDownloadableFlgTo($this->tpl_arrOrderDetail); … … 142 136 $where = 'order_id = ?'; 143 137 $objQuery->setOrder('send_date DESC'); 138 144 139 return $objQuery->select($col, 'dtb_mail_history', $where, array($order_id)); 145 140 } … … 185 180 $i++; 186 181 } 182 187 183 return $arrOrderDetails; 188 184 } … … 205 201 $i++; 206 202 } 203 207 204 return $arrOrderDetails; 208 205 }
Note: See TracChangeset
for help on using the changeset viewer.