\
TextileBag
Class to allow simple assignment to members of the internal data array
Summary
Methods Properties Constants
No constants
Properties
$data
$data
Methods
__call()
__call($k, $params)
Allows setting of an element in the $data array. eg...

$bag->key(value);

…sets $bag’s $data[‘key’] to $value provided $value is not empty. The set can be made forced by following $value with true…

$bag->key(value, true);

Would force the value into the data array even if it were empty.

Parameters

$k

No description

$params

No description

__construct()
__construct($initial_data)

Parameters

$initial_data

No description