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

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

 __construct ($setDefaultValues=true)
 __clone ()
 collectValues ($valuesType=Values::ALL, $fieldsMask=FieldTypeMask::ALL, $recursive=false)
 save ()
 getId ()
 get ($fieldName)
 remindActual ($fieldName)

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

static $dataClass

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

 cloneValues (array $values)
 filterValuesByMask (array $values, int $fieldsMask, bool $invertedFilter=false)

Защищенные данные

 $_entity
 $_state = State::RAW
 $_actualValues = []
 $_currentValues = []
 $_runtimeValues = []
 $_customData = null
 $_onPrimarySetListeners = []
 $_authContext
 $_savingInProgress = false

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

static $_camelToSnakeCache = []
static $_snakeToCamelCache = []

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

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

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

◆ __construct()

__construct ( $setDefaultValues = true)
final

EntityObject constructor

Аргументы
bool | array$setDefaultValues
Исключения
ArgumentException
SystemException

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

Методы

◆ __clone()

__clone ( )

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

◆ cloneValues()

cloneValues ( array $values)
protected

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

◆ collectValues()

collectValues ( $valuesType = Values::ALL,
$fieldsMask = FieldTypeMask::ALL,
$recursive = false )
final

Returns all objects values as an array

Аргументы
int$valuesType
int$fieldsMask
bool$recursive
Возвращает
array
Исключения
ArgumentException

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

◆ filterValuesByMask()

filterValuesByMask ( array $values,
int $fieldsMask,
bool $invertedFilter = false )
protected

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

◆ get()

get ( $fieldName)
final
Аргументы
$fieldName
Возвращает
mixed
Исключения
ArgumentException
SystemException

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

◆ getId()

getId ( )

Fast popular alternative to __call().

Возвращает
Collection|EntityObject|mixed
Исключения
SystemException

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

◆ remindActual()

remindActual ( $fieldName)
final
Аргументы
$fieldName
Возвращает
mixed
Исключения
ArgumentException
SystemException

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

◆ save()

save ( )
final

ActiveRecord save.

Возвращает
Result
Исключения
ArgumentException
SystemException

Exception

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

Поля

◆ $_actualValues

$_actualValues = []
protected

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

◆ $_authContext

$_authContext
protected

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

◆ $_camelToSnakeCache

$_camelToSnakeCache = []
staticprotected

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

◆ $_currentValues

$_currentValues = []
protected

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

◆ $_customData

$_customData = null
protected

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

◆ $_entity

$_entity
protected

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

◆ $_onPrimarySetListeners

$_onPrimarySetListeners = []
protected

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

◆ $_runtimeValues

$_runtimeValues = []
protected

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

◆ $_savingInProgress

$_savingInProgress = false
protected

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

◆ $_snakeToCamelCache

$_snakeToCamelCache = []
staticprotected

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

◆ $_state

$_state = State::RAW
protected

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

◆ $dataClass

$dataClass
static

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


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