lithium\template\view\adapter\File::offsetSet()

public method

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

void

Source

	public function offsetSet($offset, $value) {
		$this->_data[$offset] = $value;
	}