Revision 15392,
1.1 KB
checked in by nanasess, 17 years ago
(diff) |
PHP5 対応
|
-
Property svn:keywords set to
Id
-
Property svn:mime-type set to
application/x-httpd-php; charset=UTF-8
|
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_Abouts 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 = 'abouts/index.tpl'; |
---|
31 | $this->tpl_page_category = 'abouts'; |
---|
32 | $this->tpl_title = '当サイトについて'; |
---|
33 | } |
---|
34 | |
---|
35 | /** |
---|
36 | * Page のプロセス. |
---|
37 | * |
---|
38 | * @return void |
---|
39 | */ |
---|
40 | function process() { |
---|
41 | |
---|
42 | $objView = new SC_SiteView(); |
---|
43 | |
---|
44 | // レイアウトデザインを取得 |
---|
45 | $layout = new SC_Helper_PageLayout_Ex(); |
---|
46 | $objPage = $layout->sfGetPageLayout($this, false, DEF_LAYOUT); |
---|
47 | |
---|
48 | $objView->assignobj($objPage); |
---|
49 | $objView->display(SITE_FRAME); |
---|
50 | } |
---|
51 | |
---|
52 | /** |
---|
53 | * デストラクタ. |
---|
54 | * |
---|
55 | * @return void |
---|
56 | */ |
---|
57 | function destroy() { |
---|
58 | parent::destroy(); |
---|
59 | } |
---|
60 | } |
---|
61 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.