CMS  Version 3.9
survey_responses.inc File Reference

Go to the source code of this file.

Variables

 $responses = Query::create(SurveyResponse, "WHERE status='submitted' AND survey_id NOT IN (SELECT survey_id FROM survey WHERE deleted=true)")->execute()
 
 $table = new DataListView($responses, "surveyResponses")
 
$table emptyMessage = "There are no survey responses."
 
$table sortable = true
 
$table pageSize = 20
 
$table filter = false
 
$table cssStyle = "width: 100%"
 
$table excelFile = "surveyResponses.xls"
 
 $script = $table->writeScript()
 

Variable Documentation

◆ $responses

$responses = Query::create(SurveyResponse, "WHERE status='submitted' AND survey_id NOT IN (SELECT survey_id FROM survey WHERE deleted=true)")->execute()

Definition at line 42 of file survey_responses.inc.

◆ $script

$script = $table->writeScript()

Definition at line 59 of file survey_responses.inc.

◆ $table

$table = new DataListView($responses, "surveyResponses")

Definition at line 44 of file survey_responses.inc.

◆ cssStyle

$table cssStyle = "width: 100%"

Definition at line 56 of file survey_responses.inc.

◆ emptyMessage

$table emptyMessage = "There are no survey responses."

Definition at line 52 of file survey_responses.inc.

◆ excelFile

$table excelFile = "surveyResponses.xls"

Definition at line 57 of file survey_responses.inc.

◆ filter

$table filter = false

Definition at line 55 of file survey_responses.inc.

◆ pageSize

$table pageSize = 20

Definition at line 54 of file survey_responses.inc.

◆ sortable

$table sortable = true

Definition at line 53 of file survey_responses.inc.