lithium\template\view\adapter\File::offsetSet()
Sets the offset with the given value.
Part of ArrayAccess
.
$file['bar'] = 'baz';
$file->offsetSet('bar', 'baz');
Parameters
-
string
$offset
Key / variable name to check.
-
mixed
$value Value you wish to set to
$offset
.
Returns
voidSource
public function offsetSet($offset, $value) {
$this->_data[$offset] = $value;
}