\Calendar
Calendar.php - torindul-calendar
Define a page type called Calendar, an extension of , which will show our events.
- Author: George Botley <george@torindul.co.uk>
- Copyright: Copyright © 2014, Torindul Business Solutions
Synopsis
class Calendar
extends Page
{
- // members
- private static string $singular_name = "Calendar Page";
- private static string $plural_name = "Calendar Pages";
- private static string $description = "A calendar page. Permits the management of events.";
- private static string $allowed_children = "none";
- private static string $icon = "torindul-calendar/images/calendar.png";
- private static array $has_many = ;
- private static boolean $can_be_root = true;
- private static boolean $can_create = true;
- // methods
- public void getCMSFields()
Hierarchy
Extends
- Page
Members
private
- $allowed_children
- $can_be_root
- $can_create
- $description
- $has_many
- $icon
- $plural_name
- $singular_name