PHP Class Kronolith_Driver_Holidays, horde

Copyright 2006-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
See also: http://pear.php.net/packages/Date_Holidays
Author: Stephan Hohmann ([email protected])
Inheritance: extends Kronolith_Driver
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
getEvent ( $eventId = null )
listAlarms ( $date, $fullevent = false )

Protected Methods

Method Description
_listEvents ( Horde_Date $startDate = null, Horde_Date $endDate = null, array $options = [] ) Lists all events in the time range, optionally restricting results to only events with alarms.

Private Methods

Method Description
_getEvents ( $dh, $startDate, $endDate )

Method Details

_listEvents() protected method

Lists all events in the time range, optionally restricting results to only events with alarms.
protected _listEvents ( Horde_Date $startDate = null, Horde_Date $endDate = null, array $options = [] )
$startDate Horde_Date The start of range date.
$endDate Horde_Date The end of date range.
$options array Additional options: - show_recurrence: (boolean) Return every instance of a recurring event? DEFAULT: false (Only return recurring events once inside $startDate - $endDate range) - has_alarm: (boolean) Only return events with alarms. DEFAULT: false (Return all events) - json: (boolean) Store the results of the event's toJson() method? DEFAULT: false - cover_dates: (boolean) Add the events to all days that they cover? DEFAULT: true - hide_exceptions: (boolean) Hide events that represent exceptions to a recurring event. DEFAULT: false (Do not hide exception events) - fetch_tags: (boolean) Fetch tags for all events. DEFAULT: false (Do not fetch event tags)

getEvent() public method

public getEvent ( $eventId = null )

listAlarms() public method

public listAlarms ( $date, $fullevent = false )