17 $form =
new AutoForm(
$snippet,
"POST",
"/action/html_editor/snippet_form?snippet_id={$snippet_id}");
18 $form->ajaxSubmit(
"function(result) { new SnippetManager().snippetSaved(result); }");
19 $form->required(
"snippet_name",
"description");
20 $form->hide(
"user_id");
static using()
Import the datamodels, views and manifest for the specified component(s).
static end($message="")
Use this method to terminate execution of a script instead of using the php keywords exit() or die().
$method
Pull out a simple reference to the request method.