Wiki source code of Counter
Hide last authors
3.1 | 1 | Retrieve incremental values | |
1.1 | 2 | ||
3.1 | 3 | ||
4 | |||
1.1 | 5 | == Functions == | |
3.1 | 6 | === get(keyName, format) === | |
7 | Retrieve a counter value | ||
8 | * keyName. The counter name | ||
9 | * format. A java formatting of the counter | ||
1.1 | 10 | ||
3.1 | 11 | example: | |
12 | {{code language="javascript"}} | ||
13 | var str = Counter.get("mycounter", "00000"); | ||
14 | {{/code}} | ||
15 | |||
16 | return: the counter value as a string |