Changeset 16114


Ignore:
Timestamp:
2007/09/27 22:13:10 (17 years ago)
Author:
nanasess
Message:

クラス化に伴う修正

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

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/mypage/refusal_complete.php

    r15532 r16114  
    66 */ 
    77 
     8// {{{ requires 
    89require_once("../require.php"); 
     10require_once(CLASS_PATH . "page_extends/mypage/LC_Page_Mypage_RefusalComplate_Ex.php"); 
    911 
    10 class LC_Page{ 
    11     function LC_Page(){ 
    12         $this->tpl_mainpage = USER_PATH . 'templates/mypage/refusal_complete.tpl'; 
    13         $this->tpl_title = "MYページ/退会手続き(完了ページ)"; 
    14         $this->tpl_navi = USER_PATH . 'templates/mypage/navi.tpl'; 
    15         $this->tpl_mypageno = 'refusal'; 
    16         $this->point_disp = false; 
    17     } 
    18 } 
     12// }}} 
     13// {{{ generate page 
    1914 
    20 $objPage = new LC_Page(); 
    21 $objView = new SC_SiteView(); 
    22  
    23 $objCustomer = new SC_Customer(); 
    24 //マイページトップ顧客情報表示用 
    25 $objPage->CustomerName1 = $objCustomer->getvalue('name01'); 
    26 $objPage->CustomerName2 = $objCustomer->getvalue('name02'); 
    27 $objPage->CustomerPoint = $objCustomer->getvalue('point'); 
    28  
    29 // レイアウトデザインを取得 
    30 $objPage = sfGetPageLayout($objPage, false, "mypage/index.php"); 
    31  
    32 $objView->assignobj($objPage); 
    33 $objView->display(SITE_FRAME); 
    34  
     15$objPage = new LC_Page_Mypage_RefusalComplate_Ex(); 
     16$objPage->init(); 
     17$objPage->process(); 
     18register_shutdown_function(array($objPage, "destroy")); 
    3519?> 
Note: See TracChangeset for help on using the changeset viewer.