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

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

 __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 строка 50

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

◆ __construct()

__construct ( $setDefaultValues = true)
final

EntityObject constructor

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

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

Методы

◆ __clone()

__clone ( )

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

◆ cloneValues()

cloneValues ( array $values)
protected

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

◆ 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 строка 219

◆ filterValuesByMask()

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

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

◆ get()

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

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

◆ getId()

getId ( )

Fast popular alternative to __call().

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

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

◆ remindActual()

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

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

◆ save()

save ( )
final

ActiveRecord save.

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

Exception

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

Данные класса

◆ $_actualValues

$_actualValues = []
protected

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

◆ $_authContext

$_authContext
protected

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

◆ $_camelToSnakeCache

$_camelToSnakeCache = []
staticprotected

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

◆ $_currentValues

$_currentValues = []
protected

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

◆ $_customData

$_customData = null
protected

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

◆ $_entity

$_entity
protected

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

◆ $_onPrimarySetListeners

$_onPrimarySetListeners = []
protected

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

◆ $_runtimeValues

$_runtimeValues = []
protected

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

◆ $_savingInProgress

$_savingInProgress = false
protected

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

◆ $_snakeToCamelCache

$_snakeToCamelCache = []
staticprotected

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

◆ $_state

$_state = State::RAW
protected

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

◆ $dataClass

Bitrix Main ORM Data DataManager $dataClass
static

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