JGoogleDataCalendar::createEvent
Method to create a Google Calendar event
Signature
public function createEvent(string
$calendarID,
[mixed
$start = false,
[mixed
$end = false,
[array
$options = false,
[mixed
$timezone = false,
[boolean
$allday = false,
[boolean
$notify = false]]]]]] )
Parameters
-
$calendarID
- ID of calendar
-
$start
- Event start time
-
$end
- Event end time
-
$options
- New event settings
-
$timezone
- Timezone for event
-
$allday
- Treat event as an all-day event
-
$notify
- Notify participants
Returns
- mixed
- Data from Google.
Errors/Exceptions
-
InvalidArgumentException
-
UnexpectedValueException