Revision 15090,
1.6 KB
checked in by nanasess, 17 years ago
(diff) |
メンバ変数をプルアップし、 init() で初期化するよう変更
|
-
Property charset set to
UTF-8'
-
Property svn:keywords set to
Id Revision Date
-
Property svn:mime-type set to
'application/x-httpd-php
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
4 | * |
---|
5 | * http://www.lockon.co.jp/ |
---|
6 | */ |
---|
7 | |
---|
8 | // {{{ requires |
---|
9 | require_once(CLASS_PATH . "pages/LC_Page.php"); |
---|
10 | |
---|
11 | /** |
---|
12 | * 問い合わせ(完了ページ) のページクラス. |
---|
13 | * |
---|
14 | * @package Page |
---|
15 | * @author LOCKON CO.,LTD. |
---|
16 | * @version $Id$ |
---|
17 | */ |
---|
18 | class LC_Page_Contact_Complete extends LC_Page { |
---|
19 | |
---|
20 | // }}} |
---|
21 | // {{{ functions |
---|
22 | |
---|
23 | /** |
---|
24 | * Page を初期化する. |
---|
25 | * |
---|
26 | * @return void |
---|
27 | */ |
---|
28 | function init() { |
---|
29 | parent::init(); |
---|
30 | $this->tpl_mainpage = 'contact/complete.tpl'; |
---|
31 | $this->tpl_title = 'お問い合わせ(完了ページ)'; |
---|
32 | $this->tpl_mainno = 'contact'; |
---|
33 | $this->tpl_css = array(); |
---|
34 | $this->tpl_css[1] = URL_DIR.'css/layout/contact/index.css'; |
---|
35 | } |
---|
36 | |
---|
37 | /** |
---|
38 | * Page のプロセス. |
---|
39 | * |
---|
40 | * @return void |
---|
41 | */ |
---|
42 | function process() { |
---|
43 | $objView = new SC_SiteView(); |
---|
44 | $objCampaignSess = new SC_CampaignSession(); |
---|
45 | |
---|
46 | // レイアウトデザインを取得 |
---|
47 | $layout = new SC_Helper_PageLayout_Ex(); |
---|
48 | $this = $layout->sfGetPageLayout($this, false, DEF_LAYOUT); |
---|
49 | |
---|
50 | // キャンペーンからの遷移かチェック |
---|
51 | $this->is_campaign = $objCampaignSess->getIsCampaign(); |
---|
52 | $this->campaign_dir = $objCampaignSess->getCampaignDir(); |
---|
53 | |
---|
54 | $objView->assignobj($this); |
---|
55 | // フレームを選択(キャンペーンページから遷移なら変更) |
---|
56 | $objCampaignSess->pageView($objView); |
---|
57 | } |
---|
58 | |
---|
59 | /** |
---|
60 | * デストラクタ. |
---|
61 | * |
---|
62 | * @return void |
---|
63 | */ |
---|
64 | function destroy() { |
---|
65 | parent::destroy(); |
---|
66 | } |
---|
67 | } |
---|
68 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.