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

