Revision 20781,
981 bytes
checked in by nanasess, 13 years ago
(diff) |
#1198 (管理画面 -> デザイン管理 -> ページ詳細設定 でヘッダーフッターがデバイス毎に切り替わらない)
- LC_Page::sendResponse() を使用するよう修正
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Id
-
Property svn:mime-type set to
text/x-httpd-php; charset=UTF-8
|
Line | |
---|
1 | <?php |
---|
2 | exit; // Don't rewrite. This line is rewritten by EC-CUBE. |
---|
3 | require_once CLASS_EX_REALDIR . 'page_extends/LC_Page_Ex.php'; |
---|
4 | |
---|
5 | /** |
---|
6 | * ユーザーカスタマイズ用のページクラス |
---|
7 | * |
---|
8 | * 管理画面から自動生成される |
---|
9 | * |
---|
10 | * @package Page |
---|
11 | */ |
---|
12 | class LC_Page_User extends LC_Page_Ex { |
---|
13 | |
---|
14 | /** |
---|
15 | * Page を初期化する. |
---|
16 | * |
---|
17 | * @return void |
---|
18 | */ |
---|
19 | function init() { |
---|
20 | parent::init(); |
---|
21 | } |
---|
22 | |
---|
23 | /** |
---|
24 | * Page のプロセス. |
---|
25 | * |
---|
26 | * @return void |
---|
27 | */ |
---|
28 | function process() { |
---|
29 | parent::process(); |
---|
30 | $this->action(); |
---|
31 | $this->sendResponse(); |
---|
32 | } |
---|
33 | |
---|
34 | /** |
---|
35 | * Page のアクション. |
---|
36 | * |
---|
37 | * @return void |
---|
38 | */ |
---|
39 | function action() { |
---|
40 | } |
---|
41 | |
---|
42 | /** |
---|
43 | * デストラクタ. |
---|
44 | * |
---|
45 | * @return void |
---|
46 | */ |
---|
47 | function destroy() { |
---|
48 | parent::destroy(); |
---|
49 | } |
---|
50 | } |
---|
51 | |
---|
52 | |
---|
53 | $objPage = new LC_Page_User(); |
---|
54 | register_shutdown_function(array($objPage, 'destroy')); |
---|
55 | $objPage->init(); |
---|
56 | $objPage->process(); |
---|
Note: See
TracBrowser
for help on using the repository browser.