示例#1
0
 protected function _htmlAction(&$iaView)
 {
     switch ($iaView->name()) {
         case 'phpinfo':
             $this->_showPhpinfo($iaView);
             $iaView->display('index');
             break;
         case 'clear_cache':
             $this->_clearCache($iaView);
             break;
         case 'sitemap':
             $this->_buildSitemap($iaView);
             break;
         default:
             parent::_htmlAction($iaView);
     }
 }