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

