AbstractManager ModelMgr
Package: | Ext |
Defined In: | ModelMgr.js |
Class: | ModelMgr |
Extends: | AbstractManager |
Property | Defined By | |
---|---|---|
all : Ext.util.MixedCollection Contains all of the items currently managed | AbstractManager | |
associationStack : Array Private stack of associations that must be created once their associated model has been defined | ModelMgr | |
defaultProxyType : String The string type of the default Model Proxy. Defaults to 'ajax' | ModelMgr |
Method | Defined By | |
---|---|---|
create( Object config , String defaultType )
:
MixedCreates and returns an instance of whatever this manager manages, based on the supplied type and config object Creates and returns an instance of whatever this manager manages, based on the supplied type and config object Parameters:
| AbstractManager | |
get( String id )
:
Ext.ComponentReturns a component by id.
For additional details see Ext.util.MixedCollection.get. Returns a component by id.
For additional details see Ext.util.MixedCollection.get. Parameters:
| AbstractManager | |
getModel( String/Object id )
:
voidReturns the Ext.data.Model for a given model name Returns the Ext.data.Model for a given model name Parameters:
| ModelMgr | |
isRegistered( Ext.Component xtype )
:
BooleanChecks if a Component type is registered. Checks if a Component type is registered. Parameters:
| AbstractManager | |
onAvailable( String id , Function fn , Object scope )
:
voidRegisters a function that will be called when a Component with the specified id is added to the manager. This will ha... Registers a function that will be called when a Component with the specified id is added to the manager. This will happen on instantiation. Parameters:
| AbstractManager | |
register( Mixed item )
:
voidRegisters an item to be managed Registers an item to be managed Parameters:
| AbstractManager | |
registerType()
:
void Registers a model definition. All model plugins marked with isDefault: true are bootstrapped
immediately, as are any ... Registers a model definition. All model plugins marked with isDefault: true are bootstrapped
immediately, as are any addition plugins defined in the model config. Parameters:
| ModelMgr | |
unregister( Mixed item )
:
voidUnregisters a component by removing it from this manager Unregisters a component by removing it from this manager Parameters:
| AbstractManager |