\ModularPage
Class ModularPage.
Synopsis
class ModularPage
extends Page
{
- // members
- private static array $db = ;
- private static array $has_many = ;
- public static array $allowed_modules = ;
- // methods
- public FieldList getCMSFields()
- public void onBeforeWrite()
- public static array getAllowedModules()
Hierarchy
Extends
- Page
Members
private
- $db — array
- $has_many — array
public
- $allowed_modules — array
Methods
public
- getAllowedModules() — Build the list of allowed modules for this page type.
- getCMSFields()
- onBeforeWrite() — Iterate through all the modules and add their content to the parent page, so it can be found in searches.