\HomePage
Creates a home page type
Synopsis
class HomePage
extends GeneralPage
{
- // members
- private static string $singular_name = 'Home page';
- private static string $plural_name = 'Home pages';
- private static string $description = 'Home page';
- // Inherited methods from Page
- public array providePermissions()
- public boolean canEdit()
- public boolean canDelete()
- public boolean canCreate()
Hierarchy
Extends
Members
private
- $description
—
string
Page type description for CMS - $plural_name
—
string
Plural name for CMS - $singular_name
—
string
Singular name for CMS
Methods
Inherited from Page
public
- canCreate() — DataObject create permissions
- canDelete() — DataObject delete permissions
- canEdit() — DataObject edit permissions
- providePermissions() — Return a map of permission codes to add to the dropdown shown in the Security section of the CMS