Class: AbstractController

AbstractController

Basic implementation of the Controller interface, providing the default implementation of the most of the API.


<abstract> new AbstractController()

Initializes the controller.

Members


_extensions :Array.<Extension>

The controller's extensions.

Type:

<protected> _pageStateManager :PageStateManager

State manager.

Type:

params :Object.<string, string>

The route parameters extracted from the current route. This field is set externally by IMA right before the init() or the update() method is called.

Type:
  • Object.<string, string>

status :number

The HTTP response code to send to the client.

Type:
  • number

Methods


activate()


addExtension()


deactivate()


destroy()


getExtensions()


getHttpStatus()


getRouteParams()


getState()


init()


<abstract> load()


<abstract> setMetaParams()


setPageStateManager()


setRouteParams()


setState()


update()