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

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

static Set ($userId, $params)
static getPushTag (int $userId)
static SetIdle ($userId, $result=true, $ago=10)
static SetMobile ($userId, $result=true)
static SetColor ($userId, $color)
static GetList ($params=Array())
static GetOnline ()
static GetStatus ($userId=null)
static getDesktopStatus ($dates)
static prepareLastDate ($dates)
static Enable ()

Поля данных

const CACHE_TTL = 31536000
const CACHE_PATH = '/bx/im/status/'
const CACHE_ONLINE_TTL = 60
const CACHE_ONLINE_PATH = '/bx/im/online/'

Статические открытые данные

static $AVAILABLE_STATUSES = Array('online', 'dnd', 'away', 'break')
static $CACHE_USERS = null
static $CACHE_RECENT = null

Защищенные статические члены

static getStatusFromStaticCache (int $userId)

Статические защищенные данные

static array $status = []

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

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

Методы

◆ Enable()

Enable ( )
static

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

◆ getDesktopStatus()

getDesktopStatus ( $dates)
static

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

◆ GetList()

GetList ( $params = Array())
static

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

◆ GetOnline()

GetOnline ( )
static

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

◆ getPushTag()

getPushTag ( int $userId)
static

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

◆ GetStatus()

GetStatus ( $userId = null)
static

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

◆ getStatusFromStaticCache()

getStatusFromStaticCache ( int $userId)
staticprotected

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

◆ prepareLastDate()

prepareLastDate ( $dates)
static

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

◆ Set()

Set ( $userId,
$params )
static

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

◆ SetColor()

SetColor ( $userId,
$color )
static

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

◆ SetIdle()

SetIdle ( $userId,
$result = true,
$ago = 10 )
static

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

◆ SetMobile()

SetMobile ( $userId,
$result = true )
static

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

Поля

◆ $AVAILABLE_STATUSES

$AVAILABLE_STATUSES = Array('online', 'dnd', 'away', 'break')
static

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

◆ $CACHE_RECENT

$CACHE_RECENT = null
static

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

◆ $CACHE_USERS

$CACHE_USERS = null
static

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

◆ $status

array $status = []
staticprotected

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

◆ CACHE_ONLINE_PATH

const CACHE_ONLINE_PATH = '/bx/im/online/'

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

◆ CACHE_ONLINE_TTL

const CACHE_ONLINE_TTL = 60

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

◆ CACHE_PATH

const CACHE_PATH = '/bx/im/status/'

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

◆ CACHE_TTL

const CACHE_TTL = 31536000

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


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