Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.Template.js
1 Ext.data.JsonP.Ext_Template({
2   "allMixins": [
3
4   ],
5   "deprecated": null,
6   "docauthor": null,
7   "members": {
8     "cfg": [
9       {
10         "type": "Boolean",
11         "deprecated": null,
12         "alias": null,
13         "protected": false,
14         "tagname": "cfg",
15         "href": "Template2.html#Ext-Template-cfg-disableFormats",
16         "shortDoc": "true to disable format functions in the template. ...",
17         "static": false,
18         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
19         "private": false,
20         "name": "disableFormats",
21         "owner": "Ext.Template",
22         "doc": "<p>true to disable format functions in the template. If the template doesn't contain format functions, setting\ndisableFormats to true will reduce apply time (defaults to false)</p>\n",
23         "linenr": 111,
24         "html_filename": "Template2.html"
25       }
26     ],
27     "method": [
28       {
29         "deprecated": null,
30         "alias": null,
31         "protected": false,
32         "tagname": "method",
33         "href": "Base3.html#Ext-Base-method-addStatics",
34         "shortDoc": "Add / override static properties of this class. ...",
35         "static": true,
36         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
37         "private": false,
38         "params": [
39           {
40             "type": "Object",
41             "optional": false,
42             "doc": "\n",
43             "name": "members"
44           }
45         ],
46         "name": "addStatics",
47         "owner": "Ext.Base",
48         "doc": "<p>Add / override static properties of this class.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.addStatics({\n    someProperty: 'someValue',      // My.cool.Class.someProperty = 'someValue'\n    method1: function() { ... },    // My.cool.Class.method1 = function() { ... };\n    method2: function() { ... }     // My.cool.Class.method2 = function() { ... };\n});\n</code></pre>\n",
49         "linenr": 388,
50         "return": {
51           "type": "Ext.Base",
52           "doc": "<p>this</p>\n"
53         },
54         "html_filename": "Base3.html"
55       },
56       {
57         "deprecated": null,
58         "alias": null,
59         "protected": false,
60         "tagname": "method",
61         "href": "Template2.html#Ext-Template-method-append",
62         "shortDoc": "Applies the supplied values to the template and appends\nthe new node(s) to the specified el. ...",
63         "static": false,
64         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
65         "private": false,
66         "params": [
67           {
68             "type": "Mixed",
69             "optional": false,
70             "doc": "<p>The context element</p>\n",
71             "name": "el"
72           },
73           {
74             "type": "Object/Array",
75             "optional": false,
76             "doc": "<p>The template values. Can be an array if the params are numeric (i.e. <code>{0}</code>)\nor an object (i.e. <code>{foo: 'bar'}</code>).</p>\n",
77             "name": "values"
78           },
79           {
80             "type": "Boolean",
81             "optional": true,
82             "doc": "<p>(optional) true to return an <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Ext.core.Element</a> (defaults to undefined)</p>\n",
83             "name": "returnElement"
84           }
85         ],
86         "name": "append",
87         "owner": "Ext.Template",
88         "doc": "<p>Applies the supplied <code>values</code> to the template and appends\nthe new node(s) to the specified <code>el</code>.</p>\n\n<p>For example usage see the constructor.</p>\n\n",
89         "linenr": 235,
90         "return": {
91           "type": "HTMLElement/Ext.core.Element",
92           "doc": "<p>The new node or Element</p>\n"
93         },
94         "html_filename": "Template2.html"
95       },
96       {
97         "deprecated": null,
98         "alias": null,
99         "protected": false,
100         "tagname": "method",
101         "href": "Template2.html#Ext-Template-method-apply",
102         "shortDoc": "Alias for applyTemplate\nReturns an HTML fragment of this template with the specified values applied. ...",
103         "static": false,
104         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
105         "private": false,
106         "params": [
107           {
108             "type": "Object/Array",
109             "optional": false,
110             "doc": "<p>The template values. Can be an array if the params are numeric (i.e. <code>{0}</code>)\nor an object (i.e. <code>{foo: 'bar'}</code>).</p>\n",
111             "name": "values"
112           }
113         ],
114         "name": "apply",
115         "owner": "Ext.Template",
116         "doc": "<p>Alias for <a href=\"#/api/Ext.Template-method-applyTemplate\" rel=\"Ext.Template-method-applyTemplate\" class=\"docClass\">applyTemplate</a>\nReturns an HTML fragment of this template with the specified <code>values</code> applied.</p>\n",
117         "linenr": 270,
118         "return": {
119           "type": "String",
120           "doc": "<p>The HTML fragment</p>\n"
121         },
122         "html_filename": "Template2.html"
123       },
124       {
125         "deprecated": null,
126         "alias": null,
127         "protected": false,
128         "tagname": "method",
129         "href": "Template2.html#Ext-Template-method-applyTemplate",
130         "shortDoc": "Returns an HTML fragment of this template with the specified values applied. ...",
131         "static": false,
132         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
133         "private": false,
134         "params": [
135           {
136             "type": "Object/Array",
137             "optional": false,
138             "doc": "<p>The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})</p>\n",
139             "name": "values"
140           }
141         ],
142         "name": "applyTemplate",
143         "owner": "Ext.Template",
144         "doc": "<p>Returns an HTML fragment of this template with the specified values applied.</p>\n",
145         "linenr": 118,
146         "return": {
147           "type": "String",
148           "doc": "<p>The HTML fragment</p>\n"
149         },
150         "html_filename": "Template2.html"
151       },
152       {
153         "deprecated": null,
154         "alias": null,
155         "protected": false,
156         "tagname": "method",
157         "href": "Base3.html#Ext-Base-method-callOverridden",
158         "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo...",
159         "static": false,
160         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
161         "private": false,
162         "params": [
163           {
164             "type": "Array/Arguments",
165             "optional": false,
166             "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
167             "name": "args"
168           }
169         ],
170         "name": "callOverridden",
171         "owner": "Ext.Base",
172         "doc": "<p>Call the original method that was previously overridden with <a href=\"#/api/Ext.Base-method-override\" rel=\"Ext.Base-method-override\" class=\"docClass\">Ext.Base.override</a></p>\n\n<pre><code>Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n\n        return this;\n    }\n});\n\nMy.Cat.override({\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        var instance = this.callOverridden();\n\n        alert(\"Meeeeoooowwww\");\n\n        return instance;\n    }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n                          // alerts \"I'm a cat!\"\n                          // alerts \"Meeeeoooowwww\"\n</code></pre>\n",
173         "linenr": 269,
174         "return": {
175           "type": "Mixed",
176           "doc": "<p>Returns the result after calling the overridden method</p>\n"
177         },
178         "html_filename": "Base3.html"
179       },
180       {
181         "deprecated": null,
182         "alias": null,
183         "protected": true,
184         "tagname": "method",
185         "href": "Base3.html#Ext-Base-method-callParent",
186         "shortDoc": "Call the parent's overridden method. ...",
187         "static": false,
188         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
189         "private": false,
190         "params": [
191           {
192             "type": "Array/Arguments",
193             "optional": false,
194             "doc": "<p>The arguments, either an array or the <code>arguments</code> object\nfrom the current method, for example: <code>this.callParent(arguments)</code></p>\n",
195             "name": "args"
196           }
197         ],
198         "name": "callParent",
199         "owner": "Ext.Base",
200         "doc": "<p>Call the parent's overridden method. For example:</p>\n\n<pre><code>Ext.define('My.own.A', {\n    constructor: function(test) {\n        alert(test);\n    }\n});\n\nExt.define('My.own.B', {\n    extend: 'My.own.A',\n\n    constructor: function(test) {\n        alert(test);\n\n        this.callParent([test + 1]);\n    }\n});\n\nExt.define('My.own.C', {\n    extend: 'My.own.B',\n\n    constructor: function() {\n        alert(\"Going to call parent's overriden constructor...\");\n\n        this.callParent(arguments);\n    }\n});\n\nvar a = new My.own.A(1); // alerts '1'\nvar b = new My.own.B(1); // alerts '1', then alerts '2'\nvar c = new My.own.C(2); // alerts \"Going to call parent's overriden constructor...\"\n                         // alerts '2', then alerts '3'\n</code></pre>\n",
201         "linenr": 124,
202         "return": {
203           "type": "Mixed",
204           "doc": "<p>Returns the result from the superclass' method</p>\n"
205         },
206         "html_filename": "Base3.html"
207       },
208       {
209         "deprecated": null,
210         "alias": null,
211         "protected": false,
212         "tagname": "method",
213         "href": "Template2.html#Ext-Template-method-compile",
214         "shortDoc": "Compiles the template into an internal function, eliminating the RegEx overhead. ...",
215         "static": false,
216         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
217         "private": false,
218         "params": [
219
220         ],
221         "name": "compile",
222         "owner": "Ext.Template",
223         "doc": "<p>Compiles the template into an internal function, eliminating the RegEx overhead.</p>\n",
224         "linenr": 169,
225         "return": {
226           "type": "Ext.Template",
227           "doc": "<p>this</p>\n"
228         },
229         "html_filename": "Template2.html"
230       },
231       {
232         "deprecated": null,
233         "alias": null,
234         "protected": false,
235         "tagname": "method",
236         "href": "Base3.html#Ext-Base-method-create",
237         "shortDoc": "Create a new instance of this Class. ...",
238         "static": true,
239         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
240         "private": false,
241         "params": [
242
243         ],
244         "name": "create",
245         "owner": "Ext.Base",
246         "doc": "<p>Create a new instance of this Class.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.create({\n    someConfig: true\n});\n</code></pre>\n\n<p>All parameters are passed to the constructor of the class.</p>\n",
247         "linenr": 329,
248         "return": {
249           "type": "Object",
250           "doc": "<p>the created instance.</p>\n"
251         },
252         "html_filename": "Base3.html"
253       },
254       {
255         "deprecated": null,
256         "alias": null,
257         "protected": false,
258         "tagname": "method",
259         "href": "Base3.html#Ext-Base-method-createAlias",
260         "shortDoc": "Create aliases for existing prototype methods. ...",
261         "static": true,
262         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
263         "private": false,
264         "params": [
265           {
266             "type": "String/Object",
267             "optional": false,
268             "doc": "<p>The new method name, or an object to set multiple aliases. See\n<a href=\"#/api/Ext.Function-method-flexSetter\" rel=\"Ext.Function-method-flexSetter\" class=\"docClass\">flexSetter</a></p>\n",
269             "name": "alias"
270           },
271           {
272             "type": "String/Object",
273             "optional": false,
274             "doc": "<p>The original method name</p>\n",
275             "name": "origin"
276           }
277         ],
278         "name": "createAlias",
279         "owner": "Ext.Base",
280         "doc": "<p>Create aliases for existing prototype methods. Example:</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    method1: function() { ... },\n    method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n    method3: 'method1',\n    method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -&gt; test.method1()\n</code></pre>\n",
281         "linenr": 648,
282         "return": {
283           "type": "void",
284           "doc": "\n"
285         },
286         "html_filename": "Base3.html"
287       },
288       {
289         "deprecated": null,
290         "alias": null,
291         "protected": false,
292         "tagname": "method",
293         "href": "Template2.html#Ext-Template-method-from",
294         "shortDoc": "Creates a template from the passed element's value (display:none textarea, preferred) or innerHTML. ...",
295         "static": true,
296         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
297         "private": false,
298         "params": [
299           {
300             "type": "String/HTMLElement",
301             "optional": false,
302             "doc": "<p>A DOM element or its id</p>\n",
303             "name": "el"
304           },
305           {
306             "type": "Object",
307             "optional": false,
308             "doc": "<p>A configuration object</p>\n",
309             "name": "config"
310           }
311         ],
312         "name": "from",
313         "owner": "Ext.Template",
314         "doc": "<p>Creates a template from the passed element's value (<i>display:none</i> textarea, preferred) or innerHTML.</p>\n",
315         "linenr": 59,
316         "return": {
317           "type": "Ext.Template",
318           "doc": "<p>The created template</p>\n"
319         },
320         "html_filename": "Template2.html"
321       },
322       {
323         "deprecated": null,
324         "alias": null,
325         "protected": false,
326         "tagname": "method",
327         "href": "Base3.html#Ext-Base-method-getName",
328         "shortDoc": "Get the current class' name in string format. ...",
329         "static": false,
330         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
331         "private": false,
332         "params": [
333
334         ],
335         "name": "getName",
336         "owner": "Ext.Base",
337         "doc": "<p>Get the current class' name in string format.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    constructor: function() {\n        alert(this.self.getName()); // alerts 'My.cool.Class'\n    }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n</code></pre>\n",
338         "linenr": 631,
339         "return": {
340           "type": "String",
341           "doc": "<p>className</p>\n"
342         },
343         "html_filename": "Base3.html"
344       },
345       {
346         "deprecated": null,
347         "alias": null,
348         "protected": false,
349         "tagname": "method",
350         "href": "Base3.html#Ext-Base-method-implement",
351         "shortDoc": "Add methods / properties to the prototype of this class. ...",
352         "static": true,
353         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
354         "private": false,
355         "params": [
356           {
357             "type": "Object",
358             "optional": false,
359             "doc": "\n",
360             "name": "members"
361           }
362         ],
363         "name": "implement",
364         "owner": "Ext.Base",
365         "doc": "<p>Add methods / properties to the prototype of this class.</p>\n\n<pre><code>Ext.define('My.awesome.Cat', {\n    constructor: function() {\n        ...\n    }\n});\n\n My.awesome.Cat.implement({\n     meow: function() {\n        alert('Meowww...');\n     }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n</code></pre>\n",
366         "linenr": 415,
367         "return": {
368           "type": "void",
369           "doc": "\n"
370         },
371         "html_filename": "Base3.html"
372       },
373       {
374         "deprecated": null,
375         "alias": null,
376         "protected": true,
377         "tagname": "method",
378         "href": "Base3.html#Ext-Base-method-initConfig",
379         "shortDoc": "Initialize configuration for this class. ...",
380         "static": false,
381         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
382         "private": false,
383         "params": [
384           {
385             "type": "Object",
386             "optional": false,
387             "doc": "\n",
388             "name": "config"
389           }
390         ],
391         "name": "initConfig",
392         "owner": "Ext.Base",
393         "doc": "<p>Initialize configuration for this class. a typical example:</p>\n\n<pre><code>Ext.define('My.awesome.Class', {\n    // The default config\n    config: {\n        name: 'Awesome',\n        isAwesome: true\n    },\n\n    constructor: function(config) {\n        this.initConfig(config);\n\n        return this;\n    }\n});\n\nvar awesome = new My.awesome.Class({\n    name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n</code></pre>\n",
394         "linenr": 63,
395         "return": {
396           "type": "Object",
397           "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
398         },
399         "html_filename": "Base3.html"
400       },
401       {
402         "deprecated": null,
403         "alias": null,
404         "protected": false,
405         "tagname": "method",
406         "href": "Template2.html#Ext-Template-method-insertAfter",
407         "shortDoc": "Applies the supplied values to the template and inserts the new node(s) after el. ...",
408         "static": false,
409         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
410         "private": false,
411         "params": [
412           {
413             "type": "Mixed",
414             "optional": false,
415             "doc": "<p>The context element</p>\n",
416             "name": "el"
417           },
418           {
419             "type": "Object/Array",
420             "optional": false,
421             "doc": "<p>The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})</p>\n",
422             "name": "values"
423           },
424           {
425             "type": "Boolean",
426             "optional": true,
427             "doc": "<p>(optional) true to return a <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Ext.core.Element</a> (defaults to undefined)</p>\n",
428             "name": "returnElement"
429           }
430         ],
431         "name": "insertAfter",
432         "owner": "Ext.Template",
433         "doc": "<p>Applies the supplied values to the template and inserts the new node(s) after el.</p>\n",
434         "linenr": 224,
435         "return": {
436           "type": "HTMLElement/Ext.core.Element",
437           "doc": "<p>The new node or Element</p>\n"
438         },
439         "html_filename": "Template2.html"
440       },
441       {
442         "deprecated": null,
443         "alias": null,
444         "protected": false,
445         "tagname": "method",
446         "href": "Template2.html#Ext-Template-method-insertBefore",
447         "shortDoc": "Applies the supplied values to the template and inserts the new node(s) before el. ...",
448         "static": false,
449         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
450         "private": false,
451         "params": [
452           {
453             "type": "Mixed",
454             "optional": false,
455             "doc": "<p>The context element</p>\n",
456             "name": "el"
457           },
458           {
459             "type": "Object/Array",
460             "optional": false,
461             "doc": "<p>The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})</p>\n",
462             "name": "values"
463           },
464           {
465             "type": "Boolean",
466             "optional": true,
467             "doc": "<p>(optional) true to return a <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Ext.core.Element</a> (defaults to undefined)</p>\n",
468             "name": "returnElement"
469           }
470         ],
471         "name": "insertBefore",
472         "owner": "Ext.Template",
473         "doc": "<p>Applies the supplied values to the template and inserts the new node(s) before el.</p>\n",
474         "linenr": 213,
475         "return": {
476           "type": "HTMLElement/Ext.core.Element",
477           "doc": "<p>The new node or Element</p>\n"
478         },
479         "html_filename": "Template2.html"
480       },
481       {
482         "deprecated": null,
483         "alias": null,
484         "protected": false,
485         "tagname": "method",
486         "href": "Template2.html#Ext-Template-method-insertFirst",
487         "shortDoc": "Applies the supplied values to the template and inserts the new node(s) as the first child of el. ...",
488         "static": false,
489         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
490         "private": false,
491         "params": [
492           {
493             "type": "Mixed",
494             "optional": false,
495             "doc": "<p>The context element</p>\n",
496             "name": "el"
497           },
498           {
499             "type": "Object/Array",
500             "optional": false,
501             "doc": "<p>The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})</p>\n",
502             "name": "values"
503           },
504           {
505             "type": "Boolean",
506             "optional": true,
507             "doc": "<p>(optional) true to return a <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Ext.core.Element</a> (defaults to undefined)</p>\n",
508             "name": "returnElement"
509           }
510         ],
511         "name": "insertFirst",
512         "owner": "Ext.Template",
513         "doc": "<p>Applies the supplied values to the template and inserts the new node(s) as the first child of el.</p>\n",
514         "linenr": 202,
515         "return": {
516           "type": "HTMLElement/Ext.core.Element",
517           "doc": "<p>The new node or Element</p>\n"
518         },
519         "html_filename": "Template2.html"
520       },
521       {
522         "deprecated": null,
523         "alias": null,
524         "protected": false,
525         "tagname": "method",
526         "href": "Base3.html#Ext-Base-method-override",
527         "shortDoc": "Override prototype members of this class. ...",
528         "static": true,
529         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
530         "private": false,
531         "params": [
532           {
533             "type": "Object",
534             "optional": false,
535             "doc": "\n",
536             "name": "members"
537           }
538         ],
539         "name": "override",
540         "owner": "Ext.Base",
541         "doc": "<p>Override prototype members of this class. Overridden methods can be invoked via\n<a href=\"#/api/Ext.Base-method-callOverridden\" rel=\"Ext.Base-method-callOverridden\" class=\"docClass\">Ext.Base.callOverridden</a></p>\n\n<pre><code>Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n\n        return this;\n    }\n});\n\nMy.Cat.override({\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        var instance = this.callOverridden();\n\n        alert(\"Meeeeoooowwww\");\n\n        return instance;\n    }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n                          // alerts \"I'm a cat!\"\n                          // alerts \"Meeeeoooowwww\"\n</code></pre>\n",
542         "linenr": 518,
543         "return": {
544           "type": "Ext.Base",
545           "doc": "<p>this</p>\n"
546         },
547         "html_filename": "Base3.html"
548       },
549       {
550         "deprecated": null,
551         "alias": null,
552         "protected": false,
553         "tagname": "method",
554         "href": "Template2.html#Ext-Template-method-overwrite",
555         "shortDoc": "Applies the supplied values to the template and overwrites the content of el with the new node(s). ...",
556         "static": false,
557         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
558         "private": false,
559         "params": [
560           {
561             "type": "Mixed",
562             "optional": false,
563             "doc": "<p>The context element</p>\n",
564             "name": "el"
565           },
566           {
567             "type": "Object/Array",
568             "optional": false,
569             "doc": "<p>The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})</p>\n",
570             "name": "values"
571           },
572           {
573             "type": "Boolean",
574             "optional": true,
575             "doc": "<p>(optional) true to return a <a href=\"#/api/Ext.core.Element\" rel=\"Ext.core.Element\" class=\"docClass\">Ext.core.Element</a> (defaults to undefined)</p>\n",
576             "name": "returnElement"
577           }
578         ],
579         "name": "overwrite",
580         "owner": "Ext.Template",
581         "doc": "<p>Applies the supplied values to the template and overwrites the content of el with the new node(s).</p>\n",
582         "linenr": 256,
583         "return": {
584           "type": "HTMLElement/Ext.core.Element",
585           "doc": "<p>The new node or Element</p>\n"
586         },
587         "html_filename": "Template2.html"
588       },
589       {
590         "deprecated": null,
591         "alias": null,
592         "protected": false,
593         "tagname": "method",
594         "href": "Template2.html#Ext-Template-method-set",
595         "shortDoc": "Sets the HTML used as the template and optionally compiles it. ...",
596         "static": false,
597         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
598         "private": false,
599         "params": [
600           {
601             "type": "String",
602             "optional": false,
603             "doc": "\n",
604             "name": "html"
605           },
606           {
607             "type": "Boolean",
608             "optional": true,
609             "doc": "<p>(optional) True to compile the template (defaults to undefined)</p>\n",
610             "name": "compile"
611           }
612         ],
613         "name": "set",
614         "owner": "Ext.Template",
615         "doc": "<p>Sets the HTML used as the template and optionally compiles it.</p>\n",
616         "linenr": 153,
617         "return": {
618           "type": "Ext.Template",
619           "doc": "<p>this</p>\n"
620         },
621         "html_filename": "Template2.html"
622       },
623       {
624         "deprecated": null,
625         "alias": null,
626         "protected": true,
627         "tagname": "method",
628         "href": "Base3.html#Ext-Base-method-statics",
629         "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
630         "static": false,
631         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
632         "private": false,
633         "params": [
634
635         ],
636         "name": "statics",
637         "owner": "Ext.Base",
638         "doc": "<p>Get the reference to the class from which this object was instantiated. Note that unlike <a href=\"#/api/Ext.Base-property-self\" rel=\"Ext.Base-property-self\" class=\"docClass\">Ext.Base.self</a>,\n<code>this.statics()</code> is scope-independent and it always returns the class from which it was called, regardless of what\n<code>this</code> points to during run-time</p>\n\n<pre><code>Ext.define('My.Cat', {\n    statics: {\n        totalCreated: 0,\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        var statics = this.statics();\n\n        alert(statics.speciesName);     // always equals to 'Cat' no matter what 'this' refers to\n                                        // equivalent to: My.Cat.speciesName\n\n        alert(this.self.speciesName);   // dependent on 'this'\n\n        statics.totalCreated++;\n\n        return this;\n    },\n\n    clone: function() {\n        var cloned = new this.self;                      // dependent on 'this'\n\n        cloned.groupName = this.statics().speciesName;   // equivalent to: My.Cat.speciesName\n\n        return cloned;\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n\n    statics: {\n        speciesName: 'Snow Leopard'     // My.SnowLeopard.speciesName = 'Snow Leopard'\n    },\n\n    constructor: function() {\n        this.callParent();\n    }\n});\n\nvar cat = new My.Cat();                 // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));         // alerts 'My.SnowLeopard'\nalert(clone.groupName);                 // alerts 'Cat'\n\nalert(My.Cat.totalCreated);             // alerts 3\n</code></pre>\n",
639         "linenr": 199,
640         "return": {
641           "type": "Class",
642           "doc": "\n"
643         },
644         "html_filename": "Base3.html"
645       }
646     ],
647     "property": [
648       {
649         "type": "Class",
650         "deprecated": null,
651         "alias": null,
652         "protected": true,
653         "tagname": "property",
654         "href": "Base3.html#Ext-Base-property-self",
655         "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
656         "static": false,
657         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
658         "private": false,
659         "name": "self",
660         "owner": "Ext.Base",
661         "doc": "<p>Get the reference to the current class from which this object was instantiated. Unlike <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>,\n<code>this.self</code> is scope-dependent and it's meant to be used for dynamic inheritance. See <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>\nfor a detailed comparison</p>\n\n<pre><code>Ext.define('My.Cat', {\n    statics: {\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        alert(this.self.speciesName); / dependent on 'this'\n\n        return this;\n    },\n\n    clone: function() {\n        return new this.self();\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n    statics: {\n        speciesName: 'Snow Leopard'         // My.SnowLeopard.speciesName = 'Snow Leopard'\n    }\n});\n\nvar cat = new My.Cat();                     // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard();     // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));             // alerts 'My.SnowLeopard'\n</code></pre>\n",
662         "linenr": 18,
663         "html_filename": "Base3.html"
664       }
665     ],
666     "cssVar": [
667
668     ],
669     "cssMixin": [
670
671     ],
672     "event": [
673
674     ]
675   },
676   "singleton": false,
677   "alias": null,
678   "superclasses": [
679     "Ext.Base"
680   ],
681   "protected": false,
682   "tagname": "class",
683   "mixins": [
684
685   ],
686   "href": "Template2.html#Ext-Template",
687   "subclasses": [
688     "Ext.XTemplate"
689   ],
690   "static": false,
691   "author": null,
692   "component": false,
693   "filename": "/mnt/ebs/nightly/git/SDK/platform/src/Template.js",
694   "private": false,
695   "alternateClassNames": [
696
697   ],
698   "name": "Ext.Template",
699   "doc": "<p>Represents an HTML fragment template. Templates may be <a href=\"#/api/Ext.Template-method-compile\" rel=\"Ext.Template-method-compile\" class=\"docClass\">precompiled</a>\nfor greater performance.</p>\n\n\n<p>An instance of this class may be created by passing to the constructor either\na single argument, or multiple arguments:</p>\n\n<div class=\"mdetail-params\"><ul>\n<li><b>single argument</b> : String/Array\n<div class=\"sub-desc\">\nThe single argument may be either a String or an Array:<ul>\n<li><tt>String</tt> : </li>\n<pre><code>var t = new Ext.Template(\"&lt;div>Hello {0}.&lt;/div>\");\nt.<a href=\"#/api/Ext.Template-method-append\" rel=\"Ext.Template-method-append\" class=\"docClass\">append</a>('some-element', ['foo']);\n   </code></pre>\n<li><tt>Array</tt> : </li>\nAn Array will be combined with <code>join('')</code>.\n<pre><code>var t = new Ext.Template([\n    '&lt;div name=\"{id}\"&gt;',\n        '&lt;span class=\"{cls}\"&gt;{name:trim} {value:ellipsis(10)}&lt;/span&gt;',\n    '&lt;/div&gt;',\n]);\nt.<a href=\"#/api/Ext.Template-method-compile\" rel=\"Ext.Template-method-compile\" class=\"docClass\">compile</a>();\nt.<a href=\"#/api/Ext.Template-method-append\" rel=\"Ext.Template-method-append\" class=\"docClass\">append</a>('some-element', {id: 'myid', cls: 'myclass', name: 'foo', value: 'bar'});\n   </code></pre>\n</ul></div></li>\n<li><b>multiple arguments</b> : String, Object, Array, ...\n<div class=\"sub-desc\">\nMultiple arguments will be combined with <code>join('')</code>.\n<pre><code>var t = new Ext.Template(\n    '&lt;div name=\"{id}\"&gt;',\n        '&lt;span class=\"{cls}\"&gt;{name} {value}&lt;/span&gt;',\n    '&lt;/div&gt;',\n    // a configuration object:\n    {\n        compiled: true,      // <a href=\"#/api/Ext.Template-method-compile\" rel=\"Ext.Template-method-compile\" class=\"docClass\">compile</a> immediately\n    }\n);\n   </code></pre>\n<p><b>Notes</b>:</p>\n<div class=\"mdetail-params\"><ul>\n<li>For a list of available format functions, see <a href=\"#/api/Ext.util.Format\" rel=\"Ext.util.Format\" class=\"docClass\">Ext.util.Format</a>.</li>\n<li><code>disableFormats</code> reduces <code><a href=\"#/api/Ext.Template-method-apply\" rel=\"Ext.Template-method-apply\" class=\"docClass\">apply</a></code> time\nwhen no formatting is required.</li>\n</ul></div>\n</div></li>\n</ul></div>\n\n",
700   "mixedInto": [
701
702   ],
703   "linenr": 1,
704   "xtypes": [
705
706   ],
707   "html_filename": "Template2.html",
708   "extends": "Ext.Base"
709 });