예제 #1
0
 function savePublicStatisticsList()
 {
     $this->validate();
     $schedConf =& Request::getSchedConf();
     if (!$schedConf) {
         Request::redirect(null, 'index');
     }
     foreach (StatisticsHandler::_getPublicStatisticsNames() as $name) {
         $schedConf->updateSetting($name, Request::getUserVar($name) ? true : false);
     }
     Request::redirect(null, null, 'manager', 'statistics', null, array('statisticsYear' => Request::getUserVar('statisticsYear')));
 }
예제 #2
0
 function _getPublicStatisticsNames()
 {
     import('pages.manager.ManagerHandler');
     import('pages.manager.StatisticsHandler');
     return StatisticsHandler::_getPublicStatisticsNames();
 }