/** * get list */ public function getList() { require_once 'models/education/education_survey.php'; $Survey = new education_survey(); $list = $Survey->getSurveyListStats('', 'id DESC'); return $list; }
/** * main action */ public function mainAction() { set_time_limit(0); require_once 'models/education/education_survey.php'; $Survey = new education_survey(); /** * Get the list */ $records = $Survey->getSurveyListStats(); $this->commonCSVAction($records, 'surveys'); return true; }