AbstractController

controller/AbstractController~ AbstractController

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

Constructor

(abstract) new AbstractController()

Source:
Initializes the controller.

Members

_extensions :Array.<Extension>

Source:
The controller's extensions.
Type:
  • Array.<Extension>

(protected) _pageStateManager :PageStateManager

Source:
State manager.
Type:
  • PageStateManager

params :Object.<string, string>

Source:
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

Source:
The HTTP response code to send to the client.
Type:
  • number

Methods

activate()

Source:

addExtension()

Source:

deactivate()

Source:

destroy()

Source:

getExtensions()

Source:

getHttpStatus()

Source:

getRouteParams()

Source:

getState()

Source:

init()

Source:

(abstract) load()

Source:

(abstract) setMetaParams()

Source:

setPageStateManager()

Source:

setRouteParams()

Source:

setState()

Source:

update()

Source: