| Package | com.lafabrick.reflex.controller |
| Class | public class ControllerLocator |
NOTE: controller BaseController are automatically registered in ControllerLocator.
| Method | Defined by | ||
|---|---|---|---|
|
getController(controllerClass:Class):BaseController
[static]
Return this instance of target controller
| ControllerLocator | ||
|
registerController(controller:BaseController):void
[static]
Registering a controller in the dictionary
| ControllerLocator | ||
|
unregisterController(controllerClass:Class):void
[static]
Unregistering a controller in the dictionary
| ControllerLocator | ||
| getController | () | method |
public static function getController(controllerClass:Class):BaseControllerReturn this instance of target controller
ParameterscontrollerClass:Class — Class corresponding to the target controller
|
BaseController —
Object type BaseController
|
See also
| registerController | () | method |
public static function registerController(controller:BaseController):voidRegistering a controller in the dictionary
Parameterscontroller:BaseController — instance of controller to register
|
| unregisterController | () | method |
public static function unregisterController(controllerClass:Class):voidUnregistering a controller in the dictionary
ParameterscontrollerClass:Class — Class corresponding to the controller to be removed from the dictionary
|