56 $form->required(
"title");
57 $form->hide(
"composite_class");
58 $form->unique(
"title",
"A questionnaire already exists with that title. Please choose a different title.");
62 $form->allowDelete =
true;
72 $tabs->queryString =
"questionnaire_id={$form->data->questionnaire_id}";
77 $styles .=
"<link href=\"/templates/css/tabs.css\" rel=\"stylesheet\"/>";
83 <div
style=
"clear:left;border:solid 1px #000; padding: 4px;">
92 $mgr->deleteQuestionnaire();
93 redirect(
"questionnaire_dashboard");
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($questionnaire_id) $form
if($method=="POST") $styles
onDeleteCascade(&$questionnaire)
if($questionnaire->isEditable()) $tabs