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