X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/Association.html diff --git a/docs/source/Association.html b/docs/source/Association.html index 74f07468..77db2570 100644 --- a/docs/source/Association.html +++ b/docs/source/Association.html @@ -1,5 +1,22 @@ -Sencha Documentation Project
/**
- * @author Ed Spencer
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
+ * @author Ed Spencer
  * @class Ext.data.Association
  * @extends Object
  *
@@ -113,29 +130,27 @@ Ext.onReady(function(){
 });
  * </code></pre>
  *
- * @constructor
- * @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.
      */
@@ -169,6 +184,10 @@ Ext.define('Ext.data.Association', {
         }
     },
 
+    /**
+     * Creates the Association object.
+     * @param {Object} config (optional) Config object.
+     */
     constructor: function(config) {
         Ext.apply(this, config);
 
@@ -191,13 +210,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 +228,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 +256,6 @@ Ext.define('Ext.data.Association', {
         return me.reader || null;
     }
 });
-
\ No newline at end of file +
+ +