Class: Base

Base()

new Base()

Source:

Methods

(static) loadRawData(data) → {GeoExt.data.model.Base|undefined}

Loads a record from a provided data structure initializing the models associations. Simply calling Ext.create will not utilize the models configured reader and effectively sidetrack associations configs. This static helper method makes sure associations are initialized properly and are available with the returned record. Be aware that the provided data may be modified by the models reader initializing associations.
Parameters:
Name Type Description
data Object The data to create the record with.
Source:
Returns:
The created record, or undefined if unsuccessful.
Type
GeoExt.data.model.Base | undefined