wrapModelType (klass, modelName) Objectprivate
Wraps a given model type and observes changes to it.
Parameters:
-
klass
Class - A model class.
-
modelName
String - Name of the class.
Returns:
-
Object - Contains the wrapped type and the function to remove observers Format: type: {Object} The wrapped type. The wrapped type has the following format: name: {String} The name of the type. count: {Integer} The number of records available. columns: {Columns} An array of columns to describe the record. object: {Class} The actual Model type class. release: {Function} The function to remove observers.
Please login to continue.