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" : "safer version of Math.toFixed..??/",
249 "isConstructor" : false,
251 "memberOf" : "Roo.util.Format",
259 "type" : "Number/String",
260 "desc" : "The numeric value to format",
265 "type" : "Number/String",
266 "desc" : "Decimal places",
274 "desc" : "The formatted currency string"
280 "desc" : "Returns a substring from within an original string",
282 "isConstructor" : false,
284 "memberOf" : "Roo.util.Format",
293 "desc" : "The original text",
299 "desc" : "The start index of the substring",
305 "desc" : "The length of the substring",
313 "desc" : "The substring"
319 "desc" : "Format a number\neventually this should probably emulate php's number_format",
321 "isConstructor" : false,
323 "memberOf" : "Roo.util.Format",
331 "type" : "Number/String",
332 "desc" : "The numeric value to format",
338 "desc" : "number of decimal places",
342 "name" : "delimiter",
344 "desc" : "for thousands (default comma)",
352 "desc" : "The formatted currency string"
358 "desc" : "Format a number as US currency",
360 "isConstructor" : false,
362 "memberOf" : "Roo.util.Format",
370 "type" : "Number/String",
371 "desc" : "The numeric value to format",
379 "desc" : "The formatted currency string"
384 "name" : "capitalize",
385 "desc" : "Converts the first character only of a string to upper case",
387 "isConstructor" : false,
389 "memberOf" : "Roo.util.Format",
398 "desc" : "The text to convert",
406 "desc" : "The converted text"
412 "desc" : "Trims any whitespace from either side of a string",
414 "isConstructor" : false,
416 "memberOf" : "Roo.util.Format",
425 "desc" : "The text to trim",
433 "desc" : "The trimmed text"
438 "name" : "dateRenderer",
439 "desc" : "Returns a date rendering function that can be reused to apply a date format multiple times efficiently",
441 "isConstructor" : false,
443 "memberOf" : "Roo.util.Format",
452 "desc" : "Any valid date format string",
460 "desc" : "The date formatting function"