Lines Matching refs:collection
400 if (options.collection) this.collection = options.collection;
674 model.trigger('destroy', model, model.collection, options);
700 _.result(this.collection, 'url') ||
1060 var collection = this;
1063 collection[method](resp, options);
1064 if (success) success.call(options.context, collection, resp, options);
1065 collection.trigger('sync', collection, resp, options);
1080 var collection = this;
1083 if (wait) collection.add(m, callbackOpts);
1121 if (!attrs.collection) attrs.collection = this;
1125 options.collection = this;
1179 if (this === model.collection) delete model.collection;
1187 _onModelEvent: function(event, model, collection, options) { argument
1189 if ((event === 'add' || event === 'remove') && collection !== this) return;