47 $token = ConnectionManager::escape($_GET[
"token"]);
48 $msg = checkNumeric($_GET[
"msg"]);
63 $page->page_title =
"{$survey->title}";
70 echo
$survey->format(
"<p>{title} closed on {end_date:F d, Y}</p>");
74 echo
"<p>You have already submitted your survey.</p>\n";
78 echo
"<p>" . formatAsHTML(
$survey->introduction) .
"</p>\n";
79 echo
"<p><a href=\"#\" onclick=\"questionnaireMgr.showResponseTokenDialog(); return false;\">{$survey->title}</a></p>\n";
static using()
Import the datamodels, views and manifest for the specified component(s).
static findResponseByToken($survey_id, $token)
static create($survey_id)
For response intro page, need to create a default instance of response manager.
if(! $user) if(! $response_id) $response
if($survey_id && $token) $survey