class GridState_Data (View source)

Simple set of data, similar to stdClass, but without the notice-level errors.

Methods

__construct($data = array())

No description

__get($name)

No description

__call($name, $arguments)

No description

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()

No description

Details

__construct($data = array())

Parameters

$data

__get($name)

Parameters

$name

__call($name, $arguments)

Parameters

$name
$arguments

mixed getData(string $name, mixed $default = null)

Retrieve the value for the given key

Parameters

string $name

The name of the value to retrieve

mixed $default

Default value to assign if not set

Return Value

mixed

The value associated with this key, or the value specified by $default if not set

__set($name, $value)

Parameters

$name
$value

__isset($name)

Parameters

$name

__unset($name)

Parameters

$name

__toString()

toArray()