source: branches/feature-module-update/data/class/pages/order/LC_Page_Order.php @ 15532

Revision 15532, 1.5 KB checked in by nanasess, 17 years ago (diff)

svn:mime-type 修正

  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/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 * 特定商取引に関する法律 のページクラス.
13 *
14 * @package Page
15 * @author LOCKON CO.,LTD.
16 * @version $Id$
17 */
18class LC_Page_Order 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/order/index.css';
31        $this->tpl_mainpage = 'order/index.tpl';
32        $this->tpl_page_category = 'order';
33        $this->tpl_title = '特定商取引に関する法律';
34
35        $masterData = new SC_DB_MasterData_Ex();
36        $this->arrPref = $masterData->getMasterData("mtb_pref",
37                                 array("pref_id", "pref_name", "rank"));
38    }
39
40    /**
41     * Page のプロセス.
42     *
43     * @return void
44     */
45    function process() {
46        $objView = new SC_SiteView();
47        $objQuery = new SC_Query();
48        $layout = new SC_Helper_PageLayout_Ex();
49        $objDb = new SC_Helper_DB_Ex();
50
51        // レイアウトデザインを取得
52        $layout->sfGetPageLayout($this, false, DEF_LAYOUT);
53        $this->arrRet = $objDb->sf_getBasisData();
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.