Changeset 18995


Ignore:
Timestamp:
2010/11/06 20:29:46 (13 years ago)
Author:
Yammy
Message:

process() の分離テスト中
action(), sendRes()に仕分け

Location:
branches/camp/camp-2_5-E/data/class/pages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/pages/LC_Page.php

    r18701 r18995  
    8686        $layout = new SC_Helper_PageLayout_Ex(); 
    8787        $layout->sfGetPageLayout($this, false); 
     88 
     89        // ディスプレイクラス生成 
     90        $this->objDisp = new SC_Display(); 
    8891    } 
    8992 
  • branches/camp/camp-2_5-E/data/class/pages/LC_Page_Index.php

    r18820 r18995  
    6363     */ 
    6464    function process() { 
     65        $this->action(); 
     66        $this->sendRes(); 
     67    } 
    6568 
    66         $objView = new SC_SiteView(); 
    67  
     69    /** 
     70     * Page のアクション. 
     71     * 
     72     * @return void 
     73     */ 
     74    function action() { 
    6875        // レイアウトデザインを取得 
    6976        $layout = new SC_Helper_PageLayout_Ex(); 
    7077        $layout->sfGetPageLayout($this, false, "index.php"); 
    7178        $this->tpl_title = ''; 
     79    } 
    7280 
    73         $objView->assignobj($this); 
    74         $objView->display(SITE_FRAME); 
     81    /** 
     82     * Page のアクション. 
     83     * 
     84     * @return void 
     85     */ 
     86    function sendRes() { 
     87        $this->objDisp->hoge($this); 
    7588    } 
    7689 
Note: See TracChangeset for help on using the changeset viewer.