inc_counter()
Usage
inc_counter(level, resetLowerLevels)
inc_counter(level)
Description
Increases the counter value for the given level, optionally resetting the value of all counters below the given level with the second parameters, which accepts a boolean value. See Counters for an explanation of counters in Structr.
Note: The level has to be numeric.
Example
${inc_counter(1, true)}
results in
<no output>