IncrementWithSelect
CUserCounter::IncrementWithSelect( select, );
The method increments counters via subquery. To call this query, you must inherit base class CUserCounter and to call the query inside your function. Subquery must contain selection with the following fields (USER_ID, CNT, SITE_ID, CODE), where CNT always will be 1;
Parameters
Parameter | Description |
---|---|
select | Subquery to database |
Returned value
Description of returned value.
Example
<?
Couple of example strings
preferable to be practical
?>
© «Bitrix24», 2001-2024