|
| | __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 строка 24
◆ __construct()
GoogleApiTransport constructor.
- Аргументы
-
- Исключения
-
| SystemException | |
| ArgumentNullException | |
| LoaderException | |
См. определение в файле googleapitransport.php строка 49
◆ 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 строка 364
◆ getErrors()
◆ getErrorsByCode()
Getting array of errors with the specified code.
- Аргументы
-
| string | $code | Code of error. |
- Возвращает
- array
См. определение в файле googleapitransport.php строка 350
◆ getEvents()
| getEvents |
( |
| $calendarId, |
|
|
| $requestParams = array() ) |
Get Event List from calendar
- Аргументы
-
| $calendarId | |
| string | $syncToken | |
- Возвращает
- array|mixed
См. определение в файле googleapitransport.php строка 325
◆ getInstanceRecurringEvent()
| getInstanceRecurringEvent |
( |
| $calendarId, |
|
|
| $eventId, |
|
|
| $originalStart ) |
getting id of the recurrent event instance
- Аргументы
-
| $calendarId | |
| $eventId | |
| $originalStart | |
- Возвращает
- array|mixed
См. определение в файле googleapitransport.php строка 392
◆ importEvent()
| importEvent |
( |
| $eventData, |
|
|
| $calendarId ) |
◆ insertCalendar()
| insertCalendar |
( |
| $calendarData | ) |
|
Creates local calendar at google calendar
- Аргументы
-
- Возвращает
- array|mixed
См. определение в файле googleapitransport.php строка 410
◆ insertEvent()
| insertEvent |
( |
| $eventData, |
|
|
| $calendarId ) |
◆ multipartDecode()
| multipartDecode |
( |
| $response | ) |
|
◆ openCalendarListChannel()
| openCalendarListChannel |
( |
| $channelInfo | ) |
|
- Аргументы
-
- Возвращает
- array
- Исключения
-
| ArgumentException | |
| ArgumentNullException | |
| ArgumentOutOfRangeException | |
| LoaderException | |
См. определение в файле googleapitransport.php строка 99
◆ openEventsWatchChannel()
| openEventsWatchChannel |
( |
| $calendarId, |
|
|
| $channelInfo ) |
- Аргументы
-
- Возвращает
- array
- Исключения
-
| ArgumentException | |
| ArgumentNullException | |
| ArgumentOutOfRangeException | |
| LoaderException | |
См. определение в файле googleapitransport.php строка 119
◆ patchEvent()
| patchEvent |
( |
| $patchData, |
|
|
| $calendarId, |
|
|
| $eventId ) |
Updates only specified event fields
- Аргументы
-
| $patchData | |
| $calendarId | |
| $eventId | |
- Возвращает
- array|mixed
См. определение в файле googleapitransport.php строка 242
◆ prepareMultipartMixed()
| prepareMultipartMixed |
( |
| $postData, |
|
|
| $calendarId, |
|
|
| $params ) |
|
protected |
Performs multipart/mixed encoding.
- Аргументы
-
| array | $postData | Entity of POST request |
- Возвращает
- string
См. определение в файле googleapitransport.php строка 430
◆ sendBatchEvents()
| sendBatchEvents |
( |
| $body, |
|
|
| $calendarId, |
|
|
| $params ) |
◆ stopChannel()
| stopChannel |
( |
| $channelId, |
|
|
| $resourceId ) |
- Аргументы
-
- Возвращает
- array
- Исключения
-
| ArgumentException | |
| ArgumentNullException | |
| ArgumentOutOfRangeException | |
| LoaderException | |
См. определение в файле googleapitransport.php строка 139
◆ updateCalendar()
| updateCalendar |
( |
string | $calendarId, |
|
|
| $calendarData ) |
- Аргументы
-
| string | $calendarId | |
| $calendarData | |
- Возвращает
- array
- Исключения
-
См. определение в файле googleapitransport.php строка 610
◆ updateCalendarList()
| updateCalendarList |
( |
string | $calendarId, |
|
|
| $calendarData ) |
- Аргументы
-
| string | $calendarId | |
| $calendarData | |
- Возвращает
- array
- Исключения
-
См. определение в файле googleapitransport.php строка 624
◆ updateEvent()
| updateEvent |
( |
| $eventData, |
|
|
| $calendarId, |
|
|
| $eventId ) |
Updates instance for recurring event
- Аргументы
-
| $eventData | |
| $calendarId | |
| $instanceId | |
- Возвращает
- array|mixed
См. определение в файле googleapitransport.php строка 257
◆ $requestLogger
◆ SERVICE_NAME
| const SERVICE_NAME = 'google' |
|
protected |
Объявления и описания членов класса находятся в файле: