GridState_Data
class GridState_Data (View source)
Simple set of data, similar to stdClass, but without the notice-level errors.
Properties
protected | array | $data | ||
protected | $defaults |
Methods
Initialise the defaults values for the grid field state These values won't be included in getChangesArray()
Convert the state to an array including only value that differ from the default state defined by initDefaults()
Details
__construct($data = [])
No description
__get($name)
No description
__call($name, $arguments)
No description
__clone()
No description
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)
No description
__isset($name)
No description
__unset($name)
No description
__toString()
No description
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()