source: branches/feature-module-update/data/class/pages/entry/LC_Page_Entry_Complete.php @ 15398

Revision 15398, 1.9 KB checked in by nanasess, 17 years ago (diff)

PHP5 対応

  • 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
9require_once(CLASS_PATH . "pages/LC_Page.php");
10
11/**
12 * 会員登録(完了) のページクラス.
13 *
14 * @package Page
15 * @author LOCKON CO.,LTD.
16 * @version $Id$
17 */
18class LC_Page_Entry_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_css = URL_DIR.'css/layout/entry/complete.css';
31
32        // メインテンプレートを設定
33        if(CUSTOMER_CONFIRM_MAIL == true) {
34            // 仮会員登録完了
35            $this->tpl_mainpage = 'entry/complete.tpl';
36        } else {
37            // 本会員登録完了
38            $this->tpl_mainpage = 'regist/complete.tpl';
39        }
40
41        $this->tpl_title .= '会員登録(完了ページ)';
42    }
43
44    /**
45     * Page のプロセス.
46     *
47     * @return void
48     */
49    function process() {
50        $objView = new SC_SiteView();
51        $objCampaignSess = new SC_CampaignSession();
52
53        // transaction check
54        if (!$this->isValidToken()) {
55            SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);
56        }
57
58        // レイアウトデザインを取得
59        $layout = new SC_Helper_PageLayout_Ex();
60        $objPage = $layout->sfGetPageLayout($this, false, DEF_LAYOUT);
61
62        // キャンペーンからの遷移がチェック
63        $this->is_campaign = $objCampaignSess->getIsCampaign();
64        $this->campaign_dir = $objCampaignSess->getCampaignDir();
65
66        $objView->assignobj($objPage);
67        // フレームを選択(キャンペーンページから遷移なら変更)
68        $objCampaignSess->pageView($objView);
69    }
70
71    /**
72     * デストラクタ.
73     *
74     * @return void
75     */
76    function destroy() {
77        parent::destroy();
78    }
79}
80?>
Note: See TracBrowser for help on using the repository browser.