JControllerBase

Implements \JController

Joomla Platform Base Controller Class

abstract deprecated
since

3.0.0

deprecated

5.0 Use the default MVC library

package

Joomla.Platform

Methods

__construct

Instantiate the controller.

__construct(\JInput $input = null, \Joomla\Application\AbstractApplication $app = null) 
since

3.0.0

Arguments

$input

\JInputThe input object.

$app

\Joomla\Application\AbstractApplicationThe application object.

getApplication

Get the application object.

getApplication() : \Joomla\Application\AbstractApplication
since

3.0.0

Response

\Joomla\Application\AbstractApplicationThe application object.

getInput

Get the input object.

getInput() : \JInput
since

3.0.0

Response

\JInputThe input object.

loadApplication

Load the application object.

loadApplication() : \Joomla\Application\AbstractApplication
since

3.0.0

Response

\Joomla\Application\AbstractApplicationThe application object.

loadInput

Load the input object.

loadInput() : \JInput
since

3.0.0

Response

\JInputThe input object.

serialize

Serialize the controller.

serialize() : string
since

3.0.0

Response

stringThe serialized controller.

unserialize

Unserialize the controller.

unserialize(string $input) : \JController
since

3.0.0

throws

\UnexpectedValueExceptionif input is not the right class.

Arguments

$input

stringThe serialized controller.

Response

\JControllerSupports chaining.

Properties

app

The application object.

input

The input object.

since

3.0.0

Type(s)

\JInput