CMS  Version 3.9
anonymous_response.inc File Reference

Go to the source code of this file.

Variables

 $survey_id = checkNumeric($_GET["survey_id"])
 
if(! $survey_id) $survey = new Survey($survey_id)
 
$page page_title = "{$survey->title}"
 
if($survey->isClosed()) else if(! $survey->allow_anonymous_responses) else
 
 $form = new AutoForm($survey)
 
$form submitLabel = "Start Survey"
 
 if ( $method=="POST")
 
 $script = $form->writeScript()
 

Variable Documentation

◆ $form

$form = new AutoForm($survey)

Definition at line 70 of file anonymous_response.inc.

◆ $script

$script = $form->writeScript()

Definition at line 84 of file anonymous_response.inc.

◆ $survey

if (! $survey_id) $survey = new Survey($survey_id)

Definition at line 54 of file anonymous_response.inc.

◆ $survey_id

$survey_id = checkNumeric($_GET["survey_id"])

Definition at line 47 of file anonymous_response.inc.

◆ else

if ( $survey->isClosed()) else if (! $survey->allow_anonymous_responses) else
Initial value:
{
$survey->filter = new InclusionFilter("survey_id")
if(! $survey_id) $survey

Definition at line 66 of file anonymous_response.inc.

◆ if

if($method=="POST") (   $method = = "POST")

Definition at line 73 of file anonymous_response.inc.

◆ page_title

$page page_title = "{$survey->title}"

Definition at line 56 of file anonymous_response.inc.

◆ submitLabel

$form submitLabel = "Start Survey"

Definition at line 71 of file anonymous_response.inc.