2 "name" : "Roo.util.Format",
4 "desc" : "Reusable data formatting functions",
19 "desc" : "Converts a string to all upper case letters",
21 "isConstructor" : false,
23 "memberOf" : "Roo.util.Format",
32 "desc" : "The text to convert",
40 "desc" : "The converted text"
46 "desc" : "Parse a value into a formatted date using the specified format pattern.",
48 "isConstructor" : false,
50 "memberOf" : "Roo.util.Format",
59 "desc" : "The value to format",
65 "desc" : "(optional) Any valid date format string (defaults to 'm/d/Y')",
73 "desc" : "The formatted date string"
79 "desc" : "Converts a string to all lower case letters",
81 "isConstructor" : false,
83 "memberOf" : "Roo.util.Format",
92 "desc" : "The text to convert",
100 "desc" : "The converted text"
106 "desc" : "Checks a reference and converts it to empty string if it is undefined",
108 "isConstructor" : false,
110 "memberOf" : "Roo.util.Format",
119 "desc" : "Reference to check",
127 "desc" : "Empty string if converted, otherwise the original value"
132 "name" : "stripTags",
133 "desc" : "Strips all HTML tags",
135 "isConstructor" : false,
137 "memberOf" : "Roo.util.Format",
146 "desc" : "The text from which to strip tags",
154 "desc" : "The stripped text"
160 "desc" : "Truncate a string and add an ellipsis ('...') to the end if it exceeds the specified length",
162 "isConstructor" : false,
164 "memberOf" : "Roo.util.Format",
173 "desc" : "The string to truncate",
179 "desc" : "The maximum length to allow before truncating",
187 "desc" : "The converted text"
192 "name" : "htmlDecode",
193 "desc" : "Convert certain characters (&, <, >, and ') from their HTML character equivalents.",
195 "isConstructor" : false,
197 "memberOf" : "Roo.util.Format",
206 "desc" : "The string to decode",
214 "desc" : "The decoded text"
219 "name" : "htmlEncode",
220 "desc" : "Convert certain characters (&, <, >, and ') to their HTML character equivalents for literal display in web pages.",
222 "isConstructor" : false,
224 "memberOf" : "Roo.util.Format",
233 "desc" : "The string to encode",
241 "desc" : "The encoded text"
247 "desc" : "Size in Mb,Gb etc.",
249 "isConstructor" : false,
251 "memberOf" : "Roo.util.Format",
260 "desc" : "The number to be formated",
266 "desc" : "how many decimal places",
274 "desc" : "the formated string"
280 "desc" : "safer version of Math.toFixed..??/",
282 "isConstructor" : false,
284 "memberOf" : "Roo.util.Format",
292 "type" : "Number/String",
293 "desc" : "The numeric value to format",
298 "type" : "Number/String",
299 "desc" : "Decimal places",
307 "desc" : "The formatted currency string"
313 "desc" : "Returns a substring from within an original string",
315 "isConstructor" : false,
317 "memberOf" : "Roo.util.Format",
326 "desc" : "The original text",
332 "desc" : "The start index of the substring",
338 "desc" : "The length of the substring",
346 "desc" : "The substring"
352 "desc" : "Format a number\neventually this should probably emulate php's number_format",
354 "isConstructor" : false,
356 "memberOf" : "Roo.util.Format",
364 "type" : "Number/String",
365 "desc" : "The numeric value to format",
371 "desc" : "number of decimal places",
375 "name" : "delimiter",
377 "desc" : "for thousands (default comma)",
385 "desc" : "The formatted currency string"
391 "desc" : "Format a number as US currency",
393 "isConstructor" : false,
395 "memberOf" : "Roo.util.Format",
403 "type" : "Number/String",
404 "desc" : "The numeric value to format",
412 "desc" : "The formatted currency string"
417 "name" : "capitalize",
418 "desc" : "Converts the first character only of a string to upper case",
420 "isConstructor" : false,
422 "memberOf" : "Roo.util.Format",
431 "desc" : "The text to convert",
439 "desc" : "The converted text"
445 "desc" : "Trims any whitespace from either side of a string",
447 "isConstructor" : false,
449 "memberOf" : "Roo.util.Format",
458 "desc" : "The text to trim",
466 "desc" : "The trimmed text"
471 "name" : "dateRenderer",
472 "desc" : "Returns a date rendering function that can be reused to apply a date format multiple times efficiently",
474 "isConstructor" : false,
476 "memberOf" : "Roo.util.Format",
485 "desc" : "Any valid date format string",
493 "desc" : "The date formatting function"