Revision 15684,
1.2 KB
checked in by nanasess, 15 years ago
(diff) |
クラス化に伴う修正
|
-
Property svn:keywords set to
Id
-
Property svn:mime-type set to
text/x-httpd-php; charset=UTF-8
|
Line | |
---|
1 | <?php |
---|
2 | // {{{ requires |
---|
3 | require_once("###require###"); |
---|
4 | require_once(CLASS_PATH . "pages/LC_Page.php"); |
---|
5 | |
---|
6 | /** |
---|
7 | * ユーザーカスタマイズ用のページクラス |
---|
8 | * |
---|
9 | * 管理画面から自動生成される |
---|
10 | * |
---|
11 | * @package Page |
---|
12 | */ |
---|
13 | class LC_Page_User extends LC_Page { |
---|
14 | |
---|
15 | // }}} |
---|
16 | // {{{ functions |
---|
17 | |
---|
18 | /** |
---|
19 | * Page を初期化する. |
---|
20 | * |
---|
21 | * @return void |
---|
22 | */ |
---|
23 | function init() { |
---|
24 | parent::init(); |
---|
25 | // メインCSSパス |
---|
26 | $this->tpl_css = URL_DIR.'css/layout/contact/index.css'; |
---|
27 | } |
---|
28 | |
---|
29 | /** |
---|
30 | * Page のプロセス. |
---|
31 | * |
---|
32 | * @return void |
---|
33 | */ |
---|
34 | function process() { |
---|
35 | $objView = new SC_SiteView(); |
---|
36 | $objLayout = new SC_Helper_PageLayout_Ex(); |
---|
37 | |
---|
38 | // レイアウトデザインを取得 |
---|
39 | $objLayout->sfGetPageLayout($this); |
---|
40 | |
---|
41 | // 画面の表示 |
---|
42 | $objView->assignobj($this); |
---|
43 | $objView->display(SITE_FRAME); |
---|
44 | } |
---|
45 | |
---|
46 | /** |
---|
47 | * デストラクタ. |
---|
48 | * |
---|
49 | * @return void |
---|
50 | */ |
---|
51 | function destroy() { |
---|
52 | parent::destroy(); |
---|
53 | } |
---|
54 | } |
---|
55 | |
---|
56 | |
---|
57 | // }}} |
---|
58 | // {{{ generate page |
---|
59 | |
---|
60 | $objPage = new LC_Page_User(); |
---|
61 | $objPage->init(); |
---|
62 | $objPage->process(); |
---|
63 | register_shutdown_function(array($objPage, "destroy")); |
---|
64 | |
---|
65 | |
---|
66 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.