Index: /branches/feature-module-update/html/mobile/products/search.php
===================================================================
--- /branches/feature-module-update/html/mobile/products/search.php	(revision 15532)
+++ /branches/feature-module-update/html/mobile/products/search.php	(revision 16203)
@@ -1,32 +1,23 @@
 <?php
 /**
- * 
+ *
  * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
  *
  * http://www.lockon.co.jp/
- * 
  *
- * モバイルサイト/商品検索フォーム
+ *
+ * モバイルサイト/商品検索
  */
 
-require_once('../require.php');
+// {{{ requires
+require_once("../require.php");
+require_once(CLASS_PATH . "page_extends/products/LC_Page_Products_Search_Ex.php");
 
-class LC_Page {
-	function LC_Page() {
-		/** 必ず指定する **/
-		$this->tpl_mainpage = 'products/search.tpl';			// メインテンプレート
-		$this->tpl_title = '商品検索';
-	}
-}
+// }}}
+// {{{ generate page
 
-$objPage = new LC_Page();
-$objView = new SC_MobileView();
-
-// レイアウトデザインを取得
-$objPage = sfGetPageLayout($objPage, false, DEF_LAYOUT);
-
-$objView->assignobj($objPage);
-$objView->display(SITE_FRAME);
-
-//-----------------------------------------------------------------------------------------------------------------------------------
+$objPage = new LC_Page_Products_Search_Ex();
+$objPage->mobileInit();
+$objPage->mobileProcess();
+register_shutdown_function(array($objPage, "destroy"));
 ?>
Index: /branches/feature-module-update/data/class/pages/products/LC_Page_Products_Search.php
===================================================================
--- /branches/feature-module-update/data/class/pages/products/LC_Page_Products_Search.php	(revision 16203)
+++ /branches/feature-module-update/data/class/pages/products/LC_Page_Products_Search.php	(revision 16203)
@@ -0,0 +1,71 @@
+<?php
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+
+// {{{ requires
+require_once(CLASS_PATH . "pages/LC_Page.php");
+
+/**
+ * 商品検索 のページクラス.
+ *
+ * @package Page
+ * @author LOCKON CO.,LTD.
+ * @version $Id$
+ */
+class LC_Page_Products_Search extends LC_Page {
+
+    // }}}
+    // {{{ functions
+
+    /**
+     * Page を初期化する.
+     *
+     * @return void
+     */
+    function init() {
+        parent::init();
+    }
+
+    /**
+     * Page のプロセス.
+     *
+     * @return void
+     */
+    function process() {
+    }
+
+    /**
+     * モバイルページを初期化する.
+     *
+     * @return void
+     */
+    function mobileInit() {
+        $this->tpl_mainpage = 'products/search.tpl';
+        $this->tpl_title = '商品検索';
+    }
+
+    /**
+     * Page のプロセス(モバイル).
+     *
+     * @return void
+     */
+    function mobileProcess() {
+        $objView = new SC_MobileView();
+
+        $objView->assignobj($this);
+        $objView->display(SITE_FRAME);
+    }
+
+    /**
+     * デストラクタ.
+     *
+     * @return void
+     */
+    function destroy() {
+        parent::destroy();
+    }
+}
+?>
Index: /branches/feature-module-update/data/class/page_extends/products/LC_Page_Products_Search_Ex.php
===================================================================
--- /branches/feature-module-update/data/class/page_extends/products/LC_Page_Products_Search_Ex.php	(revision 16203)
+++ /branches/feature-module-update/data/class/page_extends/products/LC_Page_Products_Search_Ex.php	(revision 16203)
@@ -0,0 +1,52 @@
+<?php
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+
+// {{{ requires
+require_once(CLASS_PATH . "pages/products/LC_Page_Products_Search.php");
+
+/**
+ * 商品検索 のページクラス(拡張).
+ *
+ * LC_Page_Products_Search をカスタマイズする場合はこのクラスを編集する.
+ *
+ * @package Page
+ * @author LOCKON CO.,LTD.
+ * @version $Id$
+ */
+class LC_Page_Products_Search_Ex extends LC_Page_Products_Search {
+
+    // }}}
+    // {{{ functions
+
+    /**
+     * Page を初期化する.
+     *
+     * @return void
+     */
+    function init() {
+        parent::init();
+    }
+
+    /**
+     * Page のプロセス.
+     *
+     * @return void
+     */
+    function process() {
+        parent::process();
+    }
+
+    /**
+     * デストラクタ.
+     *
+     * @return void
+     */
+    function destroy() {
+        parent::destroy();
+    }
+}
+?>
