1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CPullChannel

Открытые статические члены

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)

Поля данных

const TYPE_PRIVATE = 'private'
const TYPE_SHARED = 'shared'
const CHANNEL_TTL = 43205

Подробное описание

См. определение в файле pull_channel.php строка 7

Методы

◆ Add()

Add ( int $userId,
string $channelId,
string $publicChannelId,
string $channelType = self::TYPE_PRIVATE )
static

См. определение в файле pull_channel.php строка 228

◆ CheckExpireAgent()

CheckExpireAgent ( )
static

См. определение в файле pull_channel.php строка 560

◆ CheckOnlineChannel()

CheckOnlineChannel ( )
static

См. определение в файле pull_channel.php строка 588

◆ Delete()

Delete ( $channelId)
static

См. определение в файле pull_channel.php строка 280

◆ DeleteByUser()

DeleteByUser ( $userId,
$channelId = null,
$channelType = self::TYPE_PRIVATE )
static

См. определение в файле pull_channel.php строка 325

◆ Get()

Get ( int $userId,
$cache = true,
$reOpen = false,
$channelType = self::TYPE_PRIVATE )
static

См. определение в файле pull_channel.php строка 46

◆ GetChannel()

GetChannel ( $userId,
$channelType = self::TYPE_PRIVATE,
$cache = true,
$reOpen = false )
static

См. определение в файле pull_channel.php строка 41

◆ GetChannelShared()

GetChannelShared ( $channelType = self::TYPE_SHARED,
$cache = true,
$reOpen = false )
static

См. определение в файле pull_channel.php строка 31

◆ 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

См. определение в файле pull_channel.php строка 19

◆ GetNewChannelIdByTag()

GetNewChannelIdByTag ( string $tag,
string $suffix = '' )
static

См. определение в файле pull_channel.php строка 25

◆ GetOnlineChannels()

GetOnlineChannels ( array $channels)
static

См. определение в файле pull_channel.php строка 779

◆ GetPublicSignature()

GetPublicSignature ( $value)
static

См. определение в файле pull_channel.php строка 207

◆ GetShared()

GetShared ( $cache = true,
$reOpen = false,
$channelType = self::TYPE_SHARED )
static

См. определение в файле pull_channel.php строка 36

◆ GetSignature()

GetSignature ( $value,
$signatureKey = null )
static

См. определение в файле pull_channel.php строка 212

◆ SaveToCache()

SaveToCache ( $cacheId,
$data )
static

См. определение в файле pull_channel.php строка 540

◆ Send()

Send ( $channelId,
$message,
$options = array() )
static

См. определение в файле pull_channel.php строка 386

◆ sendChannelExpired()

sendChannelExpired ( int $userId,
string $channelType,
string $oldChannelId,
string $newChannelId )
static

См. определение в файле pull_channel.php строка 807

◆ SignChannel()

SignChannel ( $channelId)
static

См. определение в файле pull_channel.php строка 179

◆ SignPublicChannel()

SignPublicChannel ( $channelId)
static

См. определение в файле pull_channel.php строка 196

◆ UpdateLastId()

UpdateLastId ( $channelId,
$lastId )
static

См. определение в файле pull_channel.php строка 549

Поля

◆ CHANNEL_TTL

const CHANNEL_TTL = 43205

См. определение в файле pull_channel.php строка 12

◆ TYPE_PRIVATE

const TYPE_PRIVATE = 'private'

См. определение в файле pull_channel.php строка 9

◆ TYPE_SHARED

const TYPE_SHARED = 'shared'

См. определение в файле pull_channel.php строка 10


Объявления и описания членов класса находятся в файле: