1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс UserExtranet
Граф наследования:UserExtranet:
User RestEntity Entity RestConvertible UserCollaber

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

 getType ()
Открытые члены унаследованные от User
 getChatWith (int $userId, bool $createIfNotExist=true)
 checkAccess (?int $idOtherUser=null)
 unsetOnlineData ()
 getId ()
 toRestFormat (array $option=[])
 getArray (array $option=[])
 isExist ()
 setOnlineData (array $onlineData, bool $withStatus)
 getName ()
 getFirstName ()
 getLastName ()
 getAvatar (bool $forRest=true)
 getAvatarHr (bool $forRest=true)
 getBirthday ()
 getAvatarId ()
 getWorkPosition ()
 getGender ()
 getExternalAuthId ()
 isInternalType ()
 getWebsite ()
 getEmail ()
 getPhones ()
 getServices ()
 getPhoneDevice ()
 getColor ()
 getLanguageId ()
 isExtranet ()
 isCollaber ()
 isActive ()
 getAbsent ()
 isNetwork ()
 isBot ()
 isConnector ()
 getDepartmentIds ()
 getDepartments ()
 isOnlineDataFilled (bool $withStatus)
 getStatus (bool $real=false)
 getTimeZone ()
 getIdle (bool $real=false)
 getLastActivityDate ()
 getMobileLastDate (bool $real=false)
 getDesktopLastDate (bool $real=false)
 isAdmin ()
 isSuperAdmin ()
Открытые члены унаследованные от Entity
 initializeField ($fieldName, $fieldInfo)
 reinitialize ($className)
 postInitialize ()
 getObjectClass ()
 getObjectClassName ()
 getCollectionClass ()
 getCollectionClassName ()
 createObject ($setDefaultValues=true)
 createCollection ()
 wakeUpObject ($row)
 wakeUpCollection ($rows)
 addField ($fieldInfo, $fieldName=null)
 getReferencesCountTo ($refEntityName)
 getReferencesTo ($refEntityName)
 getFields ()
 getField ($name)
 hasField ($name)
 getScalarFields ()
 getUField ($name)
 getFullName ()
 getNamespace ()
 getModule ()
 getDataClass ()
 getDBTableName ()
 getPrimary ()
 getPrimaryArray ()
 getAutoIncrement ()
 isUts ()
 isUtm ()
 getUfId ()
 setDefaultScope ($query)
 getCode ()
 getLangCode ()
 getTitle ()
 __clone ()
 createDbTable ()
 readFromCache ($ttl, $cacheId, $countTotal=false)
 writeToCache (Main\DB\Result $result, $cacheId, $countTotal=false)
 getCacheTtl ($ttl)
 cleanCache ()
 enableFullTextIndex ($field, $mode=true)
 fullTextIndexEnabled ($field)

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

 checkAccessInternal (User $otherUser)
Защищенные члены унаследованные от User
 checkAccessInternal (self $otherUser)
 hasAccessBySocialNetwork (int $idOtherUser)
 fillOnlineData (bool $withStatus=false)
Защищенные члены унаследованные от Entity
 appendField (Field $field)
 getCacheDir ()

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

Открытые статические члены унаследованные от User
static getInstance (?int $id)
static getCurrent ()
static initByArray (array $userData)
static getRestEntityName ()
static getFirstAdmin ()
static clearStaticCache (int $id)
Открытые статические члены унаследованные от Entity
static get ($entityName)
static has ($entityName)
static getInstance ($entityName)
static getDefaultObjectClassName ($entityName)
static getDefaultCollectionClassName ($entityName)
static isExists ($name)
static normalizeEntityClass ($entityName)
static getEntityClassParts ($class)
static camel2snake ($str)
static snake2camel ($str)
static normalizeName ($entityName)
static compileObjectClass ($dataClass)
static compileCollectionClass ($dataClass)
static destroy ($entity)
static onUserTypeChange ($userfield, $id=null)
Поля данных унаследованные от User
const PHONE_MOBILE = 'PERSONAL_MOBILE'
const PHONE_WORK = 'WORK_PHONE'
const PHONE_INNER = 'INNER_PHONE'
const PERSONAL_PHONE = 'PERSONAL_PHONE'
const ONLINE_DATA_SELECTED_FIELDS
const ONLINE_DATA_SELECTED_FIELDS_WITHOUT_STATUS
Поля данных унаследованные от Entity
const DEFAULT_OBJECT_PREFIX = 'EO_'
Защищенные данные унаследованные от 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
Защищенные данные унаследованные от Entity
 $className
 $module
 $name
 $connectionName
 $dbTableName
 $primary
 $autoIncrement
 $uf_id
 $isUts
 $isUtm
 $fields
 $fieldsMap
 $u_fields
 $code
 $references
 $isClone = false
Статические защищенные данные унаследованные от User
static string $moduleManager = ModuleManager::class
static string $loader = Loader::class
static array $userStaticCache = []
Статические защищенные данные унаследованные от Entity
static $instances
static $ufIdIndex = []

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

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

Методы

◆ checkAccessInternal()

checkAccessInternal ( User $otherUser)
protected

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

◆ getType()

getType ( )

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

Переопределяется в UserCollaber.

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


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