class JControllerBase implements JController

Joomla Platform Base Controller Class

Methods

__construct( JInput $input = null, AbstractApplication $app = null)

Instantiate the controller.

AbstractApplication
getApplication()

Get the application object.

JInput
getInput()

Get the input object.

string
serialize()

Serialize the controller.

unserialize( string $input)

Unserialize the controller.

Details

__construct( JInput $input = null, AbstractApplication $app = null)

Instantiate the controller.

Parameters

JInput $input The input object.
AbstractApplication $app The application object.

AbstractApplication getApplication()

Get the application object.

Return Value

AbstractApplication The application object.

JInput getInput()

Get the input object.

Return Value

JInput The input object.

string serialize()

Serialize the controller.

Return Value

string The serialized controller.

JController unserialize( string $input)

Unserialize the controller.

Parameters

string $input The serialized controller.

Return Value

JController Supports chaining.

Exceptions

UnexpectedValueException if input is not the right class.