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

Открытые члены

 getId ()
 getFullName ($safe=true)
 getName ($safe=true)
 getLastName ($safe=true)
 getAvatar ()
 getAvatarHr ()
 getProfile ()
 getStatus ()
 getIdle ()
 getLastActivityDate ()
 getMobileLastDate ()
 getBirthday ()
 getAvatarId ()
 getWorkPosition ($safe=false)
 getGender ()
 getExternalAuthId ()
 getWebsite ()
 getEmail ()
 getPhone ($type=self::PHONE_ANY)
 getService ($type=self::PHONE_ANY)
 getColor ()
 isOnline ()
 isExtranet ()
 isActive ()
 isAbsent ()
 isNetwork ()
 isBot ()
 isConnector ()
 isExists ()
 getFields ()
 getPhones ()
 getServices ()
 getDepartments ()
 getArray ($options=[])

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

static getInstance ($userId=null)
static formatLegacyJson (array $result)
static getArrayWithOnline (array $users, array $options=['JSON'=> 'Y', 'SKIP_ONLINE'=> 'Y'])
static uploadAvatar ($avatarUrl='', $hash='')
static clearStaticCache ()
static isOpenlinesOperator ($userId=null)
static getList ($params)
static getListParams ($params)
static getBusiness ($userId=null, $options=array())
static getMessages ($userId=null, $options=Array())
static formatNameFromDatabase ($fields)
static formatFullNameFromDatabase ($fields)
static setInstance ($userId, $instance)

Поля данных

const FILTER_LIMIT = 50
const PHONE_ANY = 'phone_any'
const PHONE_WORK = 'work_phone'
const PHONE_PERSONAL = 'personal_phone'
const PHONE_MOBILE = 'personal_mobile'
const PHONE_INNER = 'uf_phone_inner'
const SERVICE_ANY = 'service_any'
const SERVICE_ZOOM = 'zoom'
const SERVICE_SKYPE = 'skype'

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

static $formatNameTemplate = null

Защищенные члены

 __construct ($userId=null)

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

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

Конструктор(ы)

◆ __construct()

__construct ( $userId = null)
protected

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

Методы

◆ clearStaticCache()

clearStaticCache ( )
static
Возвращает
bool

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

◆ formatFullNameFromDatabase()

formatFullNameFromDatabase ( $fields)
static

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

◆ formatLegacyJson()

formatLegacyJson ( array $result)
static

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

◆ formatNameFromDatabase()

formatNameFromDatabase ( $fields)
static

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

◆ getArray()

getArray ( $options = [])

Returns an array describing the user.

Аргументы
array$options
Возвращает
array|null
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\LoaderException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getArrayWithOnline()

getArrayWithOnline ( array $users,
array $options = ['JSON' => 'Y', 'SKIP_ONLINE' => 'Y'] )
static
Аргументы
static[]$users
Возвращает
array

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

◆ getAvatar()

getAvatar ( )
Возвращает
string

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

◆ getAvatarHr()

getAvatarHr ( )
Возвращает
string

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

◆ getAvatarId()

getAvatarId ( )
Возвращает
string

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

◆ getBirthday()

getBirthday ( )
Возвращает
string

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

◆ getBusiness()

getBusiness ( $userId = null,
$options = array() )
static

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

◆ getColor()

getColor ( )
Возвращает
string

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

◆ getDepartments()

getDepartments ( )
Возвращает
array|null

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

◆ getEmail()

getEmail ( )
Возвращает
string

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

◆ getExternalAuthId()

getExternalAuthId ( )
Возвращает
string

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

◆ getFields()

getFields ( )
Возвращает
array|null

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

◆ getFullName()

getFullName ( $safe = true)
Возвращает
string

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

◆ getGender()

getGender ( )
Возвращает
string

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

◆ getId()

getId ( )
Возвращает
int

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

◆ getIdle()

getIdle ( )
Возвращает
string

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

◆ getInstance()

getInstance ( $userId = null)
static
Аргументы
null$userId
Возвращает
self

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

◆ getLastActivityDate()

getLastActivityDate ( )
Возвращает
string

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

◆ getLastName()

getLastName ( $safe = true)
Возвращает
string

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

◆ getList()

getList ( $params)
static

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

◆ getListParams()

getListParams ( $params)
static

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

◆ getMessages()

getMessages ( $userId = null,
$options = Array() )
static

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

◆ getMobileLastDate()

getMobileLastDate ( )
Возвращает
string

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

◆ getName()

getName ( $safe = true)
Возвращает
string

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

◆ getPhone()

getPhone ( $type = self::PHONE_ANY)
Аргументы
string$type
Возвращает
string

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

◆ getPhones()

getPhones ( )
Возвращает
array|null

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

◆ getProfile()

getProfile ( )
Возвращает
string

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

◆ getService()

getService ( $type = self::PHONE_ANY)
Аргументы
string$type
Возвращает
string

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

◆ getServices()

getServices ( )
Возвращает
array|null

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

◆ getStatus()

getStatus ( )
Возвращает
string

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

◆ getWebsite()

getWebsite ( )
Возвращает
string

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

◆ getWorkPosition()

getWorkPosition ( $safe = false)
Возвращает
string

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

◆ isAbsent()

isAbsent ( )
Возвращает
bool

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

◆ isActive()

isActive ( )
Возвращает
bool

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

◆ isBot()

isBot ( )
Возвращает
bool

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

◆ isConnector()

isConnector ( )
Возвращает
bool

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

◆ isExists()

isExists ( )
Возвращает
bool

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

◆ isExtranet()

isExtranet ( )
Возвращает
bool

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

◆ isNetwork()

isNetwork ( )
Возвращает
bool

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

◆ isOnline()

isOnline ( )
Возвращает
bool

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

◆ isOpenlinesOperator()

isOpenlinesOperator ( $userId = null)
static

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

◆ setInstance()

setInstance ( $userId,
$instance )
static

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

◆ uploadAvatar()

uploadAvatar ( $avatarUrl = '',
$hash = '' )
static
Аргументы
string$avatarUrl
string$hash
Возвращает
int

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

Поля

◆ $formatNameTemplate

$formatNameTemplate = null
static

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

◆ FILTER_LIMIT

const FILTER_LIMIT = 50

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

◆ PHONE_ANY

const PHONE_ANY = 'phone_any'

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

◆ PHONE_INNER

const PHONE_INNER = 'uf_phone_inner'

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

◆ PHONE_MOBILE

const PHONE_MOBILE = 'personal_mobile'

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

◆ PHONE_PERSONAL

const PHONE_PERSONAL = 'personal_phone'

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

◆ PHONE_WORK

const PHONE_WORK = 'work_phone'

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

◆ SERVICE_ANY

const SERVICE_ANY = 'service_any'

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

◆ SERVICE_SKYPE

const SERVICE_SKYPE = 'skype'

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

◆ SERVICE_ZOOM

const SERVICE_ZOOM = 'zoom'

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


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