1 | <?xml version="1.0" encoding="UTF-8"?><templates><template autoinsert="true" context="newPhp" deleted="false" description="ページクラス" enabled="true" name="New PHP class file"><?php |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2007 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 | require_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 | */ |
---|
33 | class 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 | /** |
---|
55 | * デストラクタ. |
---|
56 | * |
---|
57 | * @return void |
---|
58 | */ |
---|
59 | function destroy() |
---|
60 | { |
---|
61 | parent::destroy(); |
---|
62 | } |
---|
63 | } |
---|
64 | ?> |
---|
65 | </template><template autoinsert="true" context="newPhp" deleted="false" description="拡張版ページクラス" enabled="true" name="New PHP extend class file"><?php |
---|
66 | /* |
---|
67 | * This file is part of EC-CUBE |
---|
68 | * |
---|
69 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
70 | * |
---|
71 | * http://www.lockon.co.jp/ |
---|
72 | * |
---|
73 | * This program is free software; you can redistribute it and/or |
---|
74 | * modify it under the terms of the GNU General Public License |
---|
75 | * as published by the Free Software Foundation; either version 2 |
---|
76 | * of the License, or (at your option) any later version. |
---|
77 | * |
---|
78 | * This program is distributed in the hope that it will be useful, |
---|
79 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
80 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
81 | * GNU General Public License for more details. |
---|
82 | * |
---|
83 | * You should have received a copy of the GNU General Public License |
---|
84 | * along with this program; if not, write to the Free Software |
---|
85 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
86 | */ |
---|
87 | |
---|
88 | require_once CLASS_REALDIR . 'pages/XXX/LC_Page_XXX.php'; |
---|
89 | |
---|
90 | /** |
---|
91 | * XXX のページクラス(拡張). |
---|
92 | * |
---|
93 | * LC_Page_XXX をカスタマイズする場合はこのクラスを編集する. |
---|
94 | * |
---|
95 | * @package Page |
---|
96 | * @author LOCKON CO.,LTD. |
---|
97 | * @version $$Id$$ |
---|
98 | */ |
---|
99 | class LC_Page_XXX_Ex extends LC_Page_XXX |
---|
100 | { |
---|
101 | /** |
---|
102 | * Page を初期化する. |
---|
103 | * |
---|
104 | * @return void |
---|
105 | */ |
---|
106 | function init() |
---|
107 | { |
---|
108 | parent::init(); |
---|
109 | } |
---|
110 | |
---|
111 | /** |
---|
112 | * Page のプロセス. |
---|
113 | * |
---|
114 | * @return void |
---|
115 | */ |
---|
116 | function process() |
---|
117 | { |
---|
118 | parent::process(); |
---|
119 | } |
---|
120 | |
---|
121 | /** |
---|
122 | * デストラクタ. |
---|
123 | * |
---|
124 | * @return void |
---|
125 | */ |
---|
126 | function destroy() |
---|
127 | { |
---|
128 | parent::destroy(); |
---|
129 | } |
---|
130 | } |
---|
131 | ?> |
---|
132 | </template><template autoinsert="true" context="newPhp" deleted="false" description="Web ページのテンプレート" enabled="true" name="New Plain PHP file"><?php |
---|
133 | /* |
---|
134 | * This file is part of EC-CUBE |
---|
135 | * |
---|
136 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
137 | * |
---|
138 | * http://www.lockon.co.jp/ |
---|
139 | * |
---|
140 | * This program is free software; you can redistribute it and/or |
---|
141 | * modify it under the terms of the GNU General Public License |
---|
142 | * as published by the Free Software Foundation; either version 2 |
---|
143 | * of the License, or (at your option) any later version. |
---|
144 | * |
---|
145 | * This program is distributed in the hope that it will be useful, |
---|
146 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
147 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
148 | * GNU General Public License for more details. |
---|
149 | * |
---|
150 | * You should have received a copy of the GNU General Public License |
---|
151 | * along with this program; if not, write to the Free Software |
---|
152 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
153 | */ |
---|
154 | |
---|
155 | require_once './require.php'; |
---|
156 | require_once CLASS_REALDIR . 'page_extends/LC_Page_XXX_Ex.php'; |
---|
157 | |
---|
158 | |
---|
159 | $$objPage = new LC_Page_XXX_Ex(); |
---|
160 | $$objPage->init(); |
---|
161 | $$objPage->process(); |
---|
162 | register_shutdown_function(array($$objPage, "destroy")); |
---|
163 | ?></template></templates> |
---|