source: branches/version-2_13-dev/html/user_data/__default.php @ 22926

Revision 22926, 806 bytes checked in by Seasoft, 11 years ago (diff)

#2287 (環境によりデストラクタが正しく動作しないケースがある)
#2288 (リクエスト単位で実行されるべきログ出力がブロックにも適用されている)
#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • 不明確な仕様にコメントを残した。
  • 親デストラクタを呼ぶだけの記述は可読性が悪くなると考え削除した。(上述のチケットで OS の仕様に依存したデストラクタとなるため、敢えてアプリケーション側で記述しておく意義は薄れたという認識のもと。)
  • 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
2exit; // Don't rewrite. This line is rewritten by EC-CUBE.
3require_once CLASS_EX_REALDIR . 'page_extends/LC_Page_Ex.php';
4
5/**
6 * ユーザーカスタマイズ用のページクラス
7 *
8 * 管理画面から自動生成される
9 *
10 * @package Page
11 */
12class LC_Page_User extends LC_Page_Ex
13{
14    /**
15     * Page を初期化する.
16     *
17     * @return void
18     */
19    function init()
20    {
21        parent::init();
22    }
23
24    /**
25     * Page のプロセス.
26     *
27     * @return void
28     */
29    function process()
30    {
31        parent::process();
32        $this->action();
33        $this->sendResponse();
34    }
35
36    /**
37     * Page のアクション.
38     *
39     * @return void
40     */
41    function action()
42    {
43    }
44}
45
46$objPage = new LC_Page_User();
47$objPage->init();
48$objPage->process();
Note: See TracBrowser for help on using the repository browser.