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" : "The default HTTP method to be used for requests. (defaults to undefined; if not set but parms are present will use POST, otherwise GET)",
52 "desc" : "The timeout in milliseconds to be used for requests. (defaults to 30000)",
60 "desc" : "Whether this request should abort any pending requests. (defaults to false)",
68 "desc" : "The default URL to be used for requests to the server. (defaults to undefined)",
74 "name" : "extraParams",
76 "desc" : "An object containing properties which are used as\nextra parameters to each request made by this object. (defaults to undefined)",
82 "name" : "disableCaching",
84 "desc" : "True to add a unique cache-buster param to GET requests. (defaults to true)",
90 "name" : "defaultHeaders",
92 "desc" : "An object containing request headers which are added\n to each request made by this object. (defaults to undefined)",
100 "name" : "getConnection",
102 "desc" : "Return the {@link Roo.data.Connection} object being used by this Proxy.",
103 "sig" : "()\n{\n\n}",
107 "isConstructor" : false,
119 "type" : "Connection",
120 "desc" : "The Connection object. This object may be used to subscribe to events on\na finer-grained basis than the DataProxy events."
127 "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.",
128 "sig" : "(params, reader, callback, scope, arg)",
132 "isConstructor" : false,
144 "desc" : "An object containing properties which are to be used as HTTP parameters\nfor the request to the remote server.",
149 "type" : "Roo.data.DataReader",
150 "desc" : "The Reader object which converts the data\nobject into a block of Roo.data.Records.",
156 "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>",
162 "desc" : "The scope in which to call the callback",
168 "desc" : "An optional argument which is passed to the callback as its second parameter.",
175 "name" : "purgeListeners",
177 "desc" : "Removes all listeners for this object",
178 "sig" : "()\n{\n\n}",
180 "memberOf" : "Roo.util.Observable",
182 "isConstructor" : false,
196 "desc" : "Appends an event handler to this element (shorthand for addListener)",
197 "sig" : "(eventName, handler, scope, options)",
199 "memberOf" : "Roo.util.Observable",
201 "isConstructor" : false,
211 "name" : "eventName",
213 "desc" : "The type of event to listen for",
219 "desc" : "The method the event invokes",
225 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
231 "desc" : "(optional)",
240 "desc" : "Removes a listener (shorthand for removeListener)",
241 "sig" : "(eventName, handler, scope)",
243 "memberOf" : "Roo.util.Observable",
245 "isConstructor" : false,
255 "name" : "eventName",
257 "desc" : "The type of event to listen for",
263 "desc" : "The handler to remove",
269 "desc" : "(optional) The scope (this object) for the handler",
276 "name" : "addEvents",
278 "desc" : "Used to define events on this Observable",
281 "memberOf" : "Roo.util.Observable",
283 "isConstructor" : false,
295 "desc" : "The object with the events defined",
302 "name" : "releaseCapture",
304 "desc" : "Removes <b>all</b> added captures from the Observable.",
307 "memberOf" : "Roo.util.Observable",
309 "isConstructor" : false,
320 "type" : "Observable",
321 "desc" : "The Observable to release",
328 "name" : "removeListener",
330 "desc" : "Removes a listener",
331 "sig" : "(eventName, handler, scope)",
333 "memberOf" : "Roo.util.Observable",
335 "isConstructor" : false,
345 "name" : "eventName",
347 "desc" : "The type of event to listen for",
353 "desc" : "The handler to remove",
359 "desc" : "(optional) The scope (this object) for the handler",
366 "name" : "fireEvent",
368 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
369 "sig" : "(eventName, args)",
371 "memberOf" : "Roo.util.Observable",
373 "isConstructor" : false,
383 "name" : "eventName",
390 "type" : "Object...",
391 "desc" : "Variable number of parameters are passed to handlers",
399 "desc" : "returns false if any of the handlers return false otherwise it returns true"
404 "name" : "hasListener",
406 "desc" : "Checks to see if this object has any listeners for a specified event",
407 "sig" : "(eventName)",
409 "memberOf" : "Roo.util.Observable",
411 "isConstructor" : false,
421 "name" : "eventName",
423 "desc" : "The name of the event to check for",
431 "desc" : "True if the event is being listened for, else false"
438 "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.",
439 "sig" : "(o, fn, scope)",
441 "memberOf" : "Roo.util.Observable",
443 "isConstructor" : false,
454 "type" : "Observable",
455 "desc" : "The Observable to capture",
461 "desc" : "The function to call",
467 "desc" : "(optional) The scope (this object) for the fn",
474 "name" : "addListener",
476 "desc" : "Appends an event handler to this component",
477 "sig" : "(eventName, handler, scope, options)",
479 "memberOf" : "Roo.util.Observable",
481 "isConstructor" : false,
491 "name" : "eventName",
493 "desc" : "The type of event to listen for",
499 "desc" : "The method the event invokes",
505 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
511 "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>",
522 "desc" : "Fires before the load method's callback is called.",
523 "sig" : "function (This, o, arg)\n{\n\n}",
524 "memberOf" : "Roo.data.DataProxy",
533 "desc" : "DataProxy object.",
539 "desc" : "The data object.",
545 "desc" : "The callback argument object passed to the load function.",
552 "name" : "beforeload",
554 "desc" : "Fires before a network request is made to retrieve a data object.",
555 "sig" : "function (This, params)\n{\n\n}",
556 "memberOf" : "Roo.data.DataProxy",
565 "desc" : "DataProxy object.",
571 "desc" : "The params parameter to the load function.",
578 "name" : "loadexception",
580 "desc" : "Fires if an Exception occurs during data retrieval.",
581 "sig" : "function (This, o, arg, e)\n{\n\n}",
582 "memberOf" : "Roo.data.DataProxy",
591 "desc" : "DataProxy object.",
597 "desc" : "The data object.",
603 "desc" : "The callback argument object passed to the load function.",
609 "desc" : "The Exception.",