Documentation

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

ParameterDescriptionVersion
$dayDate.
$nameCounter name
$valueAdded value.

Exceptions



© «Bitrix24», 2001-2024