См. определение в файле googleapipush.php строка 15
◆ checkPushChannel()
checkPushChannel |
( |
int | $lastIdConnection = 0 | ) |
|
|
static |
◆ checkSectionsPush()
checkSectionsPush |
( |
| $localSections, |
|
|
| $userId, |
|
|
| $connectionId ) |
|
static |
◆ clearPushChannels()
Stop all push channels agent Recommended interval - 60 sec. Response from google not required
- Возвращает
- null|string
См. определение в файле googleapipush.php строка 412
◆ createWatchChannels()
createWatchChannels |
( |
| $start = 0 | ) |
|
|
static |
Creates and renew watch channels for connections Recommended interval = 1 hour, for push enable - recommended interval 3 minutes
- Аргументы
-
- Возвращает
- string
См. определение в файле googleapipush.php строка 232
◆ deletePushChannel()
deletePushChannel |
( |
array | $row | ) |
|
|
static |
◆ getConnectionPushByConnectionId()
getConnectionPushByConnectionId |
( |
int | $id | ) |
|
|
static |
- Аргументы
-
- Возвращает
- array|false
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле googleapipush.php строка 873
◆ getPush()
getPush |
( |
string | $type, |
|
|
int | $entityId ) |
|
static |
◆ isAuthError()
isAuthError |
( |
string | $lastResult = null | ) |
|
|
static |
◆ isConnectionError()
isConnectionError |
( |
string | $lastResult = null | ) |
|
|
static |
◆ isSyncTokenExpiresError()
isSyncTokenExpiresError |
( |
string | $lastResult = null | ) |
|
|
static |
◆ isWrongChannel()
isWrongChannel |
( |
string | $error = null | ) |
|
|
static |
◆ processIncomingPush()
processIncomingPush |
( |
string | $entityType, |
|
|
int | $entityId ) |
|
static |
Handles incoming push for entity - runs synchronization for connection or for section
- Аргументы
-
string | $entityType | |
int | $entityId | |
- Возвращает
- void
См. определение в файле googleapipush.php строка 434
◆ processPush()
Agent method. Does nothing, just for compatibility
См. определение в файле googleapipush.php строка 498
◆ receivePushSignal()
receivePushSignal |
( |
| $channelId, |
|
|
| $resourceId ) |
|
static |
◆ renewWatchChannels()
Checks connection and ability to create push channel Recommended agent interval = 4h
См. определение в файле googleapipush.php строка 29
◆ setBlockPush()
setBlockPush |
( |
string | $type, |
|
|
int | $entityId ) |
|
static |
◆ setUnblockPush()
setUnblockPush |
( |
string | $type, |
|
|
int | $entityId ) |
|
static |
◆ setUnprocessedPush()
setUnprocessedPush |
( |
string | $type, |
|
|
int | $entityId ) |
|
static |
◆ stopChannel()
stopChannel |
( |
array | $row = null, |
|
|
| $ownerId = 0 ) |
|
static |
- Аргументы
-
array | null | $row | |
int | $ownerId | |
- Исключения
-
Bitrix\Main\LoaderException
- Исключения
-
CDavArgumentNullException
См. определение в файле googleapipush.php строка 327
◆ TYPE_CONNECTION
const TYPE_CONNECTION = 'CONNECTION' |
◆ TYPE_SECTION
const TYPE_SECTION = 'SECTION' |
Объявления и описания членов класса находятся в файле: