|
static | GetNewChannelId ($suffix='') |
static | GetNewChannelIdByTag (string $tag, string $suffix='') |
static | GetChannelShared ($channelType=self::TYPE_SHARED, $cache=true, $reOpen=false) |
static | GetShared ($cache=true, $reOpen=false, $channelType=self::TYPE_SHARED) |
static | GetChannel ($userId, $channelType=self::TYPE_PRIVATE, $cache=true, $reOpen=false) |
static | Get (int $userId, $cache=true, $reOpen=false, $channelType=self::TYPE_PRIVATE) |
static | SignChannel ($channelId) |
static | SignPublicChannel ($channelId) |
static | GetPublicSignature ($value) |
static | GetSignature ($value, $signatureKey=null) |
static | Add (int $userId, string $channelId, string $publicChannelId, string $channelType=self::TYPE_PRIVATE) |
static | Delete ($channelId) |
static | DeleteByUser ($userId, $channelId=null, $channelType=self::TYPE_PRIVATE) |
static | Send ($channelId, $message, $options=array()) |
static | SaveToCache ($cacheId, $data) |
static | UpdateLastId ($channelId, $lastId) |
static | CheckExpireAgent () |
static | CheckOnlineChannel () |
static | GetConfig ($userId, $cache=true, $reopen=false, $mobile=false) |
static | GetOnlineChannels (array $channels) |
static | sendChannelExpired (int $userId, string $channelType, string $oldChannelId, string $newChannelId) |
См. определение в файле pull_channel.php строка 7
◆ Add()
Add |
( |
int | $userId, |
|
|
string | $channelId, |
|
|
string | $publicChannelId, |
|
|
string | $channelType = self::TYPE_PRIVATE ) |
|
static |
◆ CheckExpireAgent()
◆ CheckOnlineChannel()
◆ Delete()
◆ DeleteByUser()
DeleteByUser |
( |
| $userId, |
|
|
| $channelId = null, |
|
|
| $channelType = self::TYPE_PRIVATE ) |
|
static |
◆ Get()
Get |
( |
int | $userId, |
|
|
| $cache = true, |
|
|
| $reOpen = false, |
|
|
| $channelType = self::TYPE_PRIVATE ) |
|
static |
◆ GetChannel()
GetChannel |
( |
| $userId, |
|
|
| $channelType = self::TYPE_PRIVATE, |
|
|
| $cache = true, |
|
|
| $reOpen = false ) |
|
static |
◆ GetChannelShared()
GetChannelShared |
( |
| $channelType = self::TYPE_SHARED, |
|
|
| $cache = true, |
|
|
| $reOpen = false ) |
|
static |
◆ GetConfig()
GetConfig |
( |
| $userId, |
|
|
| $cache = true, |
|
|
| $reopen = false, |
|
|
| $mobile = false ) |
|
static |
Deprecated method, use \Bitrix\Pull\Config::get() insted.
- См. также
- \Bitrix\Pull\Config::get()
См. определение в файле pull_channel.php строка 697
◆ GetNewChannelId()
GetNewChannelId |
( |
| $suffix = '' | ) |
|
|
static |
◆ GetNewChannelIdByTag()
GetNewChannelIdByTag |
( |
string | $tag, |
|
|
string | $suffix = '' ) |
|
static |
◆ GetOnlineChannels()
GetOnlineChannels |
( |
array | $channels | ) |
|
|
static |
◆ GetPublicSignature()
GetPublicSignature |
( |
| $value | ) |
|
|
static |
◆ GetShared()
GetShared |
( |
| $cache = true, |
|
|
| $reOpen = false, |
|
|
| $channelType = self::TYPE_SHARED ) |
|
static |
◆ GetSignature()
GetSignature |
( |
| $value, |
|
|
| $signatureKey = null ) |
|
static |
◆ SaveToCache()
SaveToCache |
( |
| $cacheId, |
|
|
| $data ) |
|
static |
◆ Send()
Send |
( |
| $channelId, |
|
|
| $message, |
|
|
| $options = array() ) |
|
static |
◆ sendChannelExpired()
sendChannelExpired |
( |
int | $userId, |
|
|
string | $channelType, |
|
|
string | $oldChannelId, |
|
|
string | $newChannelId ) |
|
static |
◆ SignChannel()
SignChannel |
( |
| $channelId | ) |
|
|
static |
◆ SignPublicChannel()
SignPublicChannel |
( |
| $channelId | ) |
|
|
static |
◆ UpdateLastId()
UpdateLastId |
( |
| $channelId, |
|
|
| $lastId ) |
|
static |
◆ CHANNEL_TTL
const CHANNEL_TTL = 43205 |
◆ TYPE_PRIVATE
const TYPE_PRIVATE = 'private' |
◆ TYPE_SHARED
const TYPE_SHARED = 'shared' |
Объявления и описания членов класса находятся в файле: