X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/HasManyAssociation.html diff --git a/docs/source/HasManyAssociation.html b/docs/source/HasManyAssociation.html index 27d3b132..f1bc427e 100644 --- a/docs/source/HasManyAssociation.html +++ b/docs/source/HasManyAssociation.html @@ -3,8 +3,8 @@ The source code - - + + @@ -52,7 +52,7 @@ Ext.define('User', { * <pre><code> //first, we load up a User with id of 1 -var user = Ext.ModelManager.create({id: 1, name: 'Ed'}, 'User'); +var user = Ext.create('User', {id: 1, name: 'Ed'}); //the user.products function was created automatically by the association and returns a {@link Ext.data.Store Store} //the created store is automatically scoped to the set of Products for the User with id of 1 @@ -108,7 +108,7 @@ var store = new Search({query: 'Sencha Touch'}).tweets(); * equivalent to this:</p> * <pre><code> -var store = new Ext.data.Store({ +var store = Ext.create('Ext.data.Store', { model: 'Tweet', filters: [ {