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

