method
public
IntegerField::__construct()
Сигнатура
public __construct(mixed $name[, array<string|int, mixed> $parameters = array() ]) : mixed
Описание
Конструктор IntegerField.
Параметры
$name
mixed
$parameters
array<string|int, mixed>
= array()
устаревший, используйте вместо этого методы configure* и add*
Возвращаемое значение
mixed
Как применяется в IntegerField
IntegerField::__construct() — метод класса \Bitrix\Main\ORM\Fields\IntegerField модуля «Главный модуль». IntegerField: Класс поля сущности для типа данных integer.
Конструктор: создаёт экземпляр IntegerField — обязательные аргументы перечислены в разделе «Параметры».
use Bitrix\Main\ORM\Fields\IntegerField;
$name = null;
$object = new IntegerField($name);Другие методы IntegerField
addFetchDataModifier()addSaveDataModifier()addValidator()cast()Строго приводит значение к типу поля.configureAutocomplete()configureBinary()configureColumnName()configureDefaultValue()configureFulltext()configureNullable()configurePrimary()configurePrivate()
__construct() есть и у других классов модуля «Главный модуль»: AbstractAccessFilter, AbstractRule, AccessAuthProvider, AccessCode, AccessFilter, AccessibleController, Action, AddedData.
Исходный файл: source/main/lib/orm/fields/integerfield.php:32

