source: branches/version-2_13_3/templates/templates.xml @ 23546

Revision 23546, 4.2 KB checked in by shutta, 7 years ago (diff)

#2580 Copyrightを更新
Copyrightを2014に更新

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
Line 
1<?xml version="1.0" encoding="UTF-8"?><templates><template autoinsert="true" context="newPhp" deleted="false" description="ページクラス" enabled="true" name="New PHP class file">&lt;?php
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2014 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
24require_once CLASS_EX_REALDIR . 'page_extends/LC_Page_Ex.php';
25
26/**
27 * XXX のページクラス.
28 *
29 * @package Page
30 * @author LOCKON CO.,LTD.
31 * @version $$Id$$
32 */
33class LC_Page_XXX extends LC_Page_Ex
34{
35    /**
36     * Page を初期化する.
37     *
38     * @return void
39     */
40    function init()
41    {
42        parent::init();
43    }
44
45    /**
46     * Page のプロセス.
47     *
48     * @return void
49     */
50    function process()
51    {
52    }
53}
54</template><template autoinsert="true" context="newPhp" deleted="false" description="拡張版ページクラス" enabled="true" name="New PHP extend class file">&lt;?php
55/*
56 * This file is part of EC-CUBE
57 *
58 * Copyright(c) 2000-2014 LOCKON CO.,LTD. All Rights Reserved.
59 *
60 * http://www.lockon.co.jp/
61 *
62 * This program is free software; you can redistribute it and/or
63 * modify it under the terms of the GNU General Public License
64 * as published by the Free Software Foundation; either version 2
65 * of the License, or (at your option) any later version.
66 *
67 * This program is distributed in the hope that it will be useful,
68 * but WITHOUT ANY WARRANTY; without even the implied warranty of
69 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
70 * GNU General Public License for more details.
71 *
72 * You should have received a copy of the GNU General Public License
73 * along with this program; if not, write to the Free Software
74 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
75 */
76
77require_once CLASS_REALDIR . 'pages/XXX/LC_Page_XXX.php';
78
79/**
80 * XXX のページクラス(拡張).
81 *
82 * LC_Page_XXX をカスタマイズする場合はこのクラスを編集する.
83 *
84 * @package Page
85 * @author LOCKON CO.,LTD.
86 * @version $$Id$$
87 */
88class LC_Page_XXX_Ex extends LC_Page_XXX
89{
90    /**
91     * Page を初期化する.
92     *
93     * @return void
94     */
95    function init()
96    {
97        parent::init();
98    }
99
100    /**
101     * Page のプロセス.
102     *
103     * @return void
104     */
105    function process()
106    {
107        parent::process();
108    }
109}
110</template><template autoinsert="true" context="newPhp" deleted="false" description="Web ページのテンプレート" enabled="true" name="New Plain PHP file">&lt;?php
111/*
112 * This file is part of EC-CUBE
113 *
114 * Copyright(c) 2000-2014 LOCKON CO.,LTD. All Rights Reserved.
115 *
116 * http://www.lockon.co.jp/
117 *
118 * This program is free software; you can redistribute it and/or
119 * modify it under the terms of the GNU General Public License
120 * as published by the Free Software Foundation; either version 2
121 * of the License, or (at your option) any later version.
122 *
123 * This program is distributed in the hope that it will be useful,
124 * but WITHOUT ANY WARRANTY; without even the implied warranty of
125 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
126 * GNU General Public License for more details.
127 *
128 * You should have received a copy of the GNU General Public License
129 * along with this program; if not, write to the Free Software
130 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
131 */
132
133require_once './require.php';
134require_once CLASS_REALDIR . 'page_extends/LC_Page_XXX_Ex.php';
135
136
137$$objPage = new LC_Page_XXX_Ex();
138$$objPage-&gt;init();
139$$objPage-&gt;process();
140</template></templates>
Note: See TracBrowser for help on using the repository browser.