XD\Events\Model\EventsPage
Class EventsPage
- Author: Bram de Leeuw
Synopsis
class EventsPage
extends Page
{
- // members
- private static string $table_name = 'EventsPage';
- private static array $db = ;
- private static array $defaults = ;
- private static array $allowed_children = ;
- private static string $description = 'Add events to your website.';
- private static string $icon = 'xddesigners/silverstripe-events:client/images/calendar.svg';
- // methods
- public void getSettingsFields()
- public DataList getUpcomingEvents()
Hierarchy
Extends
- Page
Members
private
- $allowed_children
- $db
- $defaults
- $description
- $icon
- $table_name
Methods
public
- getSettingsFields()
- getUpcomingEvents() — Get the upcoming events