/** * main action */ public function mainAction() { set_time_limit(0); require_once 'models/common/common_watchdog.php'; $Watchdog = new common_watchdog(); /** * Get the list */ $date_from = $this->GET['date_from']; $date_to = $this->GET['date_to']; $records = $Watchdog->getDataForReport($date_from, $date_to); $this->commonCSVAction($records, 'notifications'); return true; }