|
| __construct ($userId) |
|
| openCalendarListChannel ($channelInfo) |
|
| openEventsWatchChannel ($calendarId, $channelInfo) |
|
| stopChannel ($channelId, $resourceId) |
|
| deleteEvent ($eventId, $calendarId) |
|
| patchEvent ($patchData, $calendarId, $eventId) |
|
| updateEvent ($eventData, $calendarId, $eventId) |
|
| insertEvent ($eventData, $calendarId) |
|
| importEvent ($eventData, $calendarId) |
|
| getCalendarList (array $requestParameters=null) |
|
| getColors () |
|
| getEvents ($calendarId, $requestParams=array()) |
|
| getErrors () |
|
| getErrorsByCode ($code) |
|
| getErrorByCode ($code) |
|
| getInstanceRecurringEvent ($calendarId, $eventId, $originalStart) |
|
| insertCalendar ($calendarData) |
|
| sendBatchEvents ($body, $calendarId, $params) |
|
| multipartDecode ($response) |
|
| deleteCalendar (string $calendarId) |
|
| updateCalendar (string $calendarId, $calendarData) |
|
| updateCalendarList (string $calendarId, $calendarData) |
|
См. определение в файле googleapitransport.php строка 23
◆ __construct()
GoogleApiTransport constructor.
- Аргументы
-
- Исключения
-
SystemException | |
ArgumentNullException | |
LoaderException | |
См. определение в файле googleapitransport.php строка 48
◆ deleteCalendar()
deleteCalendar |
( |
string |
$calendarId | ) |
|
◆ deleteEvent()
deleteEvent |
( |
|
$eventId, |
|
|
|
$calendarId |
|
) |
| |
◆ getCalendarList()
getCalendarList |
( |
array |
$requestParameters = null | ) |
|
◆ getColors()
◆ getErrorByCode()
Getting once error with the specified code.
- Аргументы
-
string | $code | Code of error. |
- Возвращает
- array
См. определение в файле googleapitransport.php строка 363
◆ getErrors()
◆ getErrorsByCode()
Getting array of errors with the specified code.
- Аргументы
-
string | $code | Code of error. |
- Возвращает
- array
См. определение в файле googleapitransport.php строка 349
◆ getEvents()
getEvents |
( |
|
$calendarId, |
|
|
|
$requestParams = array() |
|
) |
| |
Get Event List from calendar
- Аргументы
-
| $calendarId | |
string | $syncToken | |
- Возвращает
- array|mixed
См. определение в файле googleapitransport.php строка 324
◆ getInstanceRecurringEvent()
getInstanceRecurringEvent |
( |
|
$calendarId, |
|
|
|
$eventId, |
|
|
|
$originalStart |
|
) |
| |
getting id of the recurrent event instance
- Аргументы
-
$calendarId | |
$eventId | |
$originalStart | |
- Возвращает
- array|mixed
См. определение в файле googleapitransport.php строка 391
◆ importEvent()
importEvent |
( |
|
$eventData, |
|
|
|
$calendarId |
|
) |
| |
◆ insertCalendar()
insertCalendar |
( |
|
$calendarData | ) |
|
Creates local calendar at google calendar
- Аргументы
-
- Возвращает
- array|mixed
См. определение в файле googleapitransport.php строка 409
◆ insertEvent()
insertEvent |
( |
|
$eventData, |
|
|
|
$calendarId |
|
) |
| |
◆ multipartDecode()
multipartDecode |
( |
|
$response | ) |
|
◆ openCalendarListChannel()
openCalendarListChannel |
( |
|
$channelInfo | ) |
|
- Аргументы
-
- Возвращает
- array
- Исключения
-
ArgumentException | |
ArgumentNullException | |
ArgumentOutOfRangeException | |
LoaderException | |
См. определение в файле googleapitransport.php строка 98
◆ openEventsWatchChannel()
openEventsWatchChannel |
( |
|
$calendarId, |
|
|
|
$channelInfo |
|
) |
| |
- Аргументы
-
- Возвращает
- array
- Исключения
-
ArgumentException | |
ArgumentNullException | |
ArgumentOutOfRangeException | |
LoaderException | |
См. определение в файле googleapitransport.php строка 118
◆ patchEvent()
patchEvent |
( |
|
$patchData, |
|
|
|
$calendarId, |
|
|
|
$eventId |
|
) |
| |
Updates only specified event fields
- Аргументы
-
$patchData | |
$calendarId | |
$eventId | |
- Возвращает
- array|mixed
См. определение в файле googleapitransport.php строка 241
◆ prepareMultipartMixed()
prepareMultipartMixed |
( |
|
$postData, |
|
|
|
$calendarId, |
|
|
|
$params |
|
) |
| |
|
protected |
Performs multipart/mixed encoding.
- Аргументы
-
array | $postData | Entity of POST request |
- Возвращает
- string
См. определение в файле googleapitransport.php строка 429
◆ sendBatchEvents()
sendBatchEvents |
( |
|
$body, |
|
|
|
$calendarId, |
|
|
|
$params |
|
) |
| |
◆ stopChannel()
stopChannel |
( |
|
$channelId, |
|
|
|
$resourceId |
|
) |
| |
- Аргументы
-
- Возвращает
- array
- Исключения
-
ArgumentException | |
ArgumentNullException | |
ArgumentOutOfRangeException | |
LoaderException | |
См. определение в файле googleapitransport.php строка 138
◆ updateCalendar()
updateCalendar |
( |
string |
$calendarId, |
|
|
|
$calendarData |
|
) |
| |
- Аргументы
-
string | $calendarId | |
| $calendarData | |
- Возвращает
- array
- Исключения
-
См. определение в файле googleapitransport.php строка 613
◆ updateCalendarList()
updateCalendarList |
( |
string |
$calendarId, |
|
|
|
$calendarData |
|
) |
| |
- Аргументы
-
string | $calendarId | |
| $calendarData | |
- Возвращает
- array
- Исключения
-
См. определение в файле googleapitransport.php строка 627
◆ updateEvent()
updateEvent |
( |
|
$eventData, |
|
|
|
$calendarId, |
|
|
|
$eventId |
|
) |
| |
Updates instance for recurring event
- Аргументы
-
$eventData | |
$calendarId | |
$instanceId | |
- Возвращает
- array|mixed
См. определение в файле googleapitransport.php строка 256
◆ $requestLogger
◆ SERVICE_NAME
const SERVICE_NAME = 'google' |
|
protected |