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

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

メンバ変数をプルアップし、 init() で初期化するよう変更

  • 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 * 特定商取引に関する法律 のページクラス.
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    }
31
32    /**
33     * Page のプロセス.
34     *
35     * @return void
36     */
37    function process() {
38        $objView = new SC_SiteView();
39        $objQuery = new SC_Query();
40
41        // レイアウトデザインを取得
42        $layout = new SC_Helper_PageLayout_Ex();
43        $this = $layout->sfGetPageLayout($this, false, DEF_LAYOUT);
44
45        $arrRet = $objQuery->getall("SELECT * FROM dtb_baseinfo",array());
46        $this->arrRet = $arrRet[0];
47        $this->arrPref = $arrPref;
48
49        $objView->assignobj($this);
50        $objView->display(SITE_FRAME);
51    }
52
53    /**
54     * デストラクタ.
55     *
56     * @return void
57     */
58    function destroy() {
59        parent::destroy();
60    }
61}
62?>
Note: See TracBrowser for help on using the repository browser.