Changeset 19161
- Timestamp:
- 2010/11/06 23:19:26 (13 years ago)
- Location:
- branches/camp/camp-2_5-E/data/class/pages/contact
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/class/pages/contact/LC_Page_Contact.php
r18853 r19161 82 82 */ 83 83 function process() { 84 global $objCampaignSess; 85 86 $this->objView = new SC_SiteView(); 87 $objCampaignSess = new SC_CampaignSession(); 84 $this->action(); 85 $this->sendResponse(); 86 } 87 88 /** 89 * Page のアクション. 90 * 91 * @return void 92 */ 93 function action() { 88 94 $objDb = new SC_Helper_DB_Ex(); 89 95 $CONF = $objDb->sf_getBasisData(); // 店舗基本情報 … … 116 122 break; 117 123 } 118 119 //---- ページ表示120 $this->objView->assignobj($this);121 // フレームを選択(キャンペーンページから遷移なら変更)122 $objCampaignSess->pageView($this->objView);123 124 } 124 125 … … 138 139 */ 139 140 function mobileProcess() { 140 $objView = new SC_MobileView(); 141 $this->mobileAction(); 142 $this->sendResponse(); 143 } 144 145 /** 146 * Page のアクション(モバイル). 147 * 148 * @return void 149 */ 150 function mobileAction() { 141 151 $objDb = new SC_Helper_DB_Ex(); 142 $CONF = $objDb->sf_getBasisData(); // 店舗基本情報 143 144 //---- ページ表示 145 $objView->assignobj($this); 146 $objView->assignarray($CONF); 147 $objView->display(SITE_FRAME); 152 $this->CONF = $objDb->sf_getBasisData(); // 店舗基本情報 148 153 } 149 154 -
branches/camp/camp-2_5-E/data/class/pages/contact/LC_Page_Contact_Complete.php
r18701 r19161 55 55 */ 56 56 function process() { 57 global $objCampaignSess; 57 $this->action(); 58 $this->sendResponse(); 59 } 58 60 59 $objView = new SC_SiteView(); 60 $objCampaignSess = new SC_CampaignSession(); 61 61 /** 62 * Page のアクション. 63 * 64 * @return void 65 */ 66 function action() { 62 67 // レイアウトデザインを取得 63 68 $layout = new SC_Helper_PageLayout_Ex(); 64 69 $layout->sfGetPageLayout($this, false, DEF_LAYOUT); 65 66 // キャンペーンからの遷移かチェック67 $this->is_campaign = $objCampaignSess->getIsCampaign();68 $this->campaign_dir = $objCampaignSess->getCampaignDir();69 70 $objView->assignobj($this);71 // フレームを選択(キャンペーンページから遷移なら変更)72 $objCampaignSess->pageView($objView);73 70 } 74 71
Note: See TracChangeset
for help on using the changeset viewer.