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
37 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_Record({"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/Record.html#Ext-data-Record' target='_blank'>Record.js</a></div></pre><div class='doc-contents'><p>Instances of this class encapsulate both Record <em>definition</em> information, and Record\n<em>value</em> information for use in <a href=\"#!/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Ext.data.Store</a> objects, or any code which needs\nto access Records cached in an <a href=\"#!/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Ext.data.Store</a> object.</p>\n\n\n<p>Constructors for this class are generated by passing an Array of field definition objects to <a href=\"#!/api/Ext.data.Record-static-method-create\" rel=\"Ext.data.Record-static-method-create\" class=\"docClass\">create</a>.\nInstances are usually only created by Ext.data.Reader implementations when processing unformatted data\nobjects.</p>\n\n\n<p>Note that an instance of a Record class may only belong to one <a href=\"#!/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Store</a> at a time.\nIn order to copy data from one Store to another, use the <a href=\"#!/api/Ext.data.Record-method-copy\" rel=\"Ext.data.Record-method-copy\" class=\"docClass\">copy</a> method to create an exact\ncopy of the Record, and insert the new instance into the other Store.</p>\n\n\n<p>When serializing a Record for submission to the server, be aware that it contains many private\nproperties, and also a reference to its owning Store which in turn holds references to its Records.\nThis means that a whole Record may not be encoded using Ext.util.JSON.encode. Instead, use the\n<code><a href=\"#!/api/Ext.data.Record-property-data\" rel=\"Ext.data.Record-property-data\" class=\"docClass\">data</a></code> and <code><a href=\"#!/api/Ext.data.Record-method-id\" rel=\"Ext.data.Record-method-id\" class=\"docClass\">id</a></code> properties.</p>\n\n\n<p>Record objects generated by this constructor inherit all the methods of <a href=\"#!/api/Ext.data.Record\" rel=\"Ext.data.Record\" class=\"docClass\">Ext.data.Record</a> listed below.</p>\n\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-data' 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.Record'>Ext.data.Record</span><br/><a href='source/Record.html#Ext-data-Record-property-data' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.data.Record-property-data' class='name expandable'>data</a><span> : Object</span></div><div class='description'><div class='short'>An object hash representing the data for this Record. ...</div><div class='long'><p>An object hash representing the data for this Record. Every field name in the Record definition\nis represented by a property of that name in this object. Note that unless you specified a field\nwith <a href=\"#!/api/Ext.data.Field-cfg-name\" rel=\"Ext.data.Field-cfg-name\" class=\"docClass\">name</a> \"id\" in the Record definition, this will <b>not</b> contain\nan <tt>id</tt> property.</p>\n</div></div></div><div id='property-dirty' 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.Record'>Ext.data.Record</span><br/><a href='source/Record.html#Ext-data-Record-property-dirty' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.data.Record-property-dirty' class='name expandable'>dirty</a><span> : Boolean</span></div><div class='description'><div class='short'>Readonly flag - true if this Record has been modified. ...</div><div class='long'><p>Readonly flag - true if this Record h