\SectionPageExtension
Adds sections to each page.
Synopsis
class SectionPageExtension
extends DataExtension
{
- // members
- private static array $has_one = ;
- private static array $many_many = ;
- private static array $many_many_extraFields = ;
- // methods
- public FieldList updateCMSFields()
- public void onAfterWrite()
- public array AvailableSectionTypes()
- public string LinkURL()
Hierarchy
Extends
- DataExtension
Members
private
- $has_one
—
array
Has_one relationship - $many_many
—
array
Has_many relationship - $many_many_extraFields
Methods
public
- AvailableSectionTypes() — Lists all sections types and their settings relative to the current page type.
- LinkURL() — Used for link section so template does have to check for 2 variables
- onAfterWrite()
- updateCMSFields() — CMS Fields