Bitrix API

GoogleApiTransport

FinalYes

Class GoogleApiTransport

Table of Contents

Methods

__construct()  : mixed
GoogleApiTransport constructor.
deleteCalendar()  : array<string|int, mixed>
deleteEvent()  : array<string|int, mixed>|mixed
Deletes event from google calendar
getCalendarList()  : array<string|int, mixed>
getColors()  : array<string|int, mixed>|mixed
get google calendar color codes
getErrorByCode()  : array<string|int, mixed>
Getting once error with the specified code.
getErrors()  : array<string|int, mixed>
Getting array of errors.
getErrorsByCode()  : array<string|int, mixed>
Getting array of errors with the specified code.
getEvents()  : array<string|int, mixed>|mixed
Get Event List from calendar
getInstanceRecurringEvent()  : array<string|int, mixed>|mixed
getting id of the recurrent event instance
importEvent()  : array<string|int, mixed>|mixed
Creates event at google calendar
insertCalendar()  : array<string|int, mixed>|mixed
Creates local calendar at google calendar
insertEvent()  : array<string|int, mixed>|mixed
Creates event at google calendar
multipartDecode()  : array<string|int, mixed>
openCalendarListChannel()  : array<string|int, mixed>
openEventsWatchChannel()  : array<string|int, mixed>
patchEvent()  : array<string|int, mixed>|mixed
Updates only specified event fields
sendBatchEvents()  : mixed
stopChannel()  : array<string|int, mixed>
updateCalendar()  : array<string|int, mixed>
updateCalendarList()  : array<string|int, mixed>
updateEvent()  : array<string|int, mixed>|mixed
Updates instance for recurring event

Methods

__construct()

GoogleApiTransport constructor.

public __construct(int $userId) : mixed
Parameters
$userId : int
Tags
throws
SystemException
throws
ArgumentNullException
throws
LoaderException

deleteCalendar()

public deleteCalendar(string $calendarId) : array<string|int, mixed>
Parameters
$calendarId : string
Tags
throws
ArgumentException
Return values
array<string|int, mixed>

deleteEvent()

Deletes event from google calendar

public deleteEvent(mixed $eventId, mixed $calendarId) : array<string|int, mixed>|mixed
Parameters
$eventId : mixed
$calendarId : mixed
Return values
array<string|int, mixed>|mixed

getCalendarList()

public getCalendarList([array<string|int, mixed> $requestParameters = null ]) : array<string|int, mixed>
Parameters
$requestParameters : array<string|int, mixed> = null
Tags
throws
ArgumentException
Return values
array<string|int, mixed>

getColors()

get google calendar color codes

public getColors() : array<string|int, mixed>|mixed
Return values
array<string|int, mixed>|mixed

getErrorByCode()

Getting once error with the specified code.

public getErrorByCode(string $code) : array<string|int, mixed>
Parameters
$code : string

Code of error.

Return values
array<string|int, mixed>

getErrors()

Getting array of errors.

public getErrors() : array<string|int, mixed>
Return values
array<string|int, mixed>

getErrorsByCode()

Getting array of errors with the specified code.

public getErrorsByCode(string $code) : array<string|int, mixed>
Parameters
$code : string

Code of error.

Return values
array<string|int, mixed>

getEvents()

Get Event List from calendar

public getEvents(mixed $calendarId[, mixed $requestParams = array() ]) : array<string|int, mixed>|mixed
Parameters
$calendarId : mixed
$requestParams : mixed = array()
Return values
array<string|int, mixed>|mixed

getInstanceRecurringEvent()

getting id of the recurrent event instance

public getInstanceRecurringEvent(mixed $calendarId, mixed $eventId, mixed $originalStart) : array<string|int, mixed>|mixed
Parameters
$calendarId : mixed
$eventId : mixed
$originalStart : mixed
Return values
array<string|int, mixed>|mixed

importEvent()

Creates event at google calendar

public importEvent(mixed $eventData, mixed $calendarId) : array<string|int, mixed>|mixed
Parameters
$eventData : mixed
$calendarId : mixed
Return values
array<string|int, mixed>|mixed

insertCalendar()

Creates local calendar at google calendar

public insertCalendar(mixed $calendarData) : array<string|int, mixed>|mixed
Parameters
$calendarData : mixed
Return values
array<string|int, mixed>|mixed

insertEvent()

Creates event at google calendar

public insertEvent(mixed $eventData, mixed $calendarId) : array<string|int, mixed>|mixed
Parameters
$eventData : mixed
$calendarId : mixed
Return values
array<string|int, mixed>|mixed

multipartDecode()

public multipartDecode(mixed $response) : array<string|int, mixed>
Parameters
$response : mixed
Tags
throws
ArgumentException
Return values
array<string|int, mixed>

openCalendarListChannel()

public openCalendarListChannel(mixed $channelInfo) : array<string|int, mixed>
Parameters
$channelInfo : mixed
Tags
throws
ArgumentException
throws
ArgumentNullException
throws
ArgumentOutOfRangeException
throws
LoaderException
Return values
array<string|int, mixed>

openEventsWatchChannel()

public openEventsWatchChannel(mixed $calendarId, mixed $channelInfo) : array<string|int, mixed>
Parameters
$calendarId : mixed
$channelInfo : mixed
Tags
throws
ArgumentException
throws
ArgumentNullException
throws
ArgumentOutOfRangeException
throws
LoaderException
Return values
array<string|int, mixed>

patchEvent()

Updates only specified event fields

public patchEvent(mixed $patchData, mixed $calendarId, mixed $eventId) : array<string|int, mixed>|mixed
Parameters
$patchData : mixed
$calendarId : mixed
$eventId : mixed
Return values
array<string|int, mixed>|mixed

sendBatchEvents()

public sendBatchEvents(mixed $body, mixed $calendarId, mixed $params) : mixed
Parameters
$body : mixed
$calendarId : mixed
$params : mixed

stopChannel()

public stopChannel(mixed $channelId, mixed $resourceId) : array<string|int, mixed>
Parameters
$channelId : mixed
$resourceId : mixed
Tags
throws
ArgumentException
throws
ArgumentNullException
throws
ArgumentOutOfRangeException
throws
LoaderException
Return values
array<string|int, mixed>

updateCalendar()

public updateCalendar(string $calendarId, mixed $calendarData) : array<string|int, mixed>
Parameters
$calendarId : string
$calendarData : mixed
Tags
throws
ArgumentException
Return values
array<string|int, mixed>

updateCalendarList()

public updateCalendarList(string $calendarId, mixed $calendarData) : array<string|int, mixed>
Parameters
$calendarId : string
$calendarData : mixed
Tags
throws
ArgumentException
Return values
array<string|int, mixed>

updateEvent()

Updates instance for recurring event

public updateEvent(mixed $eventData, mixed $calendarId, mixed $eventId) : array<string|int, mixed>|mixed
Parameters
$eventData : mixed
$calendarId : mixed
$eventId : mixed
Return values
array<string|int, mixed>|mixed

        
On this page

Search results