| Revision 22567,
998 bytes
checked in by shutta, 13 years ago
(diff) |
|
#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。
|
-
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 | /** |
|---|
| 16 | * Page を初期化する. |
|---|
| 17 | * |
|---|
| 18 | * @return void |
|---|
| 19 | */ |
|---|
| 20 | function init() |
|---|
| 21 | { |
|---|
| 22 | parent::init(); |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | /** |
|---|
| 26 | * Page のプロセス. |
|---|
| 27 | * |
|---|
| 28 | * @return void |
|---|
| 29 | */ |
|---|
| 30 | function process() |
|---|
| 31 | { |
|---|
| 32 | parent::process(); |
|---|
| 33 | $this->action(); |
|---|
| 34 | $this->sendResponse(); |
|---|
| 35 | } |
|---|
| 36 | |
|---|
| 37 | /** |
|---|
| 38 | * Page のアクション. |
|---|
| 39 | * |
|---|
| 40 | * @return void |
|---|
| 41 | */ |
|---|
| 42 | function action() |
|---|
| 43 | { |
|---|
| 44 | } |
|---|
| 45 | |
|---|
| 46 | /** |
|---|
| 47 | * デストラクタ. |
|---|
| 48 | * |
|---|
| 49 | * @return void |
|---|
| 50 | */ |
|---|
| 51 | function destroy() |
|---|
| 52 | { |
|---|
| 53 | parent::destroy(); |
|---|
| 54 | } |
|---|
| 55 | } |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | $objPage = new LC_Page_User(); |
|---|
| 59 | register_shutdown_function(array($objPage, 'destroy')); |
|---|
| 60 | $objPage->init(); |
|---|
| 61 | $objPage->process(); |
|---|
Note: See
TracBrowser
for help on using the repository browser.