PHP Class Kronolith_Driver_Mock, horde

Copyright 2011-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.
Author: Gunnar Wrobel ([email protected])
Inheritance: extends Kronolith_Driver
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode Description
listAlarms ( Horde_Date $date, boolean $fullevent = false ) : array List all alarms.

Méthodes protégées

Méthode 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.

Method Details

_listEvents() protected méthode

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)

listAlarms() public méthode

List all alarms.
public listAlarms ( Horde_Date $date, boolean $fullevent = false ) : array
$date Horde_Date The date to list alarms for
$fullevent boolean Return the full event objects?
Résultat array An array of event ids, or Kronolith_Event objects