\EventPage
An news article page type that adds event date and location fields, intended to represent an article that describes a physical event or meeting.
- Author: scienceninjas@silverstripe.com
- License: BSD License (http://silverstripe.org/bsd-license/)
Synopsis
class EventPage
extends NewsPage
{
- // members
- private static string $description = 'A news article with event fields';
- private static string $default_parent = 'NewsHolderPage';
- private static boolean $can_be_root = false;
- private static string $icon = 'datedupdates/images/icons/sitetree_images/flag.png';
- public string $pageIcon = 'datedupdates/images/icons/sitetree_images/flag.png';
- private static array $db = ;
- // Inherited members from NewsPage
- public string $pageIcon;
- // methods
- public void fieldLabels()
- public void getCMSFields()
- // Inherited methods from NewsPage
- public void fieldLabels()
- public void getCMSFields()
- // Inherited methods from DatedUpdatePage
- public array summaryFields()
- public void populateDefaults()
- public array|string fieldLabels()
- public FieldList getCMSFields()
Hierarchy
Extends
Members
private
- $can_be_root
- $db
- $default_parent
- $description
- $icon
public
- $pageIcon
- $pageIcon
Methods
public
Inherited from NewsPage
public
Inherited from DatedUpdatePage
public
- fieldLabels()
- getCMSFields()
- populateDefaults() — Add the default for the Date being the current day.
- summaryFields()