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

