\FormSection
Synopsis
class FormSection
extends Section
{
- // members
- private static string $title = "Page userform";
- private static string $description = "Displays userform from a specified page";
- private static integer $limit = 1;
- private static array $db = ;
- private static array $has_one = ;
- // Inherited members from Section
- protected SectionController $controller;
- public static array $summary_fields;
- public static array $searchable_fields;
- // methods
- public FieldList getCMSFields()
- public void ReferencedPage()
- public void Title()
- public void Content()
- public void Form()
- // Inherited methods from Section
- public FieldList getCMSFields()
- public array providePermissions()
- public boolean canView()
- public boolean canEdit()
- public boolean canDelete()
- public boolean canCreate()
- public void getConfigStyles()
- public static void Type()
- public string Anchor()
- public string AnchorAttr()
- public string Classes()
- public string ClassAttr()
- public void Render()
- public Controller getCurrentPage()
- public void Layout()
- public void getController()
- public void GridFieldRowClasses()
Hierarchy
Extends
Members
private
- $db
—
array
Database fields - $description
- $has_one
—
array
Has_one relationship - $limit
- $title
protected
- $controller — SectionController
public
-
$searchable_fields
Searchable Fields -
$summary_fields
Summary Fields
Methods
public
- Content()
- Form()
- ReferencedPage()
- Title()
- getCMSFields() — CMS Fields
Inherited from Section
public
- Anchor() — Applies anchor to section in template.
- AnchorAttr() — Applies anchor to section in template.
- ClassAttr() — Applies classes to section in template.
- Classes() — Applies classes to section in template.
- GridFieldRowClasses()
- Layout()
- Render()
- Type()
- canCreate() — Creating Permissions
- canDelete() — Deleting Permissions
- canEdit() — Editing Permissions
- canView() — Viewing Permissions
- getCMSFields() — CMS Fields
- getConfigStyles()
- getController()
- getCurrentPage() — Access current page scope from section templates with $CurrentPage
- providePermissions() — Permissions