1 Ext.data.JsonP.Ext_Base({
4 "doc": "<p>The root of all classes created with <a href=\"#/api/Ext-method-define\" rel=\"Ext-method-define\" class=\"docClass\">Ext.define</a>\nAll prototype and static members of this class are inherited by any other class</p>\n",
9 "alternateClassNames": [
13 "author": "Jacky Nguyen <jacky@sencha.com>",
14 "docauthor": "Jacky Nguyen <jacky@sencha.com>",
23 "name": "callOverridden",
25 "doc": "<p>Call the original method that was previously overridden with <a href=\"#/api/Ext.Base-property-override\" rel=\"Ext.Base-property-override\" class=\"docClass\">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",
28 "type": "Array/Arguments",
30 "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
36 "doc": "<p>Returns the result after calling the overridden method</p>\n"
40 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
42 "html_filename": "Base3.html",
43 "href": "Base3.html#Ext-Base-method-callOverridden",
44 "shortDoc": "Call the original method that was previously overridden with override\n\nExt.define('My.Cat', {\n constructor: functi..."
50 "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",
56 "doc": "<p>className</p>\n"
60 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
62 "html_filename": "Base3.html",
63 "href": "Base3.html#Ext-Base-method-getName",
64 "shortDoc": "Get the current class' name in string format.\n\nExt.define('My.cool.Class', {\n constructor: function() {\n al..."
69 "tagname": "property",
73 "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",
76 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
78 "html_filename": "Base3.html",
79 "href": "Base3.html#Ext-Base-property-addStatics",
80 "shortDoc": "Add / override static properties of this class.\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.addStatics(..."
83 "tagname": "property",
87 "doc": "<p>Borrow another class' members to the prototype of this class.</p>\n\n<pre><code>Ext.define('Bank', {\n money: '$$$',\n printMoney: function() {\n alert('$$$$$$$');\n }\n});\n\nExt.define('Thief', {\n ...\n});\n\nThief.borrow(Bank, ['money', 'printMoney']);\n\nvar steve = new Thief();\n\nalert(steve.money); // alerts '$$$'\nsteve.printMoney(); // alerts '$$$$$$$'\n</code></pre>\n",
90 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
92 "html_filename": "Base3.html",
93 "href": "Base3.html#Ext-Base-property-borrow",
94 "shortDoc": "Borrow another class' members to the prototype of this class.\n\nExt.define('Bank', {\n money: '$$$',\n printMoney:..."
97 "tagname": "property",
101 "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",
104 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
106 "html_filename": "Base3.html",
107 "href": "Base3.html#Ext-Base-property-create",
108 "shortDoc": "Create a new instance of this Class.\n\nExt.define('My.cool.Class', {\n ...\n});\n\nMy.cool.Class.create({\n someConfi..."
111 "tagname": "property",
112 "name": "createAlias",
113 "member": "Ext.Base",
115 "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() -> test.method1()\n</code></pre>\n",
118 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
120 "html_filename": "Base3.html",
121 "href": "Base3.html#Ext-Base-property-createAlias",
122 "shortDoc": "Create aliases for existing prototype methods. Example:\n\nExt.define('My.cool.Class', {\n method1: function() { ... ..."
125 "tagname": "property",
127 "member": "Ext.Base",
129 "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",
132 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
134 "html_filename": "Base3.html",
135 "href": "Base3.html#Ext-Base-property-implement",
136 "shortDoc": "Add methods / properties to the prototype of this class.\n\nExt.define('My.awesome.Cat', {\n constructor: function() ..."
139 "tagname": "property",
141 "member": "Ext.Base",
143 "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\">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",
146 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
148 "html_filename": "Base3.html",
149 "href": "Base3.html#Ext-Base-property-override",
150 "shortDoc": "Override prototype members of this class. Overridden methods can be invoked via\ncallOverridden\n\nExt.define('My.Cat', ..."
156 "filename": "/Users/nick/Projects/sencha/SDK/platform/core/src/class/Base.js",
158 "html_filename": "Base3.html",
159 "href": "Base3.html#Ext-Base",
171 "Ext.form.action.Action",