Method to add a calendar to a user's Google Calendar list
mixed
addCalendar
(string $calendarID, [array $options = array()])
-
string
$calendarID: New calendar ID
-
array
$options: New calendar settings
Method to clear a Google Calendar
boolean
clearCalendar
(string $calendarID)
-
string
$calendarID: ID of calendar to clear
Method to create a Google Calendar
mixed
createCalendar
(string $title, [array $options = array()])
-
string
$title: New calendar title
-
array
$options: New calendar settings
Method to create a Google Calendar event
mixed
createEvent
(string $calendarID, mixed $start, [mixed $end = false], [array $options = array()], [mixed $timezone = false], [boolean $allday = false], [boolean $notify = false])
-
string
$calendarID: ID of calendar
-
mixed
$start: Event start time
-
mixed
$end: Event end time
-
array
$options: New event settings
-
mixed
$timezone: Timezone for event
-
boolean
$allday: Treat event as an all-day event
-
boolean
$notify: Notify participants
Method to delete a calendar from Google
boolean
deleteCalendar
(string $calendarID)
-
string
$calendarID: ID of calendar to delete.
Method to delete an event from a Google Calendar
boolean
deleteEvent
(string $calendarID, string $eventID)
-
string
$calendarID: ID of calendar to delete from
-
string
$eventID: ID of event to delete.
Method to edit a Google Calendar
mixed
editCalendar
(string $calendarID, array $options)
-
string
$calendarID: Calendar ID.
-
array
$options: Calendar settings.
Method to edit a Google Calendar's settings
mixed
editCalendarSettings
(string $calendarID, array $options)
-
string
$calendarID: Calendar ID
-
array
$options: Calendar settings
Method to edit a Google Calendar event
mixed
editEvent
(string $calendarID, string $eventID, array $options, [boolean $notify = false])
-
string
$calendarID: Calendar ID
-
string
$eventID: ID of the event to change
-
array
$options: Event settings
-
boolean
$notify: Notify participants of changes
Method to get a calendar's settings from Google
mixed
getCalendar
(string $calendarID)
-
string
$calendarID: ID of calendar to get.
Method to get an event from a Google Calendar
mixed
getEvent
(string $calendarID, string $eventID, [array $options = array()])
-
string
$calendarID: ID of calendar
-
string
$eventID: ID of event to get
-
array
$options: Options to send to Google
Method to retrieve calendar list from Google
mixed
listCalendars
([array $options = array()], [int $maxpages = 1])
-
array
$options: Search settings
-
int
$maxpages: Maximum number of pages of calendars to return
Method to retrieve a list of events on a Google calendar
mixed
listEvents
(string $calendarID, [array $options = array()], [int $maxpages = 1])
-
string
$calendarID: Calendar ID
-
array
$options: Calendar settings
-
int
$maxpages: Cycle through pages of data to generate a complete list
Method to retrieve a list of events on a Google calendar
mixed
listRecurrences
(string $calendarID, string $eventID, [array $options = array()], [int $maxpages = 1])
-
string
$calendarID: Calendar ID
-
string
$eventID: ID of the event to change
-
array
$options: Search settings
-
int
$maxpages: Minimum number of events to retrieve (more may be retrieved depending on page size)
Method to move an event from one calendar to another
mixed
moveEvent
(string $calendarID, string $eventID, string $destID, [boolean $notify = false])
-
string
$calendarID: Calendar ID
-
string
$eventID: ID of the event to change
-
string
$destID: Calendar ID
-
boolean
$notify: Notify participants of changes
Method to remove a calendar from a user's calendar list
boolean
removeCalendar
(string $calendarID)
-
string
$calendarID: ID of calendar to delete
Inherited Methods
Inherited From JGoogleData
JGoogleData::__construct()
JGoogleData::authenticate()
JGoogleData::getOption()
JGoogleData::isAuthenticated()
JGoogleData::listGetData()
JGoogleData::query()
JGoogleData::safeXML()
JGoogleData::setOption()