X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Association.html diff --git a/docs/source/Association.html b/docs/source/Association.html index 74f07468..b8badeeb 100644 --- a/docs/source/Association.html +++ b/docs/source/Association.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @author Ed Spencer
* @class Ext.data.Association
* @extends Object
@@ -117,25 +134,25 @@ Ext.onReady(function(){
* @param {Object} config Optional config object
*/
Ext.define('Ext.data.Association', {
- /**
+ /**
* @cfg {String} ownerModel The string name of the model that owns the association. Required
*/
- /**
+ /**
* @cfg {String} associatedModel The string name of the model that is being associated with. Required
*/
- /**
+ /**
* @cfg {String} primaryKey The name of the primary key on the associated model. Defaults to 'id'.
* In general this will be the {@link Ext.data.Model#idProperty} of the Model.
*/
primaryKey: 'id',
- /**
+ /**
* @cfg {Ext.data.reader.Reader} reader A special reader to read associated data
*/
- /**
+ /**
* @cfg {String} associationKey The name of the property in the data to read the association from.
* Defaults to the name of the associated model.
*/
@@ -191,13 +208,13 @@ Ext.define('Ext.data.Association', {
this.ownerModel = ownerModel;
this.associatedModel = associatedModel;
- /**
+ /**
* The name of the model that 'owns' the association
* @property ownerName
* @type String
*/
- /**
+ /**
* The name of the model is on the other end of the association (e.g. if a User model hasMany Orders, this is 'Order')
* @property associatedName
* @type String
@@ -209,7 +226,7 @@ Ext.define('Ext.data.Association', {
});
},
- /**
+ /**
* Get a specialized reader for reading associated data
* @return {Ext.data.reader.Reader} The reader, null if not supplied
*/
@@ -237,4 +254,6 @@ Ext.define('Ext.data.Association', {
return me.reader || null;
}
});
-
\ No newline at end of file
+
+
+