56 $page->page_title =
"{$survey->title}";
60 echo
$survey->format(
"<p>{title} closed on {end_date:F d, Y}</p>");
62 else if (!
$survey->allow_anonymous_responses)
64 echo
"I am sorry, this survey does not allow anonymous responses.";
68 $survey->filter =
new InclusionFilter(
"survey_id");
71 $form->submitLabel =
"Start Survey";
78 redirect(
"survey_response_form?survey_id={$survey->survey_id}&token={$response->token}");
81 echo
"<h2>{$survey->title}</h2>";
82 echo
"<p>" . formatAsHTML(
$survey->introduction) .
"</p>\n";
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
$method
Pull out a simple reference to the request method.
if(! $user) if(! $response_id) $response