- Timestamp:
- 2011/02/04 18:15:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/error/LC_Page_Error.php
r19957 r20092 60 60 */ 61 61 function init() { 62 parent::init(); 62 63 $this->tpl_mainpage = 'error.tpl'; 63 64 $this->tpl_title = 'エラー'; 65 } 66 67 /** 68 * Page のプロセス. 69 * 70 * @return void 71 */ 72 function process() { 73 parent::process(); 74 $this->action(); 75 $this->sendResponse(); 64 76 } 65 77 … … 69 81 * @return void 70 82 */ 71 function process() { 72 parent::process(); 73 74 // XXX 未使用? 75 if ($this->objSiteSess != "") { 76 $this->objSiteSess->setNowPage('error'); 77 } 78 79 if($this->is_mobile === true) { 80 $objView = new SC_MobileView(); 81 } else { 82 $objView = new SC_SiteView(); 83 } 84 83 function action(){ 85 84 switch ($this->type) { 86 85 case PRODUCT_NOT_FOUND: … … 159 158 break; 160 159 } 161 162 $objView->assignobj($this);163 $objView->display(SITE_FRAME);164 160 } 165 161
Note: See TracChangeset
for help on using the changeset viewer.