method
public
IntegerField::getSetterTypeHint()
Сигнатура
public getSetterTypeHint() : string
Возвращаемое значение
string
Как применяется в IntegerField
IntegerField::getSetterTypeHint() — метод класса \Bitrix\Main\ORM\Fields\IntegerField модуля «Главный модуль». IntegerField: Класс поля сущности для типа данных integer.
Метод объекта: сначала нужен экземпляр IntegerField.
use Bitrix\Main\ORM\Fields\IntegerField;
/** @var IntegerField $object */
$result = $object->getSetterTypeHint();
// $result: stringДругие методы IntegerField
addFetchDataModifier()addSaveDataModifier()addValidator()cast()Строго приводит значение к типу поля.configureAutocomplete()configureBinary()configureColumnName()configureDefaultValue()configureFulltext()configureNullable()configurePrimary()configurePrivate()
getSetterTypeHint() есть и у других классов модуля «Главный модуль»: ArrayField, BooleanField, CryptoField, DateField, DatetimeField, DecimalField, EnumField, FloatField.
Исходный файл: source/main/lib/orm/fields/integerfield.php:122

