CWP\CWP\PageTypes\EventPage
Synopsis
class EventPage
extends DatedUpdatePage
{
- // members
- private static string $description = 'Describes an event occurring on a specific date.';
- private static $default_parent = EventHolder::class;
- private static boolean $can_be_root = false;
- private static string $icon_class = 'font-icon-p-event';
- private static string $singular_name = 'Event Page';
- private static string $plural_name = 'Event Pages';
- private static array $db = ;
- private static string $table_name = 'EventPage';
- // methods
- public void fieldLabels()
- public void populateDefaults()
- public void getCMSFields()
- public void NiceLocation()
- // Inherited methods from DatedUpdatePage
- public void populateDefaults()
- public void fieldLabels()
- public void getCMSFields()
Hierarchy
Members
private
- $can_be_root
- $db
- $default_parent
- $description
- $icon_class
- $plural_name
- $singular_name
- $table_name
Methods
public
- NiceLocation()
- fieldLabels()
- getCMSFields()
- populateDefaults() — Add the default for the Date being the current day.
Inherited from CWP\CWP\PageTypes\DatedUpdatePage
public
- fieldLabels()
- getCMSFields()
- populateDefaults() — Add the default for the Date being the current day.