См. определение в файле googleapipush.php строка 15
◆ checkPushChannel()
static checkPushChannel |
( |
int | $lastIdConnection = 0 | ) |
|
|
static |
◆ checkSectionsPush()
static checkSectionsPush |
( |
| $localSections, |
|
|
| $userId, |
|
|
| $connectionId ) |
|
static |
◆ clearPushChannels()
static clearPushChannels |
( |
| ) |
|
|
static |
Stop all push channels agent Recommended interval - 60 sec. Response from google not required
- Возвращает
- null|string
См. определение в файле googleapipush.php строка 412
◆ createWatchChannels()
static 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()
static deletePushChannel |
( |
array | $row | ) |
|
|
static |
◆ getConnectionPushByConnectionId()
static getConnectionPushByConnectionId |
( |
int | $id | ) |
|
|
static |
- Аргументы
-
- Возвращает
- array|false
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле googleapipush.php строка 902
◆ getPush()
static getPush |
( |
string | $type, |
|
|
int | $entityId ) |
|
static |
◆ isAuthError()
static isAuthError |
( |
string | $lastResult = null | ) |
|
|
static |
◆ isConnectionError()
static isConnectionError |
( |
string | $lastResult = null | ) |
|
|
static |
◆ isSyncTokenExpiresError()
static isSyncTokenExpiresError |
( |
string | $lastResult = null | ) |
|
|
static |
◆ isWrongChannel()
static isWrongChannel |
( |
string | $error = null | ) |
|
|
static |
◆ processIncomingPush()
static 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()
static receivePushSignal |
( |
| $channelId, |
|
|
| $resourceId ) |
|
static |
◆ renewWatchChannels()
static renewWatchChannels |
( |
| ) |
|
|
static |
Checks connection and ability to create push channel Recommended agent interval = 4h
См. определение в файле googleapipush.php строка 29
◆ setBlockPush()
static setBlockPush |
( |
string | $type, |
|
|
int | $entityId ) |
|
static |
◆ setUnblockPush()
static setUnblockPush |
( |
string | $type, |
|
|
int | $entityId ) |
|
static |
◆ setUnprocessedPush()
static setUnprocessedPush |
( |
string | $type, |
|
|
int | $entityId ) |
|
static |
◆ stopChannel()
static 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' |