Lines Matching defs:Model
14 In most cases, you'll want to create your own subclass of `Y.Model` and
19 @class Model
25 var GlobalEnv = YUI.namespace('Env.Model'),
51 custom error source defined by a Model subclass):
93 function Model() {
94 Model.superclass.constructor.apply(this, arguments);
97 Y.Model = Y.extend(Model, Y.Base, {
171 properties passed to Model's constructor. This makes it possible to
173 `Y.Model` and declare all those attributes first.
184 Total hack to allow us to identify Model instances without using
257 return Model.superclass.destroy.call(self);
694 serialized as if they were plain objects. This is why Model's `toJSON`
810 Marked as protected to hide it from Model's public API docs, even though
857 return Model.superclass.addAttr.apply(this, arguments);
892 Y.log('Synchronous validate() methods are deprecated since YUI 3.5.0.', 'warn', 'Model');