Changeset 15085


Ignore:
Timestamp:
2007/07/20 19:14:46 (13 years ago)
Author:
nanasess
Message:

LC_Page をクラス化

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/contact/complete.php

    r15080 r15085  
    55 * http://www.lockon.co.jp/ 
    66 */ 
     7 
     8// {{{ requires 
    79require_once("../require.php"); 
     10require_once(CLASS_PATH . "page_extends/contact/LC_Page_Contact_Complete_Ex.php"); 
    811 
    9 class LC_Page { 
    10     function LC_Page() { 
    11         $this->tpl_css[1] = URL_DIR.'css/layout/contact/index.css'; // メインCSSパス 
    12         $this->tpl_mainpage = 'contact/complete.tpl'; 
    13         $this->tpl_title .= 'お問い合わせ(完了ページ)'; 
    14         $this->tpl_mainno = 'contact'; 
    15     } 
    16 } 
     12// }}} 
     13// {{{ generate page 
    1714 
    18 $objPage = new LC_Page(); 
    19 $objView = new SC_SiteView(); 
    20 $objCampaignSess = new SC_CampaignSession(); 
    21  
    22 // レイアウトデザインを取得 
    23 $objPage = sfGetPageLayout($objPage, false, DEF_LAYOUT); 
    24  
    25 // キャンペーンからの遷移かチェック 
    26 $objPage->is_campaign = $objCampaignSess->getIsCampaign(); 
    27 $objPage->campaign_dir = $objCampaignSess->getCampaignDir(); 
    28  
    29 $objView->assignobj($objPage); 
    30 // フレームを選択(キャンペーンページから遷移なら変更) 
    31 $objCampaignSess->pageView($objView); 
    32  
     15$objPage = new LC_Page_Contact_Complete_Ex(); 
     16$objPage->init(); 
     17$objPage->process(); 
     18register_shutdown_function(array($objPage, "destroy")); 
    3319?> 
Note: See TracChangeset for help on using the changeset viewer.