dojox/app/utils/mvcModel (version 1.10)

Summary

mvcModel is called for each mvc model, to create the mvc model based upon the type and 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/mvcModel", it will create the model based upon the type and the params set for the model in the config.

Usage

mvcModel(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 type 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!