interface JController implements Serializable

Joomla Platform Controller Interface

Methods

boolean
execute()

Execute the controller.

AbstractApplication
getApplication()

Get the application object.

JInput
getInput()

Get the input object.

Details

boolean execute()

Execute the controller.

Return Value

boolean True if controller finished execution, false if the controller did not finish execution. A controller might return false if some precondition for the controller to run has not been satisfied.

Exceptions

LogicException
RuntimeException

AbstractApplication getApplication()

Get the application object.

Return Value

AbstractApplication The application object.

JInput getInput()

Get the input object.

Return Value

JInput The input object.