simpleModel is called for each simple model, to create the simple model from the DataStore based upon the store and query params. It will also load models and return the either the loadedModels or a promise.
Called for each model with a modelLoader of "dojox/app/utils/simpleModel", it will create the model based upon the store and query params set for the model in the config.
Parameter | Type | Description |
---|---|---|
config | Object | The models section of the config for this view or for the app. |
params | Object | The params set into the config for this model. |
item | String | The String with the name of this model |
The model, of the store and query params specified in the config for this model.