Lines Matching defs:ModelList

22 @class ModelList
70 custom error source defined by a ModelList subclass):
131 function ModelList() {
132 ModelList.superclass.constructor.apply(this, arguments);
135 Y.ModelList = Y.extend(ModelList, Y.Base, {
158 Total hack to allow us to identify ModelList instances without using
181 Y.error('ModelList: Model class not found: ' + model);
202 another ModelList instance, in which case all the models in that list will
219 // Add all the models in another ModelList instance.
223 @param {Model|Model[]|ModelList|Object|Object[]} models Model or array of
226 hashes. You may also pass a ModelList instance to add all the models it
257 var list = new Y.ModelList({model: Y.Model});
323 The callback function's `this` object will refer to this ModelList. Use
334 // Get a new ModelList containing only the models whose "enabled"
343 returned as a new ModelList instance rather than as an array.
348 @param {ModelList} callback.list The ModelList being filtered.
350 @return {Array|ModelList} Array of models for which the callback function
352 the `options.asList` option is truthy, a new ModelList instance will be
376 list = new Y.ModelList({model: this.model});
385 If _name_ refers to an attribute on this ModelList instance, returns the
403 If _name_ refers to an attribute on this ModelList instance, returns the
425 If _name_ refers to an attribute on this ModelList instance, returns the
617 pass another ModelList instance to remove all the models that are in both
621 @param {Model|Model[]|ModelList} models Models to remove.
651 @param {Model[]|ModelList|Object[]} [models] Models to add. May be existing
653 instances will be created from the hashes. If a ModelList is passed, all
1079 Y.augment(ModelList, Y.ArrayList);