source: branches/feature-module-update/data/class/pages/LC_Page_Index.php @ 15080

Revision 15080, 1.2 KB checked in by nanasess, 17 years ago (diff)

svn properties 設定

  • svn:mime-type - application/x-httpd-php; charset=UTF-8
  • svn:keywords - Id
  • 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
9require_once(CLASS_PATH . "pages/LC_Page.php");
10
11/**
12 * Index のページクラス.
13 *
14 * @package Page
15 * @author LOCKON CO.,LTD.
16 * @version $Id$
17 */
18class LC_Page_Index extends LC_Page {
19
20    // {{{ properties
21
22    /**メインテンプレート */
23    var $tpl_mainpage;
24
25    /** CSS のパス */
26    var $tpl_css;
27
28    // }}}
29    // {{{ functions
30
31    /**
32     * Page を初期化する.
33     *
34     * @return void
35     */
36    function init() {
37        parent::init();
38        $this->tpl_mainpage = HTML_PATH . "user_data/templates/top.tpl";
39        $this->tpl_css = URL_DIR . 'css/layout/index.css';
40    }
41
42    /**
43     * Page のプロセス.
44     *
45     * @return void
46     */
47    function process() {
48
49        $objView = new SC_SiteView();
50
51        // レイアウトデザインを取得
52        $layout = new SC_Helper_PageLayout_Ex();
53        $this = $layout->sfGetPageLayout($this, false, "index.php");
54
55        $objView->assignobj($this);
56        $objView->display(SITE_FRAME);
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.