| Package | com.lafabrick.reflex.model |
| Class | public class ModelLocator |
NOTE: model BaseModel are automatically registered in ModelLocator.
| Method | Defined by | ||
|---|---|---|---|
|
[static]
Return this instance of target model
| ModelLocator | ||
|
registerModel(model:BaseModel):void
[static]
Registering a model in the dictionary
| ModelLocator | ||
|
unregisterModel(modelClass:Class):void
[static]
Unregistering a Model in the dictionary
| ModelLocator | ||
| getModel | () | method |
public static function getModel(modelClass:Class):BaseModelReturn this instance of target model
ParametersmodelClass:Class — Class corresponding to the target model
|
BaseModel —
Object type BaseModel
|
See also
| registerModel | () | method |
public static function registerModel(model:BaseModel):voidRegistering a model in the dictionary
Parametersmodel:BaseModel — instance of model to register
|
| unregisterModel | () | method |
public static function unregisterModel(modelClass:Class):voidUnregistering a Model in the dictionary
ParametersmodelClass:Class — Class corresponding to the model to be removed from the dictionary
|