GridState_Data
class GridState_Data (View source)
Simple set of data, similar to stdClass, but without the notice-level errors.
Methods
No description
No description
No description
No description
Initialise the defaults values for the grid field state These values won't be included in getChangesArray()
Retrieve the value for the given key
No description
No description
No description
No description
Return all data, including defaults, as array
Convert the state to an array including only value that differ from the default state defined by initDefaults()
Details
__construct($data = [])
__get($name)
__call($name, $arguments)
__clone()
void
initDefaults(array $defaults)
Initialise the defaults values for the grid field state These values won't be included in getChangesArray()
mixed
getData(string $name, mixed $default = null)
Retrieve the value for the given key
__set($name, $value)
__isset($name)
__unset($name)
__toString()
toArray()
Return all data, including defaults, as array
array
getChangesArray()
Convert the state to an array including only value that differ from the default state defined by initDefaults()