2 "name" : "Roo.data.HttpProxy",
10 "desc" : "An implementation of {@link Roo.data.DataProxy} that reads a data object from an {@link Roo.data.Connection} object\nconfigured to reference a certain URL.<br><br>\n<p>\n<em>Note that this class cannot be used to retrieve data from a domain other than the domain\nfrom which the running page was served.<br><br>\n<p>\nFor cross-domain access to remote data, use an {@link Roo.data.ScriptTagProxy}.</em><br><br>\n<p>\nBe aware that to enable the browser to parse an XML document, the server must set\nthe Content-Type header in the HTTP response to \"text/xml\".",
11 "isSingleton" : false,
15 "isBuilderTop" : false,
16 "memberOf" : "HttpProxy",
25 "desc" : "Connection config options to add to each request (e.g. {url: 'foo.php'} or\nan {@link Roo.data.Connection} object. If a Connection config is passed, the singleton {@link Roo.Ajax} object\nwill be used to make the request.",
36 "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
37 "memberOf" : "Roo.util.Observable",
44 "desc" : "T) The default HTTP method to be used for requests. (defaults to undefined; if not set but parms are present will use POST, otherwise GE",
55 "desc" : "The timeout in milliseconds to be used for requests. (defaults to 30000)",
63 "desc" : "Whether this request should abort any pending requests. (defaults to false)",
71 "desc" : "The default URL to be used for requests to the server. (defaults to undefined)",
77 "name" : "extraParams",
79 "desc" : "An object containing properties which are used as\nextra parameters to each request made by this object. (defaults to undefined)",
85 "name" : "disableCaching",
87 "desc" : "True to add a unique cache-buster param to GET requests. (defaults to true)",
93 "name" : "defaultHeaders",
95 "desc" : "An object containing request headers which are added\n to each request made by this object. (defaults to undefined)",
103 "name" : "getConnection",
105 "desc" : "Return the {@link Roo.data.Connection} object being used by this Proxy.",
106 "sig" : "()\n{\n\n}",
110 "isConstructor" : false,
122 "type" : "Connection",
123 "desc" : "The Connection object. This object may be used to subscribe to events on\na finer-grained basis than the DataProxy events."
130 "desc" : "Load data from the configured {@link Roo.data.Connection}, read the data object into\na block of Roo.data.Records using the passed {@link Roo.data.DataReader} implementation, and\nprocess that block using the passed callback.",
131 "sig" : "(params, reader, callback, scope, arg)",
135 "isConstructor" : false,
147 "desc" : "An object containing properties which are to be used as HTTP parameters\nfor the request to the remote server.",
152 "type" : "Roo.data.DataReader",
153 "desc" : "The Reader object which converts the data\nobject into a block of Roo.data.Records.",
159 "desc" : "The function into which to pass the block of Roo.data.Records.\nThe function must be passed <ul>\n<li>The Record block object</li>\n<li>The \"arg\" argument from the load function</li>\n<li>A boolean success indicator</li>\n</ul>",
165 "desc" : "The scope in which to call the callback",
171 "desc" : "An optional argument which is passed to the callback as its second parameter.",
178 "name" : "purgeListeners",
180 "desc" : "Removes all listeners for this object",
181 "sig" : "()\n{\n\n}",
183 "memberOf" : "Roo.util.Observable",
185 "isConstructor" : false,
199 "desc" : "Appends an event handler to this element (shorthand for addListener)",
200 "sig" : "(eventName, handler, scope, options)",
202 "memberOf" : "Roo.util.Observable",
204 "isConstructor" : false,
214 "name" : "eventName",
216 "desc" : "The type of event to listen for",
222 "desc" : "The method the event invokes",
228 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
234 "desc" : "(optional)",
243 "desc" : "Removes a listener (shorthand for removeListener)",
244 "sig" : "(eventName, handler, scope)",
246 "memberOf" : "Roo.util.Observable",
248 "isConstructor" : false,
258 "name" : "eventName",
260 "desc" : "The type of event to listen for",
266 "desc" : "The handler to remove",
272 "desc" : "(optional) The scope (this object) for the handler",
279 "name" : "addEvents",
281 "desc" : "Used to define events on this Observable",
284 "memberOf" : "Roo.util.Observable",
286 "isConstructor" : false,
298 "desc" : "The object with the events defined",
305 "name" : "releaseCapture",
307 "desc" : "Removes <b>all</b> added captures from the Observable.",
310 "memberOf" : "Roo.util.Observable",
312 "isConstructor" : false,
323 "type" : "Observable",
324 "desc" : "The Observable to release",
331 "name" : "removeListener",
333 "desc" : "Removes a listener",
334 "sig" : "(eventName, handler, scope)",
336 "memberOf" : "Roo.util.Observable",
338 "isConstructor" : false,
348 "name" : "eventName",
350 "desc" : "The type of event to listen for",
356 "desc" : "The handler to remove",
362 "desc" : "(optional) The scope (this object) for the handler",
369 "name" : "fireEvent",
371 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
372 "sig" : "(eventName, args)",
374 "memberOf" : "Roo.util.Observable",
376 "isConstructor" : false,
386 "name" : "eventName",
393 "type" : "Object...",
394 "desc" : "Variable number of parameters are passed to handlers",
402 "desc" : "returns false if any of the handlers return false otherwise it returns true"
407 "name" : "hasListener",
409 "desc" : "Checks to see if this object has any listeners for a specified event",
410 "sig" : "(eventName)",
412 "memberOf" : "Roo.util.Observable",
414 "isConstructor" : false,
424 "name" : "eventName",
426 "desc" : "The name of the event to check for",
434 "desc" : "True if the event is being listened for, else false"
441 "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
442 "sig" : "(o, fn, scope)",
444 "memberOf" : "Roo.util.Observable",
446 "isConstructor" : false,
457 "type" : "Observable",
458 "desc" : "The Observable to capture",
464 "desc" : "The function to call",
470 "desc" : "(optional) The scope (this object) for the fn",
477 "name" : "addListener",
479 "desc" : "Appends an event handler to this component",
480 "sig" : "(eventName, handler, scope, options)",
482 "memberOf" : "Roo.util.Observable",
484 "isConstructor" : false,
494 "name" : "eventName",
496 "desc" : "The type of event to listen for",
502 "desc" : "The method the event invokes",
508 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
514 "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n \t\tdelay: 100,\n \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n \t\tfn: this.onClick,\n \t\tscope: this,\n \t\tdelay: 100\n \t\t}, \n \t\t'mouseover': {\n \t\tfn: this.onMouseOver,\n \t\tscope: this\n \t\t},\n \t\t'mouseout': {\n \t\tfn: this.onMouseOut,\n \t\tscope: this\n \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n \t\t'mouseover': this.onMouseOver,\n \t\t'mouseout': this.onMouseOut,\n \t\tscope: this\n\t\t});\n\t\t</code></pre>",
525 "desc" : "Fires before the load method's callback is called.",
526 "sig" : "function (This, o, arg)\n{\n\n}",
527 "memberOf" : "Roo.data.DataProxy",
536 "desc" : "DataProxy object.",
542 "desc" : "The data object.",
548 "desc" : "The callback argument object passed to the load function.",
555 "name" : "beforeload",
557 "desc" : "Fires before a network request is made to retrieve a data object.",
558 "sig" : "function (This, params)\n{\n\n}",
559 "memberOf" : "Roo.data.DataProxy",
568 "desc" : "DataProxy object.",
574 "desc" : "The params parameter to the load function.",
581 "name" : "loadexception",
583 "desc" : "Fires if an Exception occurs during data retrieval.",
584 "sig" : "function (This, o, arg, e)\n{\n\n}",
585 "memberOf" : "Roo.data.DataProxy",
594 "desc" : "DataProxy object.",
600 "desc" : "The data object.",
606 "desc" : "The callback argument object passed to the load function.",
612 "desc" : "The Exception.",