- Timestamp:
- 2011/01/12 12:12:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_History.php
r19807 r19881 44 44 function init() { 45 45 parent::init(); 46 $this->tpl_title = 'MYページ';47 $this->tpl_subtitle = '購入履歴詳細';48 46 $this->tpl_navi = TEMPLATE_REALDIR . 'mypage/navi.tpl'; 49 47 $this->tpl_mainno = 'mypage'; … … 53 51 $this->arrMAILTEMPLATE = $masterData->getMasterData("mtb_mail_template"); 54 52 $this->arrPref = $masterData->getMasterData('mtb_pref'); 53 54 $this->isMobile = Net_UserAgent_Mobile::isMobile(); 55 55 } 56 56 … … 62 62 function process() { 63 63 parent::process(); 64 $this->action(); 64 if ( $this->isMobile === false ){ 65 $this->action(); 66 } else { 67 $this->mobileAction(); 68 } 65 69 $this->sendResponse(); 66 70 } … … 72 76 */ 73 77 function action() { 74 //$objView = new SC_SiteView();75 78 $objQuery = new SC_Query(); 76 79 $objCustomer = new SC_Customer(); … … 115 118 $this->tpl_arrMailHistory = $this->lfGetMailHistory($orderId); 116 119 117 //$objView->assignobj($this);118 //$objView->display(SITE_FRAME);119 120 } 120 121 … … 129 130 130 131 /** 131 * モバイルページを初期化する.132 *133 * @return void134 */135 function mobileInit() {136 $this->init();137 $this->tpl_mainpage = MOBILE_TEMPLATE_REALDIR . 'mypage/history.tpl';138 $this->tpl_title = 'MYページ/購入履歴一覧';139 $this->httpCacheControl('nocache');140 }141 142 /**143 * Page のプロセス(モバイル).144 *145 * @return void146 */147 function mobileProcess() {148 parent::mobileProcess();149 $this->mobileAction();150 $this->sendResponse();151 }152 153 /**154 132 * Page のAction(モバイル). 155 133 * … … 159 137 define ("HISTORY_NUM", 5); 160 138 161 //$objView = new SC_MobileView();162 139 $objQuery = new SC_Query(); 163 140 $objCustomer = new SC_Customer(); … … 210 187 211 188 $this->tpl_strnavi = $previous . $bar . $next; 212 //$objView->assignobj($this); //$objpage内の全てのテンプレート変数をsmartyに格納 213 //$objView->display(SITE_FRAME); //パスとテンプレート変数の呼び出し、実行 189 214 190 } 215 191
Note: See TracChangeset
for help on using the changeset viewer.