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

