You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
14 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. Ext.data.JsonP.Ext_data_Api({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":null,"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/Api.html#Ext-data-Api' target='_blank'>Api.js</a></div></pre><div class='doc-contents'><p><a href=\"#!/api/Ext.data.Api\" rel=\"Ext.data.Api\" class=\"docClass\">Ext.data.Api</a> is a singleton designed to manage the data API including methods\nfor validating a developer's DataProxy API. Defines variables for CRUD actions\ncreate, read, update and destroy in addition to a mapping of RESTful HTTP methods\nGET, POST, PUT and DELETE to CRUD actions.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-property'>Properties</h3><div class='subsection'><div id='property-actions' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.data.Api'>Ext.data.Api</span><br/><a href='source/Api.html#Ext-data-Api-property-actions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.data.Api-property-actions' class='name expandable'>actions</a><span> : Object</span></div><div class='description'><div class='short'>Defined actions corresponding to remote actions:\n\nactions: {\n create : 'create', // Text representing the remote...</div><div class='long'><p>Defined actions corresponding to remote actions:</p>\n\n<pre><code>actions: {\n create : 'create', // Text representing the remote-action to create records on server.\n read : 'read', // Text representing the remote-action to read/load data from server.\n update : 'update', // Text representing the remote-action to update records on server.\n destroy : 'destroy' // Text representing the remote-action to destroy records on server.\n}\n</code></pre>\n\n<p>Defaults to: <code>{create: 'create', read: 'read', update: 'update', destroy: 'destroy'}</code></p></div></div></div><div id='property-restActions' class='member not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.data.Api'>Ext.data.Api</span><br/><a href='source/Api.html#Ext-data-Api-property-restActions' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.data.Api-property-restActions' class='name expandable'>restActions</a><span> : Object</span></div><div class='description'><div class='short'>Defined {CRUD action}:{HTTP method} pairs to associate HTTP methods with the\ncorresponding actions for RESTful proxies. ...</div><div class='long'><p>Defined {CRUD action}:{HTTP method} pairs to associate HTTP methods with the\ncorresponding actions for <a href=\"#!/api/Ext.data.DataProxy-cfg-restful\" rel=\"Ext.data.DataProxy-cfg-restful\" class=\"docClass\">RESTful proxies</a>.\nDefaults to:</p>\n\n<pre><code>restActions : {\n create : 'POST',\n read : 'GET',\n update : 'PUT',\n destroy : 'DELETE'\n},\n</code></pre>\n\n<p>Defaults to: <code>{create: 'POST', read: 'GET', update: 'PUT', destroy: 'DELETE'}</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-getVerb' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.data.Api'>Ext.data.Api</span><br/><a href='source/Api.html#Ext-data-Api-method-getVerb' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.data.Api-method-getVerb' class='name expandable'>getVerb</a>( <span class='pre'>name</span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a>/null</div><div class='description'><div class='short'>Returns the actual CRUD action KEY \"create\", \"read\", \"update\" o