Exemplo n.º 1
0
 /**
  * get list
  */
 public function getList()
 {
     require_once 'models/education/education_survey.php';
     $Survey = new education_survey();
     $list = $Survey->getSurveyListStats('', 'id DESC');
     return $list;
 }
Exemplo n.º 2
0
 /**
  * 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;
 }