PHP 클래스 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.
저자: Gunnar Wrobel ([email protected])
상속: extends Kronolith_Driver
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
listAlarms ( Horde_Date $date, boolean $fullevent = false ) : array List all alarms.

보호된 메소드들

메소드 설명
_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.

메소드 상세

_listEvents() 보호된 메소드

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() 공개 메소드

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?
리턴 array An array of event ids, or Kronolith_Event objects