1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс UserTable
Граф наследования:UserTable:
DataManager UserTable

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

static getTableName ()
static getUfId ()
static getMap ()
static getSecondsForLimitOnline ()
static getActiveUsersCount (Type\Date $lastLoginDate=null)
static getUserGroupIds ($userId)
static getExternalUserTypes ()
static getIndexedFields ()
static shouldReindex (array $fields)
static indexRecord ($id)
static deleteIndexRecord ($id)
static add (array $data)
static update ($primary, array $data)
static delete ($primary)
static onAfterAdd (ORM\Event $event)
static onAfterUpdate (ORM\Event $event)
static onAfterDelete (ORM\Event $event)
Открытые статические члены унаследованные от DataManager
static getEntity ()
static unsetEntity ($class)
static getConnectionName ()
static getTitle ()
static getObjectClass ()
static getObjectClassName ()
static getCollectionClass ()
static getCollectionClassName ()
static getObjectParentClass ()
static getCollectionParentClass ()
static getQueryClass ()
static getEntityClass ()
static createObject ($setDefaultValues=true)
static createCollection ()
static wakeUpObject ($row)
static wakeUpCollection ($rows)
static isUts ()
static isUtm ()
static setDefaultScope ($query)
static postInitialize (Entity $entity)
static getByPrimary ($primary, array $parameters=array())
static getById ($id)
static getRowById ($id, array $parameters=[])
static getRow (array $parameters)
static getList (array $parameters=array())
static getCount ($filter=array(), array $cache=array())
static query ()
static checkFields (Result $result, $primary, array $data)
static addMulti ($rows, $ignoreEvents=false)
static enableCrypto ($field, $table=null, $mode=true)
static cryptoEnabled ($field, $table=null)
static setCurrentDeletingObject ($object)
static cleanCache ()
static isCacheable ()
static onBeforeAdd (Event $event)
static onAdd (Event $event)
static onAfterAdd (Event $event)
static onBeforeUpdate (Event $event)
static onUpdate (Event $event)
static onAfterUpdate (Event $event)
static onBeforeDelete (Event $event)
static onDelete (Event $event)
static onAfterDelete (Event $event)

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

Поля данных унаследованные от DataManager
const EVENT_ON_BEFORE_ADD = "OnBeforeAdd"
const EVENT_ON_ADD = "OnAdd"
const EVENT_ON_AFTER_ADD = "OnAfterAdd"
const EVENT_ON_BEFORE_UPDATE = "OnBeforeUpdate"
const EVENT_ON_UPDATE = "OnUpdate"
const EVENT_ON_AFTER_UPDATE = "OnAfterUpdate"
const EVENT_ON_BEFORE_DELETE = "OnBeforeDelete"
const EVENT_ON_DELETE = "OnDelete"
const EVENT_ON_AFTER_DELETE = "OnAfterDelete"
Защищенные статические члены унаследованные от DataManager
static getObjectClassByDataClass ($dataClass)
static getCollectionClassByDataClass ($dataClass)
static replaceFieldName ($data=array())
static validatePrimary ($primary)
static checkUfFields ($object, $ufdata, $result)
static getAddStrategy ()
static sysAddInternal (AddStrategy $strategy, array $data, bool $ignoreEvents=false,)
static sysAddMultiInternal (AddStrategy $strategy, array $multiData, bool $ignoreEvents=false,)
static callOnBeforeAddEvent ($object, $fields, $result)
static callOnAddEvent ($object, $fields, $ufdata)
static callOnAfterAddEvent ($object, $fields, $id)
static callOnBeforeUpdateEvent ($object, $fields, $result)
static callOnUpdateEvent ($object, $fields, $ufdata)
static callOnAfterUpdateEvent ($object, $fields)
static callOnBeforeDeleteEvent ($object, $entity, $result)
static callOnDeleteEvent ($object, $entity)
static callOnAfterDeleteEvent ($object, $entity)
Статические защищенные данные унаследованные от DataManager
static $entity
static $objectClass
static $collectionClass
static $currentDeletingObjects

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

Class UserTable

DO NOT WRITE ANYTHING BELOW THIS

<<< ORMENTITYANNOTATION @method static EO_User_Query query() @method static EO_User_Result getByPrimary($primary, array $parameters = []) @method static EO_User_Result getById($id) @method static EO_User_Result getList(array $parameters = []) @method static EO_User_Entity getEntity() @method static \Bitrix\Main\EO_User createObject($setDefaultValues = true) @method static \Bitrix\Main\EO_User_Collection createCollection() @method static \Bitrix\Main\EO_User wakeUpObject($row) @method static \Bitrix\Main\EO_User_Collection wakeUpCollection($rows)

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

Методы

◆ add()

add ( array $data)
static

Adds row to entity table

Аргументы
array$dataAn array with fields like array( "fields" => array( "FIELD1" => "value1", "FIELD2" => "value2", ), "auth_context" => \Bitrix\Main\Authentication\Context object ) or just a plain array of fields.

This method uses the default strategy defined in the class.

Возвращает
AddResult Contains ID of inserted row
Исключения

Exception

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

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

◆ delete()

delete ( $primary)
static

Deletes row in entity table by primary key

Аргументы
mixed$primary
Возвращает
DeleteResult
Исключения

Exception

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

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

◆ deleteIndexRecord()

deleteIndexRecord ( $id)
static

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

◆ getActiveUsersCount()

getActiveUsersCount ( Type\Date $lastLoginDate = null)
static
Аргументы
Type\Date | null$lastLoginDate
Возвращает
int

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

◆ getExternalUserTypes()

getExternalUserTypes ( )
static

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

◆ getIndexedFields()

getIndexedFields ( )
static

Returns an array with fields used in full-text index.

Возвращает
string[]

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

◆ getMap()

getMap ( )
static

Returns entity map definition. To get initialized fields

См. также
\Bitrix\Main\ORM\Entity::getFields() and \Bitrix\Main\ORM\Entity::getField()

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

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

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

◆ getSecondsForLimitOnline()

getSecondsForLimitOnline ( )
static

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

◆ getTableName()

getTableName ( )
static

Returns DB table name for entity

Возвращает
string

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

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

◆ getUfId()

getUfId ( )
static

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

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

◆ getUserGroupIds()

getUserGroupIds ( $userId)
static

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

◆ indexRecord()

indexRecord ( $id)
static

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

◆ onAfterAdd()

onAfterAdd ( ORM\Event $event)
static

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

◆ onAfterDelete()

onAfterDelete ( ORM\Event $event)
static

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

◆ onAfterUpdate()

onAfterUpdate ( ORM\Event $event)
static

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

◆ shouldReindex()

shouldReindex ( array $fields)
static

Returns true if there are fields to be indexed in the set.

Аргументы
array$fields
Возвращает
bool

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

◆ update()

update ( $primary,
array $data )
static

Updates row in entity table by primary key

Аргументы
mixed$primary
array$dataAn array with fields like array( "fields" => array( "FIELD1" => "value1", "FIELD2" => "value2", ), "auth_context" => \Bitrix\Main\Authentication\Context object ) or just a plain array of fields.
Возвращает
UpdateResult
Исключения

Exception

Аргументы
mixed$primary
array$data
Возвращает
Entity\UpdateResult
Исключения
Main

ArgumentException

Исключения
Main

Db\SqlQueryException

Исключения
Main

SystemException

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

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


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