StatefulModelTrait

Trait representing a model holding a state

since

1.3.0

package

Joomla Framework

Methods

getState

Get the model state.

getState() : \Joomla\Registry\Registry
since

1.3.0

throws

UnexpectedValueException

Response

RegistryThe state object.

setState

Set the model state.

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

1.3.0

Arguments

state

RegistryThe state object.

Response

void

Properties

state

The model state.

since

1.3.0

Type(s)

Registry