source: branches/camp/camp-2_13-tax/data/class/pages/admin/basis/LC_Page_Admin_Basis_Tax.php @ 22624

Revision 22624, 2.6 KB checked in by yomoro, 11 years ago (diff)

税金管理の作成途中

Line 
1<?php
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23
24// {{{ requires
25require_once CLASS_EX_REALDIR . 'page_extends/admin/LC_Page_Admin_Ex.php';
26
27/**
28 * 税金管理 のページクラス.
29 *
30 * @package Page
31 * @author LOCKON CO.,LTD.
32 * @version $Id: LC_Page_Admin_Basis_Tax_Ex.php 22567 2013-03-09 12:18:54Z yomoro $
33 */
34class LC_Page_Admin_Basis_Tax extends LC_Page_Admin_Ex
35{
36
37    // {{{ properties
38
39    /** エラー情報 */
40    var $arrErr;
41
42    // }}}
43    // {{{ functions
44
45    /**
46     * Page を初期化する.
47     *
48     * @return void
49     */
50    function init()
51    {
52        parent::init();
53        $this->tpl_mainpage = 'basis/tax.tpl';
54        $this->tpl_subno = 'tax';
55        $this->tpl_mainno = 'basis';
56        $this->tpl_maintitle = '基本情報管理';
57        $this->tpl_subtitle = '税金管理';
58        $masterData = new SC_DB_MasterData_Ex();
59        $this->arrPref = $masterData->getMasterData('mtb_pref');
60        $this->arrTAXCALCRULE = $masterData->getMasterData('mtb_taxrule');
61
62        //配信時刻の項目値設定
63        $this->objDate = new SC_Date();
64        // 配信時間の年を、「現在年~現在年+1」の範囲に設定
65        for ($year=date("Y"); $year<=date("Y") + 1;$year++){
66            $arrYear[$year] = $year;
67        }
68        $this->arrYear = $arrYear;
69
70        for ($minutes=0; $minutes< 60; $minutes++){
71            $arrMinutes[$minutes] = $minutes;
72        }
73        $this->arrMinutes = $arrMinutes;
74
75    }
76
77    /**
78     * Page のプロセス.
79     *
80     * @return void
81     */
82    function process()
83    {
84        $this->action();
85        $this->sendResponse();
86    }
87
88    /**
89     * Page のアクション.
90     *
91     * @return void
92     */
93    function action()
94    {
95
96    }
97
98    /**
99     * デストラクタ.
100     *
101     * @return void
102     */
103    function destroy()
104    {
105        parent::destroy();
106    }
107}
Note: See TracBrowser for help on using the repository browser.