|
1C-Bitrix 25.700.0
|
Открытые члены | |
| __construct ($userId=0, $connectionId=0) | |
| stopChannel ($channelId, $resourceId) | |
| startWatchCalendarList ($name) | |
| startWatchEventsChannel ($calendarId='primary') | |
| testConnection () | |
| getTransportErrors () | |
| getTransportConnectionError () | |
| getCalendarItems (string $syncToken=null) | |
| getNextSyncToken () | |
| getEvents (array $calendarData) | |
| getPrimaryId () | |
| deleteEvent ($eventId, $calendarId) | |
| saveEvent ($eventData, $calendarId, $parameters=[]) | |
| saveBatchEvents (array $events, string $gApiCalendarId, array $params) | |
| updateLastResultConnection (string $lastResult) | |
| updateSuccessLastResultConnection () | |
| createCalendar ($calendar) | |
| hasMoreEvents () | |
| deleteCalendar (string $gApiCalendarId) | |
| updateCalendar (string $gApiCalendarId, array $calendarData) | |
| updateCalendarList (string $gApiCalendarId, array $section) | |
| getNextPageToken () | |
Открытые статические члены | |
| static | getChannelOwner (string $channelId=null) |
Поля данных | |
| const | MAXIMUM_CONNECTIONS_TO_SYNC = 3 |
| const | ONE_DAY = 86400 |
| const | CHANNEL_EXPIRATION = 604800 |
| const | CONNECTION_CHANNEL_TYPE = 'BX_CONNECTION' |
| const | SECTION_CHANNEL_TYPE = 'BX_SECTION' |
| const | SECTION_CONNECTION_CHANNEL_TYPE = 'SECTION_CONNECTION' |
| const | SYNC_EVENTS_LIMIT = 50 |
| const | SYNC_EVENTS_DATE_INTERVAL = '-1 months' |
| const | DEFAULT_TIMEZONE = 'UTC' |
| const | DATE_TIME_FORMAT = 'Y-m-d\TH:i:sP' |
| const | END_OF_DATE = "01.01.2038" |
| const | EXTERNAL_LINK = 'https://www.bitrix24.com/controller/google_calendar_push.php?target_host=' |
См. определение в файле googleapisync.php строка 23
| __construct | ( | $userId = 0, | |
| $connectionId = 0 ) |
GoogleApiSync constructor.
| int | $userId | |
| int | $connectionId |
См. определение в файле googleapisync.php строка 70
| createCalendar | ( | $calendar | ) |
| deleteCalendar | ( | string | $gApiCalendarId | ) |
| string | $gApiCalendarId |
Bitrix\Main\ArgumentException
См. определение в файле googleapisync.php строка 1249
| deleteEvent | ( | $eventId, | |
| $calendarId ) |
Delete event from specified google calendar
| $eventId | |
| $calendarId |
См. определение в файле googleapisync.php строка 389
| getCalendarItems | ( | string | $syncToken = null | ) |
get calendar list from google
Bitrix\Main\ArgumentException
См. определение в файле googleapisync.php строка 297
|
static |
| string | null | $channelId |
См. определение в файле googleapisync.php строка 961
| getEvents | ( | array | $calendarData | ) |
get google calendar events list. By default selecting primary calendar
| array | $calendarData |
См. определение в файле googleapisync.php строка 337
| getNextPageToken | ( | ) |
См. определение в файле googleapisync.php строка 1315
| getNextSyncToken | ( | ) |
См. определение в файле googleapisync.php строка 326
| getPrimaryId | ( | ) |
get id of Primary (main) calendar
См. определение в файле googleapisync.php строка 356
| getTransportConnectionError | ( | ) |
Returns connection error code in message;
См. определение в файле googleapisync.php строка 280
| getTransportErrors | ( | ) |
Check if errors from transport exists
См. определение в файле googleapisync.php строка 199
| hasMoreEvents | ( | ) |
См. определение в файле googleapisync.php строка 977
| array | $events | |
| string | $gApiCalendarId | |
| array | $params |
Bitrix\Main\ArgumentException
См. определение в файле googleapisync.php строка 437
| saveEvent | ( | $eventData, | |
| $calendarId, | |||
| $parameters = [] ) |
| $eventData | ||
| $calendarId | ||
| array | $parameters |
Bitrix\Main\ObjectException
См. определение в файле googleapisync.php строка 401
| startWatchCalendarList | ( | $name | ) |
Creates watch channel for connection
| $name |
Bitrix\Main\ArgumentException
См. определение в файле googleapisync.php строка 107
| startWatchEventsChannel | ( | $calendarId = 'primary' | ) |
Creates watch channel for new events
| string | $calendarId |
См. определение в файле googleapisync.php строка 160
| stopChannel | ( | $channelId, | |
| $resourceId ) |
Closes watch channel and asking google to stop pushes
| $channelId | |
| $resourceId |
См. определение в файле googleapisync.php строка 87
| testConnection | ( | ) |
Test ability to establish google api connection
См. определение в файле googleapisync.php строка 185
| updateCalendar | ( | string | $gApiCalendarId, |
| array | $calendarData ) |
| string | $gApiCalendarId | |
| array | $calendarData |
Bitrix\Main\ArgumentException
См. определение в файле googleapisync.php строка 1276
| updateCalendarList | ( | string | $gApiCalendarId, |
| array | $section ) |
| string | $gApiCalendarId | |
| array | $section |
Bitrix\Main\ArgumentException
См. определение в файле googleapisync.php строка 1287
| updateLastResultConnection | ( | string | $lastResult | ) |
См. определение в файле googleapisync.php строка 466
| updateSuccessLastResultConnection | ( | ) |
См. определение в файле googleapisync.php строка 477
| const CHANNEL_EXPIRATION = 604800 |
См. определение в файле googleapisync.php строка 27
| const CONNECTION_CHANNEL_TYPE = 'BX_CONNECTION' |
См. определение в файле googleapisync.php строка 28
| const DATE_TIME_FORMAT = 'Y-m-d\TH:i:sP' |
См. определение в файле googleapisync.php строка 34
| const DEFAULT_TIMEZONE = 'UTC' |
См. определение в файле googleapisync.php строка 33
| const END_OF_DATE = "01.01.2038" |
См. определение в файле googleapisync.php строка 35
| const EXTERNAL_LINK = 'https://www.bitrix24.com/controller/google_calendar_push.php?target_host=' |
См. определение в файле googleapisync.php строка 36
| const MAXIMUM_CONNECTIONS_TO_SYNC = 3 |
См. определение в файле googleapisync.php строка 25
| const ONE_DAY = 86400 |
См. определение в файле googleapisync.php строка 26
| const SECTION_CHANNEL_TYPE = 'BX_SECTION' |
См. определение в файле googleapisync.php строка 29
| const SECTION_CONNECTION_CHANNEL_TYPE = 'SECTION_CONNECTION' |
См. определение в файле googleapisync.php строка 30
| const SYNC_EVENTS_DATE_INTERVAL = '-1 months' |
См. определение в файле googleapisync.php строка 32
| const SYNC_EVENTS_LIMIT = 50 |
См. определение в файле googleapisync.php строка 31