8 $ids = checkNumeric($_GET[
"section_content_id"]);
10 $qs =
"section_content_id[]=".implode(
"§ion_content_id[]=", $_GET[
"section_content_id"]);
13 $filter =
new InclusionFilter(
"section_content_id");
38 $filter->add(
"override_page_title");
51 $form =
new AutoForm(
$sectionContent,
"POST",
"/action/section/content_properties?$qs&scope=$scope",
"SectionContent_form");
52 $form->ajaxSubmit(
"function(result) {sectionContentManager.propertiesChanged(result);}",
"function() {document.id('{$form->id}_error').set('text','Failed to communicate with server'); }");
53 $form->button(
"Cancel",
"sectionContentManager.cancel()",
null,
true);
72 $form->submitLabel =
"Update Properties";
100 echo
$form->writeScript();
static usingFeature()
Uses the specified framework feature(s).
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().
static assertRole($role, $redirect="", $message="")
Assert that the user has one of the specified roles.
static createPermissionsFieldRenderer($form, $field, $label="")
static getRolesArray()
Retrieves the array of roles and their names for the current site for use in a CMS form.
$method
Pull out a simple reference to the request method.
foreach($permissions as $p) $permissionsList