\PageModuleSubclass1
Synopsis
class PageModuleSubclass1
extends PageModule
{
- // Inherited members from PageModule
- public static string $label;
- public static string $description;
- public static string $category;
- // Inherited methods from PageModule
- public RequiredFields getCMSValidator()
- public FieldList getCMSFields()
- public string Content()
- public string Link()
- public void onBeforeWrite()
- protected void onAfterDelete()
- public string getSearchBody()
- public string getSummaryContent()
Hierarchy
Extends
Members
public
- $category
- $description
- $label
Methods
Inherited from PageModule
protected
- onAfterDelete() — Remove the live stage on delete, otherwise content is orphaned in live and cannot be removed.
public
- Content()
- Link() — Gets the page link for the parent page.
- getCMSFields()
- getCMSValidator()
- getSearchBody() — Hook to supply module text content to the parent page element for indexing in searches.
- getSummaryContent()
- onBeforeWrite() — Where the magic happens. Convert the module from the default base class to the chosen type.