Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс NullUser
+ Граф наследования:NullUser:

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

 getId ()
 
 isOnlineDataFilled (bool $withStatus)
 
 isExist ()
 
 isActive ()
 
- Открытые члены унаследованные от User
 getChatWith (int $userId, bool $createIfNotExist=true)
 
 hasAccess (?int $idOtherUser=null)
 
 toRestFormat (array $option=[])
 
 getArray (array $option=[])
 
 setOnlineData (array $onlineData, bool $withStatus)
 
 getName ()
 
 getFirstName ()
 
 getLastName ()
 
 getAvatar (bool $forRest=true)
 
 getAvatarHr (bool $forRest=true)
 
 getBirthday ()
 
 getAvatarId ()
 
 getWorkPosition ()
 
 getGender ()
 
 getExternalAuthId ()
 
 getWebsite ()
 
 getEmail ()
 
 getPhones ()
 
 getColor ()
 
 getTzOffset ()
 
 getLanguageId ()
 
 isExtranet ()
 
 getAbsent ()
 
 isNetwork ()
 
 isBot ()
 
 isConnector ()
 
 getDepartmentIds ()
 
 getDepartments ()
 
 getStatus (bool $real=false)
 
 getIdle (bool $real=false)
 
 getLastActivityDate ()
 
 getMobileLastDate (bool $real=false)
 
 getDesktopLastDate (bool $real=false)
 
 isAdmin ()
 
 isSuperAdmin ()
 

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

 checkAccessWithoutCaching (User $otherUser)
 
- Защищенные члены унаследованные от User
 checkAccessWithoutCaching (self $otherUser)
 
 hasAccessBySocialNetwork (int $idOtherUser)
 
 fillOnlineData (bool $withStatus=false)
 

Дополнительные унаследованные члены

- Открытые статические члены унаследованные от User
static getInstance (?int $id)
 
static getCurrent ()
 
static initByArray (array $userData)
 
static getRestEntityName ()
 
- Открытые атрибуты унаследованные от User
const PHONE_MOBILE = 'PERSONAL_MOBILE'
 
const PHONE_WORK = 'WORK_PHONE'
 
const PHONE_INNER = 'INNER_PHONE'
 
const ONLINE_DATA_SELECTED_FIELDS
 
const ONLINE_DATA_SELECTED_FIELDS_WITHOUT_STATUS
 
- Защищенные данные унаследованные от User
array $accessCache = []
 
array $userData = []
 
bool $isOnlineDataFilled = false
 
bool $isOnlineDataWithStatusFilled = false
 
bool $isAdmin = null
 
DateTime $idle = null
 
DateTime $lastActivityDate = null
 
DateTime $mobileLastDate = null
 
DateTime $desktopLastDate = null
 
- Статические защищенные данные унаследованные от User
static string $moduleManager = ModuleManager::class
 
static string $loader = Loader::class
 
static array $userStaticCache = []
 

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

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

Методы

◆ checkAccessWithoutCaching()

checkAccessWithoutCaching ( User $otherUser)
protected

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

◆ getId()

getId ( )

Returns the id of the entity

Возвращает
int|null

Переопределяет метод предка User.

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

◆ isActive()

isActive ( )

Переопределяет метод предка User.

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

◆ isExist()

isExist ( )

Переопределяет метод предка User.

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

◆ isOnlineDataFilled()

isOnlineDataFilled ( bool $withStatus)

Переопределяет метод предка User.

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