addCounter
public \Bitrix\Conversion\Internals\BaseContext::addCounter( \Bitrix\Main\Type\Date $day, string $name, integer|float $value );
This non-static method adds a counter value. When counter is not created, creates and adds a value. Saves to database.
Parameters
Parameter | Description | Version |
---|---|---|
$day | Date. | |
$name | Counter name | |
$value | Added value. |
Exceptions
- ArgumentTypeException (
Bitrix\Main\ArgumentTypeException
) - SystemException (
Bitrix\Main\SystemException
)
© «Bitrix24», 2001-2024