Google Calendars

Instantiate Calendars
$calendars = eden('google')->calendar($_SESSION['token'])->calendars();
Calendars Methods
Method Arguments Returns Description
$calendars->clear($calendarId = self::PRIMARY);
  1. string
  2. - Calendar identifier
null Clears a primary calendar. This operation deletes all data associated with the primary calendar of an account and cannot be undone
$calendars->create($summary);
  1. string*
  2. - Title of the calendar.
array Creates a secondary calendar.
$calendars->delete($calendarid = self::PRIMARY);
  1. string
  2. - Calendar identifier
null Deletes a secondary calendar.
$calendars->getCalendars($calendarId = self::PRIMARY);
  1. string
  2. - Calendar identifier
array Return specific calendar
$calendars->patch($calendarId = self::PRIMARY);
  1. string
  2. - Calendar identifier
array Updates metadata for a calendar. This method supports patch semantics.
$calendars->setDescription($description);
  1. string
Eden_Google_Calendar_Calendars Set default reminders
$calendars->setEtag($etag);
  1. string
Eden_Google_Calendar_Calendars ETag of the resource.
$calendars->setId($id);
  1. string|integer
Eden_Google_Calendar_Calendars Identifier of the calendar.
$calendars->setKind($kind);
  1. string
  2. - Type of the resource ("calendar#calendar").
Eden_Google_Calendar_Calendars Set calendar kind
$calendars->setLocation($location);
  1. string
Eden_Google_Calendar_Calendars Set geographic location of the 8 calendar as free-form text.
$calendars->setSummary($summary);
  1. string
Eden_Google_Calendar_Calendars Set summary
$calendars->setTimeZone($timeZone);
  1. string
  2. - The time zone of the calendar.
Eden_Google_Calendar_Calendars Set time zone
$calendars->update($calendarId = self::PRIMARY);
  1. string
  2. - Calendar identifier
array Update Calendar

© 2012 Openovate Labs. All rights reserved.