app\controllers\TasksController::actionTasksReport PHP 메소드

actionTasksReport() 공개 메소드

public actionTasksReport ( )
    public function actionTasksReport()
    {
        $date_begin = isset($_GET['date_begin']) ? $_GET['date_begin'] : date('Y-m-d', strtotime('-6 day'));
        $date_end = isset($_GET['date_end']) ? $_GET['date_end'] : date('Y-m-d');
        return $this->render('report', array('report' => Task::getReport($date_begin, $date_end), 'date_begin' => $date_begin, 'date_end' => $date_end));
    }