Exemplo n.º 1
0
 /**
  * Shows an age overview of all participants
  */
 public function age_overview_detail($age_in_months, $date)
 {
     create_participant_table();
     $data['ajax_source'] = 'participant/table_by_age/' . $date . '/' . $age_in_months;
     $data['page_title'] = lang('participants');
     $data['hide_columns'] = '7';
     $this->load->view('templates/header', $data);
     $this->load->view('templates/list_view', $data);
     $this->load->view('templates/footer');
 }
Exemplo n.º 2
0
 /** Finds possible participants for a testsurvey; excludes participants for which an invite has been made */
 public function find($testsurvey_id)
 {
     create_participant_table();
     $data['ajax_source'] = 'participant/table_by_testsurvey/' . $testsurvey_id;
     $data['page_title'] = lang('participants');
     $this->load->view('templates/header', $data);
     $this->authenticate->authenticate_redirect('templates/list_view', $data, UserRole::Admin);
     $this->load->view('templates/footer');
 }