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

