\YearCalendarPage
Class YearCalendarPage
Synopsis
class YearCalendarPage
extends Page
{
- // members
- protected $month;
- protected $year;
- protected $archive;
- private static array $db = ;
- private static array $many_many = ;
- protected static bool $frontendLoaded = false;
- // methods
- public void getCMSFields()
- public ArrayData YearCalendarItems()
- public mixed YearCalendarList()
- public mixed Holidays()
- public void setDate()
- public void setArchive()
- public string getArchive()
Hierarchy
Extends
- Page
Members
private
- $db
- $many_many
protected
- $archive
—
string
Current archive - $frontendLoaded
—
bool
Flag: are the front-end scripts loaded - $month
—
string
Current month - $year
—
string
Current year
Methods
public
- Holidays() — Retrieve everything marked as a holiday
- YearCalendarItems() — Retrieve all YearCalendarItems as a calendar
- YearCalendarList() — Retrieve all YearCalendarItems in a list
- getArchive() — Retrieve the current archive
- getCMSFields()
- setArchive() — Set the current archive
- setDate() — Set the current date