setAttribute
public \Bitrix\Conversion\Internals\BaseContext::setAttribute( string $name, string|integer|float|null $value = null );
This non-static method sets attribute with value.
Parameters
Parameter | Description | Version |
---|---|---|
$name | Attribute name. | |
$value | Attribute value. |
Exceptions
- ArgumentTypeException (
Bitrix\Main\ArgumentTypeException
) - SystemException (
Bitrix\Main\SystemException
)
© «Bitrix24», 2001-2024