[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/MVC/Model/ -> StatefulModelInterface.php (summary)

Joomla! Content Management System

Copyright: (C) 2019 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 46 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

StatefulModelInterface:: (2 methods):
  getState()
  setState()


Interface: StatefulModelInterface  - X-Ref

Interface for a stateful model.

getState($property = null, $default = null)   X-Ref
Method to get model state variables.

param: string  $property  Optional parameter name
param: mixed   $default   Optional default value
return: mixed  The property where specified, the state object where omitted

setState($property, $value = null)   X-Ref
Method to set model state variables.

param: string  $property  The name of the property.
param: mixed   $value     The value of the property to set or null.
return: mixed  The previous value of the property or null if not set.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer