dojox/app/utils/simpleModel (version 1.10)

Summary

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.

Usage

simpleModel(config,params,item);
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

Returns:model

The model, of the store and query params specified in the config for this model.

Method Summary

Methods

Error in the documentation? Can’t find what you are looking for? Let us know!