NZTA\SDLT\Page\HomePage
Class HomePage
Synopsis
class HomePage
extends Page
{
- // members
- private static string $table_name = 'HomePage';
- // methods
- public string getControllerName()
- public boolean canCreate()
- public void requireDefaultRecords()
Hierarchy
Extends
- Page
Members
private
- $table_name — string
Methods
public
- canCreate() — Ensure that only a single home is able to be created in the CMS
- getControllerName()
- requireDefaultRecords() — Add default records to database.