setAttribute
public \Bitrix\Conversion\Internals\BaseContext::setAttribute( string $name, string|integer|float|null $value = null );
Нестатический метод устанавливает атрибут со значением.
Параметры
| Параметр | Описание | Версия |
|---|---|---|
| $name | Имя атрибута. | |
| $value | Значение атрибута. |
Исключения
- ArgumentTypeException (
Bitrix\Main\ArgumentTypeException) - SystemException (
Bitrix\Main\SystemException)
© «Битрикс», 2001-2025, «1С-Битрикс», 2025