Difference between revisions of "UtilComunicator"

From OpenKM Documentation
Jump to: navigation, search
Line 1: Line 1:
 
== Read Methods ==
 
== Read Methods ==
 
* String formatSize(double size)
 
* String formatSize(double size)
 +
* String imageItemHTML(String imageUrl, String title, String align)
 
* String createHeaderHTML(String imageURL, String caption)
 
* String createHeaderHTML(String imageURL, String caption)
 
* String menuHTML(String imageUrl, String text)
 
* String menuHTML(String imageUrl, String text)

Revision as of 13:06, 26 May 2011

Read Methods

  • String formatSize(double size)
  • String imageItemHTML(String imageUrl, String title, String align)
  • String createHeaderHTML(String imageURL, String caption)
  • String menuHTML(String imageUrl, String text)
  • String imageItemHTML(String imageUrl)
  • String getTextAsBoldHTML(String text, boolean mark)
  • String getUserAgent()

Example

// Call to formating some document size number ( gb, mb etc... ) 
UtilComunicator.formatSize(15);