Global

Methods

addEvent(subject, description, location, begin, stop, uidopt)

Add event to the calendar
Parameters:
Name Type Attributes Default Description
subject string Subject/Title of event
description string Description of event
location string Location of event
begin string Beginning date of event
stop string Ending date of event
uid string <optional>
UID(21) Unique identifier of event, leave null for normal behaviour
Source:

calendar() → {string}

Returns calendar
Source:
Returns:
Calendar in iCalendar format
Type
string

download(filenameopt, extopt, dlhopt)

Download calendar using dlh.php
Parameters:
Name Type Attributes Default Description
filename string <optional>
calendar Filename
ext string <optional>
js Extention
dlh string <optional>
./dlh.php Path to the dlh.php file
Source:

events() → {array}

Returns events array (object)
Source:
Returns:
Events
Type
array

eventsRaw() → {array}

Returns raw events array (raw)
Source:
Returns:
Raw events
Type
array