JModelBase

Implements \JModel

Joomla Platform Base Model Class

abstract deprecated
since

3.0.0

deprecated

5.0 Use the default MVC library

package

Joomla.Platform

Methods

__construct

Instantiate the model.

__construct(\Joomla\Registry\Registry $state = null) 
since

3.0.0

Arguments

$state

\Joomla\Registry\RegistryThe model state.

getState

Get the model state.

getState() : \Joomla\Registry\Registry
since

3.0.0

Response

\Joomla\Registry\RegistryThe state object.

loadState

Load the model state.

loadState() : \Joomla\Registry\Registry
since

3.0.0

Response

\Joomla\Registry\RegistryThe state object.

setState

Set the model state.

setState(\Joomla\Registry\Registry $state) : void
since

3.0.0

Arguments

$state

\Joomla\Registry\RegistryThe state object.

Properties

state

The model state.

since

3.0.0

Type(s)

\Joomla\Registry\Registry