method
public
UserTypeField::isConstant()
Сигнатура
public isConstant() : mixed
Возвращаемое значение
mixed
Как применяется в UserTypeField
UserTypeField::isConstant() — метод класса \Bitrix\Main\ORM\Fields\UserTypeField модуля «Главный модуль». UserTypeField: Прокси-поля UserType. Работают как выражения и позволяют устанавливать значение.
Метод объекта: сначала нужен экземпляр UserTypeField.
use Bitrix\Main\ORM\Fields\UserTypeField;
/** @var UserTypeField $object */
$result = $object->isConstant();
// $result: mixedДругие методы UserTypeField
__call()__clone()addFetchDataModifier()addSaveDataModifier()addValidator()cast()Строго приводит значение к типу поля.checkAggregation()checkSubquery()configureMultiple()configureSerialized()configureTitle()Языковая фразаconfigureValueField()
isConstant() есть и у других классов модуля «Главный модуль»: Chain, ExpressionField.
Исходный файл: source/main/lib/orm/fields/usertypefield.php:274

