class GridState_Data (View source)

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

Properties

protected array $data

Methods

public
__construct($data = array())

No description

public
__get($name)

No description

public
__call($name, $arguments)

No description

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

Retrieve the value for the given key

public
__set($name, $value)

No description

public
__isset($name)

No description

public
__unset($name)

No description

public
__toString()

No description

public
toArray()

No description

Details

__construct($data = array())

No description

Parameters

$data

__get($name)

No description

Parameters

$name

__call($name, $arguments)

No description

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)

No description

Parameters

$name
$value

__isset($name)

No description

Parameters

$name

__unset($name)

No description

Parameters

$name

__toString()

No description

toArray()

No description