Lines Matching refs:model
233 models, model, i, len, args;
243 model = models[i];
245 if (model.isNew()) {
293 models, model, i, len, args;
297 model = id;
299 model = modelList.getById(id) ||
304 if (model) {
308 [model].concat(args));
320 model = models[i];
321 model.destroy.apply(model, args);
367 model, args;
370 model = id;
372 model = modelList.getById(id) ||
377 if (model && isObject(data)) {
380 model.setAttrs.apply(model, args);
382 if (sync && !model.isNew()) {
383 model.save.apply(model, args);