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 |
calendar() → {string}
Returns calendar
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 |
events() → {array}
Returns events array (object)
Returns:
Events
- Type
- array
eventsRaw() → {array}
Returns raw events array (raw)
Returns:
Raw events
- Type
- array