Changeset 19124
- Timestamp:
- 2010/11/06 22:34:08 (12 years ago)
- Location:
- branches/camp/camp-2_5-E/data/class/pages/entry
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/class/pages/entry/LC_Page_Entry.php
r18853 r19124 73 73 74 74 $this->httpCacheControl('nocache'); 75 } 76 77 /** 78 * Page のプロセス. 79 * 80 * @return void 81 */ 82 function process() { 83 $this->action(); 84 $this->sendResponse(); 75 85 } 76 86 … … 156 166 * - $_POST["mode"]('return', 'confirm', 'complate') 157 167 * 158 * @global $objCampaignSess159 168 * @return void 160 169 */ 161 function process() { 162 global $objCampaignSess; 163 170 function action() { 164 171 $objView = new SC_SiteView(); 165 172 $objCustomer = new SC_Customer(); 166 $objCampaignSess = new SC_CampaignSession();167 173 $objDb = new SC_Helper_DB_Ex(); 168 174 $CONF = $objDb->sf_getBasisData(); … … 283 289 //-- 会員登録と完了画面 284 290 if ($_POST["mode"] == "complete") { 285 // キャンペーンからの遷移の時用の値286 if($objCampaignSess->getIsCampaign()) {287 $this->etc_value = "&cp=".$objCampaignSess->getCampaignId();288 }289 290 291 // 会員情報の登録 291 292 $this->CONF = $CONF; … … 342 343 343 344 $this->transactionid = $this->getToken(); 344 345 //---- ページ表示346 $objView->assignobj($this);347 // フレームを選択(キャンペーンページから遷移なら変更)348 $objCampaignSess->pageView($objView);349 345 } 350 346 … … 366 362 */ 367 363 function mobileProcess() { 364 $this->mobileAction(); 365 $this->sendResponse(); 366 } 367 368 /** 369 * Page のアクション(モバイル). 370 * 371 * @return void 372 */ 373 function mobileAction() { 368 374 //---- ページ初期設定 369 375 $objDb = new SC_Helper_DB_Ex(); … … 639 645 } 640 646 } 641 642 //---- ページ表示643 $objView->assignobj($this);644 $objView->display(SITE_FRAME);645 647 } 646 648 -
branches/camp/camp-2_5-E/data/class/pages/entry/LC_Page_Entry_Complete.php
r18701 r19124 65 65 */ 66 66 function process() { 67 global $objCampaignSess; 67 $this->action(); 68 $this->sendResponse(); 69 } 68 70 69 $objView = new SC_SiteView(); 70 $objCampaignSess = new SC_CampaignSession(); 71 71 /** 72 * Page のアクション. 73 * 74 * @return void 75 */ 76 function action() { 72 77 // transaction check 73 78 if (!$this->isValidToken()) { … … 78 83 $layout = new SC_Helper_PageLayout_Ex(); 79 84 $layout->sfGetPageLayout($this, false, DEF_LAYOUT); 80 81 // キャンペーンからの遷移がチェック82 $this->is_campaign = $objCampaignSess->getIsCampaign();83 $this->campaign_dir = $objCampaignSess->getCampaignDir();84 85 $objView->assignobj($this);86 // フレームを選択(キャンペーンページから遷移なら変更)87 $objCampaignSess->pageView($objView);88 85 } 89 86 … … 103 100 */ 104 101 function mobileProcess() { 105 $objView = new SC_MobileView(); 102 $this->mobileAction(); 103 $this->sendResponse(); 104 } 106 105 106 /** 107 * Page のアクション(モバイル). 108 * 109 * @return void 110 */ 111 function mobileAction() { 107 112 // レイアウトデザインを取得 108 113 $objLayout = new SC_Helper_PageLayout_Ex(); 109 114 $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT); 110 111 //---- ページ表示112 $objView->assignobj($this);113 $objView->display(SITE_FRAME);114 115 } 115 116 -
branches/camp/camp-2_5-E/data/class/pages/entry/LC_Page_Entry_EmailMobile.php
r18701 r19124 52 52 */ 53 53 function process() { 54 $this->action(); 55 $this->sendResponse(); 56 } 57 58 /** 59 * Page のアクション. 60 * 61 * @return void 62 */ 63 function action() { 54 64 } 55 65 … … 70 80 */ 71 81 function mobileProcess() { 72 $objView = new SC_MobileView; 82 $this->mobileAction(); 83 $this->sendResponse(); 84 } 85 86 /** 87 * Page のアクション(モバイル). 88 * 89 * @return void 90 */ 91 function mobileAction() { 73 92 $objCustomer = new SC_Customer; 74 93 $objFormParam = new SC_FormParam; … … 104 123 $this->tpl_name = $objCustomer->getValue('name01'); 105 124 $this->arrForm = $objFormParam->getFormParamList(); 106 107 $objView->assignobj($this);108 $objView->display(SITE_FRAME);109 125 } 110 126 -
branches/camp/camp-2_5-E/data/class/pages/entry/LC_Page_Entry_Kiyaku.php
r18701 r19124 54 54 */ 55 55 function process() { 56 global $objCampaignSess; 56 $this->action(); 57 $this->sendResponse(); 58 } 57 59 58 $objView = new SC_SiteView(); 60 /** 61 * Page のアクション. 62 * 63 * @return void 64 */ 65 function action() { 59 66 $objCustomer = new SC_Customer(); 60 $objCampaignSess = new SC_CampaignSession();61 67 62 68 // レイアウトデザインを取得 … … 75 81 $this->tpl_kiyaku_text.=$arrRet[$i]['kiyaku_text'] . "\n\n"; 76 82 } 77 78 // キャンペーンからの遷移がチェック79 $this->is_campaign = $objCampaignSess->getIsCampaign();80 $this->campaign_dir = $objCampaignSess->getCampaignDir();81 82 $objView->assignobj($this);83 // フレームを選択(キャンペーンページから遷移なら変更)84 $objCampaignSess->pageView($objView);85 83 } 86 84 … … 100 98 */ 101 99 function mobileProcess() { 102 $objView = new SC_MobileView(); 100 $this->mobilAection(); 101 $this->sendResponse(); 102 } 103 104 /** 105 * Page のアクション(モバイル). 106 * 107 * @return void 108 */ 109 function mobileAction() { 103 110 $objCustomer = new SC_Customer(); 104 111 … … 129 136 $this->tpl_kiyaku_text.=$arrRet[$i]['kiyaku_text'] . "\n\n"; 130 137 } 131 132 $objView->assign("offset", $next);133 $objView->assignobj($this);134 $objView->display(SITE_FRAME);135 138 } 136 139 -
branches/camp/camp-2_5-E/data/class/pages/entry/LC_Page_Entry_New.php
r18701 r19124 52 52 */ 53 53 function process() { 54 $this->action(); 55 $this->sendResponse(); 56 } 57 58 /** 59 * Page のアクション. 60 * 61 * @return void 62 */ 63 function action() { 54 64 } 55 65 … … 69 79 */ 70 80 function mobileProcess() { 71 $objView = new SC_MobileView(); 72 $objView->assignobj($this); 73 $objView->display(SITE_FRAME); 81 $this->mobileAction(); 82 $this->sendResponse(); 83 } 84 85 /** 86 * Page のアクション(モバイル). 87 * 88 * @return void 89 */ 90 function mobileAction() { 74 91 } 75 92
Note: See TracChangeset
for help on using the changeset viewer.