AbstractModel

Implements 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

package

Joomla Framework

Methods

__construct

Instantiate the model.

__construct(\Joomla\Registry\Registry state = null) : mixed
since

1.0

Arguments

state

\Joomla\Registry\RegistryThe model state.

Response

mixed

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