Lines Matching refs:Model
16 In most cases, you'll want to create your own subclass of `Y.Model` and
21 @class Model
27 var GlobalEnv = YUI.namespace('Env.Model'),
53 custom error source defined by a Model subclass):
95 function Model() {
96 Model.superclass.constructor.apply(this, arguments);
99 Y.Model = Y.extend(Model, Y.Base, {
173 properties passed to Model's constructor. This makes it possible to
175 `Y.Model` and declare all those attributes first.
186 Total hack to allow us to identify Model instances without using
259 return Model.superclass.destroy.call(self);
696 serialized as if they were plain objects. This is why Model's `toJSON`
812 Marked as protected to hide it from Model's public API docs, even though
859 return Model.superclass.addAttr.apply(this, arguments);
894 Y.log('Synchronous validate() methods are deprecated since YUI 3.5.0.', 'warn', 'Model');