コード例 #1
0
 public function actionOverall()
 {
     $model = new SyslogCounters('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['SyslogCounters'])) {
         $model->attributes = $_GET['SyslogCounters'];
     }
     $this->render('overall', array('model' => $model));
 }
コード例 #2
0
 public function actionIndex()
 {
     $archive = ArchiveCounters::model();
     $archive_daily = ArchiveCountersDaily::model();
     $syslog = SyslogCounters::model();
     $syslog_daily = SyslogCountersDaily::model();
     $this->render('index', array('archive' => $archive, 'archive_daily' => $archive_daily, 'syslog' => $syslog, 'syslog_daily' => $syslog_daily));
 }