[Config Option] (String[])
[Config Option] (String/String[])
[Config Option] (Object[])
[Config Option] (String/Object/String[]/Object[])
[Config Option] (String/String[])
[Config Option] (String)
[Config Option] (Object)
[Property] (Boolean)
[Property] (Boolean)
[Config Option] (String)
[Config Option] (Object[]/String[])
[Config Option] (String/Object/String[]/Object[])
[Config Option] (String/Object/String[]/Object[])
[Config Option] (String)
[Config Option] (Object/String)
[Config Option] (Object)
[Config Option] (Object)
[Config Option] (Object)
[Property] (Object)
[Property] (Boolean)
[Config Option] (Object)
[Config Option] (Object/Ext.data.Proxy)
[Property] (Object)
[Property] (Ext.Class)
[Config Option] (Boolean)
[Config Option] (Object)
[Property] (Array)
[Config Option] (Boolean)
[Config Option] (String[])
[Config Option] (Object[])
[Method] Appends an after event handler
String/String[]/Object The name of the event to listen for.
Function/String The method the event invokes.
Object The scope for fn.
Object An object containing handler configuration.
[Method] Appends a before event handler
String/String[]/Object The name of the event to listen for.
Function/String The method the event invokes.
Object The scope for fn.
Object An object containing handler configuration.
[Method] Adds the specified events to the list of events which this Observable may fire
Object/String... Either an object with event names as properties with a value of true or the first event name string if multiple event names are being passed as separate parameters.
[Method] Appends an event handler to this object
String/String[]/Object The name of the event to listen for. May also be an object who's property names are event names.
Function/String The method the event invokes. Will be called with arguments given to fireEvent plus the options parameter described below.
Object The scope (this reference) in which the handler function is executed. If omitted, defaults to the object which fired the event.
Object An object containing handler configuration. This object may contain any of the following properties:
String The order of when the listener should be added into the listener queue. Possible values are before, current and after.
[Method] Adds listeners to any Observable object or Element which are automatically removed when this Component is destroyed
Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.
Object/String The event name, or an object containing event name properties.
Function If the eventName parameter was an event name, this is the handler function.
Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.
Object If the eventName parameter was an event name, this is the addListener options.
[Method] Begins an edit
[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does
Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)
any
Object Returns the result of calling the overridden method
[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does
Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)
any
Object Returns the result of calling the overridden method
[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does
Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)
any
Object Returns the result of calling the overridden method
[Method] Call the parent method of the current method
Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)
any
Object Returns the result of calling the parent method
[Method] Call the parent method of the current method
Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)
any
Object Returns the result of calling the parent method
[Method] Call the parent method of the current method
Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)
any
Object Returns the result of calling the parent method
[Method] This method is used by an override to call the superclass method but bypass any overridden method
Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)
any
Object Returns the result of calling the superclass method
[Method] This method is used by an override to call the superclass method but bypass any overridden method
Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)
any
Object Returns the result of calling the superclass method
[Method] This method is used by an override to call the superclass method but bypass any overridden method
Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)
any
Object Returns the result of calling the superclass method
[Method] Cancels all changes made in the current edit operation
[Method] Removes all listeners for this object
[Method] Usually called by the Ext data Store which owns the model instance
Boolean true to skip notification of the owning store of the change.
[Method] Attempts to mark this purchase as complete
Object
[Method] Creates a copy clone of this Model instance
String A new id. If you don't specify this a new id will be generated for you. To generate a phantom instance with a new id use: var rec = record.copy(); // clone the record with a new id
Ext.data.Model
[Method] Destroys this model instance
[Method] Enables events fired by this Observable to bubble up an owner hierarchy by calling this getBubbleTarget if present
String/String[] The event name to bubble, or an Array of event names.
[Method] Ends an edit
Boolean true to not notify the store of the change.
String[] Array of field names changed during edit.
[Method] Destroys the record using the configured proxy
Object/Function Options to pass to the proxy. Config object for Ext.data.Operation. If you pass a function, this will automatically become the callback method. For convenience the config object may also contain success and failure methods in addition to callback - they will all be invoked with the Model and Operation as arguments.
Object The scope to run your callback method in. This is only used if you passed a function as the first argument.
Ext.data.Model The Model instance.
[Method] Fires the specified event with the passed parameters and execute a function action at the end if there are no liste
String The name of the event to fire.
Array Arguments to pass to handers.
Function Action.
Object Scope of fn.
any
Object
[Method] Fires the specified event with the passed parameters minus the event name plus the options object passed to addList
String The name of the event to fire.
Object... Variable number of parameters are passed to handlers.
boolean
Boolean Returns false if any of the handlers return false.
[Method] Returns the value of the given field
String The field to fetch the value for.
any
Object The value.
[Method] Gets all of the data from this Models loaded associations
any
Object The nested data set for the Model's loaded associations.
[Method] Returns the value of associations
Array<any>
Object[]
[Method] Returns the value of belongsTo
any
String/Object/String[]/Object[]
[Method] Returns the value of bubbleEvents
any
String/String[]
[Method] Gets a hash of only the fields that have been modified since this Model was created or committed
any
Object
[Method] Returns the value of clientIdProperty
string
String
[Method] Returns an object containing the data set on this record
Boolean true to include the associated data.
any
Object The data.
[Method] Returns the value of fields
Array<any>
Array
[Method] Returns the value of hasMany
any
String/Object/String[]/Object[]
[Method] Returns the value of hasOne
any
String/Object/String[]/Object[]
[Method] Returns the unique ID allocated to this model instance as defined by idProperty
any
Number/String The id.
[Method] Returns the value of idProperty
string
String
[Method] Returns the value of identifier
any
Object/String
[Method] Returns the initial configuration passed to constructor
String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.
any
Object/Mixed
[Method] Returns the initial configuration passed to constructor
String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.
any
Object/Mixed
[Method] Returns the initial configuration passed to constructor
String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.
any
Object/Mixed
[Method] Returns true if the record has been erased on the server
[Method] Returns the value of listeners
any
Object
[Method] Returns the value of proxy
any
Object/Ext.data.Proxy
[Method] Returns the value of useCache
boolean
Boolean
[Method] Returns the value of validations
Array<any>
Object[]
[Method] Checks to see if this object has any listeners for a specified event
String The name of the event to check for
boolean
Boolean True if the event is being listened for, else false
[Method] Initialize configuration for this class
Object
any
Object mixins The mixin prototypes as key - value pairs
[Method] Initialize configuration for this class
Object
any
Object mixins The mixin prototypes as key - value pairs
[Method] Initialize configuration for this class
Object
any
Object mixins The mixin prototypes as key - value pairs
[Method] Returns true if the passed field name has been modified since the load or last commit
String Ext.data.Field.name
boolean
Boolean
[Method] Checks if the model is valid
boolean
Boolean true if the model is valid.
[Method] By joining this model to an instance of a class this model will automatically try to call certain template methods o
Ext.data.Store The store to which this model has been added.
[Method] Alias for addManagedListener
Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.
Object/String The event name, or an object containing event name properties.
Function If the eventName parameter was an event name, this is the handler function.
Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.
Object If the eventName parameter was an event name, this is the addListener options.
[Method] Alias for removeManagedListener
Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.
Object/String The event name, or an object containing event name properties.
Function If the eventName parameter was an event name, this is the handler function.
Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.
[Method] Alias for addListener
String/String[]/Object The name of the event to listen for. May also be an object who's property names are event names.
Function/String The method the event invokes. Will be called with arguments given to fireEvent plus the options parameter described below.
Object The scope (this reference) in which the handler function is executed. If omitted, defaults to the object which fired the event.
Object An object containing handler configuration. This object may contain any of the following properties:
String The order of when the listener should be added into the listener queue. Possible values are before, current and after.
[Method] Alias for addAfterListener
String/String[]/Object The name of the event to listen for.
Function/String The method the event invokes.
Object The scope for fn.
Object An object containing handler configuration.
[Method] Alias for addBeforeListener
String/String[]/Object The name of the event to listen for.
Function/String The method the event invokes.
Object The scope for fn.
Object An object containing handler configuration.
[Method] Usually called by the Ext data Store to which this model instance has been joined
Boolean true to skip notification of the owning store of the change.
[Method] Relays selected events from the specified Observable as if the events were fired by this
Object The Observable whose events this object is to relay.
String/Array/Object Array of event names to relay.
Ext.mixin.Observable this
[Method] Removes a before event handler
String/String[]/Object The name of the event the handler was associated with.
Function/String The handler to remove.
Object The scope originally specified for fn.
Object Extra options object.
[Method] Removes a before event handler
String/String[]/Object The name of the event the handler was associated with.
Function/String The handler to remove.
Object The scope originally specified for fn.
Object Extra options object.
[Method] Removes an event handler
String/String[]/Object The type of event the handler was associated with.
Function/String The handler to remove. This must be a reference to the function passed into the addListener call.
Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to addListener or the listener will not be removed.
Object Extra options object. See addListener for details.
String The order of the listener to remove. Possible values are before, current and after.
[Method] Adds listeners to any Observable object or Element which are automatically removed when this Component is destroyed
Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners.
Object/String The event name, or an object containing event name properties.
Function If the eventName parameter was an event name, this is the handler function.
Object If the eventName parameter was an event name, this is the scope in which the handler function is executed.
[Method] Resumes firing events see suspendEvents
Boolean Pass as true to discard any queued events.
[Method] Saves the model instance using the configured proxy
Object/Function Options to pass to the proxy. Config object for Ext.data.Operation. If you pass a function, this will automatically become the callback method. For convenience the config object may also contain success and failure methods in addition to callback - they will all be invoked with the Model and Operation as arguments.
Object The scope to run your callback method in. This is only used if you passed a function as the first argument.
Ext.data.Model The Model instance
[Method] Sets the given field to the given value marks the instance as dirty
String/Object The field to set, or an object containing key/value pairs.
Object The value to set.
[Method] Sets the value of associations
Object[]
[Method] Sets the value of belongsTo
String/Object/String[]/Object[]
[Method] Sets the value of bubbleEvents
String/String[]
[Method] Sets the value of clientIdProperty
String
[Method] This sets the data directly without converting and applying default values
Object
Ext.data.Model This Record.
[Method] This method is used to set the data for this Record instance
Object
Ext.data.Model This record.
[Method] Marks this Record as dirty
[Method] Sets the value of fields
Array
[Method] Sets the value of hasMany
String/Object/String[]/Object[]
[Method] Sets the value of hasOne
String/Object/String[]/Object[]
[Method] Sets the model instance s id field to the given id
Number/String The new id
[Method] Sets the value of idProperty
String
[Method] Sets the value of identifier
Object/String
[Method] Sets the value of listeners
Object
[Method] Sets the value of proxy
Object/Ext.data.Proxy
[Method] Sets the value of useCache
Boolean
[Method] Sets the value of validations
Object[]
[Method] Suspends the firing of all events
[Method] Returns a url suitable string for this model instance
string
String The url string for this model instance.
[Method] Alias for removeListener
String/String[]/Object The type of event the handler was associated with.
Function/String The handler to remove. This must be a reference to the function passed into the addListener call.
Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to addListener or the listener will not be removed.
Object Extra options object. See addListener for details.
String The order of the listener to remove. Possible values are before, current and after.
[Method] Alias for removeAfterListener
String/String[]/Object The name of the event the handler was associated with.
Function/String The handler to remove.
Object The scope originally specified for fn.
Object Extra options object.
[Method] Alias for removeBeforeListener
String/String[]/Object The name of the event the handler was associated with.
Function/String The handler to remove.
Object The scope originally specified for fn.
Object Extra options object.
[Method] This un joins this record from an instance of a class
Ext.data.Store The store from which this model has been removed.
[Method] Validates the current data against all of its configured validations
Ext.data.Errors The errors object.