CMS  Version 3.9
content_properties_json.inc File Reference

Go to the source code of this file.

Variables

 $sectionContent = new SectionContent()
 
 $form = new AutoForm($sectionContent, "POST", "/action/section/content_properties_json?save=1", "SectionContent_form")
 
$form customSaveHandler
 
 $templateSelect = new TemplateSelectFieldRenderer($form, "template", "Template", "none")
 
 $roleList = new CheckListFieldRenderer($form, "role", "Role", SiteRole::getRolesArray())
 
 $permissionsList = Settings::createPermissionsFieldRenderer($form, "permissions", "Permissions")
 
$form submitLabel = "Update Properties"
 
 if ( $method=="POST")
 

Variable Documentation

◆ $form

$form = new AutoForm($sectionContent, "POST", "/action/section/content_properties_json?save=1", "SectionContent_form")

Definition at line 10 of file content_properties_json.inc.

◆ $permissionsList

$permissionsList = Settings::createPermissionsFieldRenderer($form, "permissions", "Permissions")

Definition at line 24 of file content_properties_json.inc.

◆ $roleList

$roleList = new CheckListFieldRenderer($form, "role", "Role", SiteRole::getRolesArray())

Definition at line 23 of file content_properties_json.inc.

◆ $sectionContent

$sectionContent = new SectionContent()

Definition at line 7 of file content_properties_json.inc.

◆ $templateSelect

$templateSelect = new TemplateSelectFieldRenderer($form, "template", "Template", "none")

Definition at line 22 of file content_properties_json.inc.

◆ customSaveHandler

$form customSaveHandler
Initial value:
= function($form)
{
return true;
}

Definition at line 16 of file content_properties_json.inc.

◆ if

if($method=="POST") (   $method = = "POST")

Definition at line 29 of file content_properties_json.inc.

◆ submitLabel

$form submitLabel = "Update Properties"

Definition at line 27 of file content_properties_json.inc.