Changes for page Counter
on 2011/10/17 15:26
on 2012/05/31 15:18
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,8 +1,16 @@ 1 - Access counters to generateincremental values1 +Retrieve incremental values 2 2 3 + 4 + 3 3 == Functions == 4 -=== get(name, format) === 5 -Return a new counter value. 6 -* format. Can be a specific java format like 0000 6 +=== get(keyName, format) === 7 +Retrieve a counter value 8 +* keyName. The counter name 9 +* format. A java formatting of the counter 7 7 8 -return: The value as a String 11 +example: 12 +{{code language="javascript"}} 13 +var str = Counter.get("mycounter", "00000"); 14 +{{/code}} 15 + 16 +return: the counter value as a string