ControllerInterface

Extends \Serializable

Joomla Framework Controller Interface

since

1.0

Methods

execute

Execute the controller.

execute() : boolean
since

1.0

throws

\LogicException

\RuntimeException

Response

booleanTrue 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.

getApplication

Get the application object.

getApplication() : \Joomla\Application\AbstractApplication
since

1.0

Response

\Joomla\Application\AbstractApplicationThe application object.

getInput

Get the input object.

getInput() : \Joomla\Input\Input
since

1.0

Response

\Joomla\Input\InputThe input object.

setApplication

Set the application object.

setApplication(\Joomla\Application\AbstractApplication $app) : \Joomla\Controller\ControllerInterface
since

1.0

Arguments

$app

\Joomla\Application\AbstractApplicationThe application object.

Response

\Joomla\Controller\ControllerInterfaceReturns itself to support chaining.

setInput

Set the input object.

setInput(\Joomla\Input\Input $input) : \Joomla\Controller\ControllerInterface
since

1.0

Arguments

$input

\Joomla\Input\InputThe input object.

Response

\Joomla\Controller\ControllerInterfaceReturns itself to support chaining.