new ControllerDecorator(controller, metaManager, router, dictionary, settings)
Initializes the controller decorator.
Parameters:
Name | Type | Description |
---|---|---|
controller |
Controller | The controller being decorated. |
metaManager |
MetaManager | The meta page attributes manager. |
router |
Router | The application router. |
dictionary |
Dictionary | Localization phrases dictionary. |
settings |
Object.<string, *> | Application settings for the current application environment. |
Members
-
_controller :Controller
-
The controller being decorated.
Type:
-
_dictionary :Dictionary
-
Localization phrases dictionary.
Type:
-
_metaManager :MetaManager
-
The meta page attributes manager.
Type:
-
_router :Router
-
The application router.
Type:
-
_settings :Object.<string, *>
-
Application settings for the current application environment.
Type:
- Object.<string, *>
Methods
-
activate()
-
-
addExtension()
-
-
deactivate()
-
-
destroy()
-
-
getExtensions()
-
-
getHttpStatus()
-
-
getMetaManager()
-
Returns the meta attributes manager configured by the decorated controller.
Returns:
The Meta attributes manager configured by the decorated controller.
- Type
- MetaManager
-
getRouteParams()
-
-
getState()
-
-
init()
-
-
load()
-
-
setMetaParams()
-
-
setPageStateManager()
-
-
setReactiveView()
-
-
setRouteParams()
-
-
setState()
-
-
update()
-