method
public
IntegerField::postInitialize()
Сигнатура
public postInitialize() : null
Описание
Вызывается после инициализации сущностью Entity
Возвращаемое значение
null
Как применяется в IntegerField
IntegerField::postInitialize() — метод класса \Bitrix\Main\ORM\Fields\IntegerField модуля «Главный модуль». IntegerField: Класс поля сущности для типа данных integer.
Метод объекта: сначала нужен экземпляр IntegerField.
use Bitrix\Main\ORM\Fields\IntegerField;
/** @var IntegerField $object */
$result = $object->postInitialize();
// $result: nullДругие методы IntegerField
addFetchDataModifier()addSaveDataModifier()addValidator()cast()Строго приводит значение к типу поля.configureAutocomplete()configureBinary()configureColumnName()configureDefaultValue()configureFulltext()configureNullable()configurePrimary()configurePrivate()
postInitialize() есть и у других классов модуля «Главный модуль»: AccessPermissionTable, AccessRoleRelationTable, AccessRoleTable, ApplicationPasswordTable, ArrayField, BooleanField, CacheCleanPathTable, CacheTagTable.
Исходный файл: source/main/lib/orm/fields/integerfield.php:666

