Revision 20344,
936 bytes
checked in by shutta, 13 years ago
(diff) |
LC_Pageクラスのclass_extends対応。
|
-
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
|
Rev | 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 | $objView = new SC_SiteView_Ex(); |
---|
| 30 | |
---|
| 31 | // 画面の表示 |
---|
| 32 | $objView->assignobj($this); |
---|
| 33 | $objView->display(SITE_FRAME); |
---|
| 34 | } |
---|
| 35 | |
---|
| 36 | /** |
---|
| 37 | * デストラクタ. |
---|
| 38 | * |
---|
| 39 | * @return void |
---|
| 40 | */ |
---|
| 41 | function destroy() { |
---|
| 42 | parent::destroy(); |
---|
| 43 | } |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | $objPage = new LC_Page_User(); |
---|
| 48 | register_shutdown_function(array($objPage, 'destroy')); |
---|
| 49 | $objPage->init(); |
---|
| 50 | $objPage->process(); |
---|
Note: See
TracBrowser
for help on using the repository browser.