API17

API17:JModel::setState

From Joomla! Documentation

Joomla 11.1 JModel::setState

Description

Method to set model state variables.


public function setState (
        $property
        $value=null
)
Parameter Type Default Description
$property string The name of the property
$value mixed null The value of the property to set
  • Returns mixed The previous value of the property
  • Defined on line 422 of libraries/joomla/application/component/model.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples