CWP\CWP\PageTypes\BaseHomePage
BaseHomePage** is the basic home page.
By default it is hidden from the CMS - we rely on developers creating their own
`HomePage` class in the `mysite/code` which will extend from the **BaseHomePage**.
Synopsis
class BaseHomePage
extends Page
{
- // members
- private static string $icon_class = 'font-icon-p-home';
- private static $hide_ancestor = BaseHomePage::class;
- private static string $singular_name = 'Home Page';
- private static string $plural_name = 'Home Pages';
- private static string $table_name = 'BaseHomePage';
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- // methods
- public void Quicklinks()
- public void getCMSFields()
Hierarchy
Extends
- Page
Members
private
- $db
- $has_many
- $has_one
- $hide_ancestor
- $icon_class
- $plural_name
- $singular_name
- $table_name