AbstractModel

Implements \Joomla\Model\ModelInterface

Joomla Framework Base Model Class

deprecated
since

1.0

deprecated

2.0 Implement the model interfaces directly; the concrete implementations are provided as traits

Methods

__construct

Instantiate the model.

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

1.0

Arguments

$state

\Joomla\Registry\RegistryThe model state.

getState

Get the model state.

getState() : \Joomla\Registry\Registry
since

1.0

Response

\Joomla\Registry\RegistryThe state object.

setState

Set the model state.

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

1.0

Arguments

$state

\Joomla\Registry\RegistryThe state object.

Properties

state

The model state.

since

1.0

Type(s)

\Joomla\Registry\Registry