Ignore:
Timestamp:
2007/10/01 11:35:19 (15 years ago)
Author:
nanasess
Message:

クラス化対応

Location:
branches/feature-module-update
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/mobile/products/search.php

    r15532 r16203  
    11<?php 
    22/** 
    3  *  
     3 * 
    44 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. 
    55 * 
    66 * http://www.lockon.co.jp/ 
    7  *  
    87 * 
    9  * モバイルサイト/商品検索フォーム 
     8 * 
     9 * モバイルサイト/商品検索 
    1010 */ 
    1111 
    12 require_once('../require.php'); 
     12// {{{ requires 
     13require_once("../require.php"); 
     14require_once(CLASS_PATH . "page_extends/products/LC_Page_Products_Search_Ex.php"); 
    1315 
    14 class LC_Page { 
    15     function LC_Page() { 
    16         /** 必ず指定する **/ 
    17         $this->tpl_mainpage = 'products/search.tpl';            // メインテンプレート 
    18         $this->tpl_title = '商品検索'; 
    19     } 
    20 } 
     16// }}} 
     17// {{{ generate page 
    2118 
    22 $objPage = new LC_Page(); 
    23 $objView = new SC_MobileView(); 
    24  
    25 // レイアウトデザインを取得 
    26 $objPage = sfGetPageLayout($objPage, false, DEF_LAYOUT); 
    27  
    28 $objView->assignobj($objPage); 
    29 $objView->display(SITE_FRAME); 
    30  
    31 //----------------------------------------------------------------------------------------------------------------------------------- 
     19$objPage = new LC_Page_Products_Search_Ex(); 
     20$objPage->mobileInit(); 
     21$objPage->mobileProcess(); 
     22register_shutdown_function(array($objPage, "destroy")); 
    3223?> 
Note: See TracChangeset for help on using the changeset viewer.