Counter

Last modified by Pierre Dubois on 2018/06/06 17:05

Retrieve incremental values

Functions

get(keyName, format)

Retrieve a counter value

  • keyName. The counter name
  • format. A java formatting of the counter

example:
var str = Counter.get("mycounter", "00000");

return: the counter value as a string

Tags:
Created by Pierre Dubois on 2018/06/06 17:05
     
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation