get_counter()
Usage
get_counter(level)
Description
Returns the counter value for the given level. See Counters for an explanation of counters in Structr.
Note: The level has to be numeric.
Example
${get_counter(1)}
results in
0
You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.
Usage
get_counter(level)
Description
Returns the counter value for the given level. See Counters for an explanation of counters in Structr.
Note: The level has to be numeric.
Example
${get_counter(1)}
results in
0
Returns the counter value for the given level.
get_counter(level)