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.

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

Search results for "get_counter()"

get_counter()

Returns the counter value for the given level.

get_counter(level)