JModel

Joomla Platform Model Interface

deprecated
since

3.0.0

deprecated

5.0 Use the default MVC library

package

Joomla.Platform

Methods

getState

Get the model state.

getState() : \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.