lithium\template\view\adapter\File::offsetGet()
Gets the offset, or null in the template data.
Part of ArrayAccess
.
$file['bar'];
$file->offsetGet('bar');
Parameters
-
string
$offset
Key / variable name to check.
Returns
mixedSource
public function offsetGet($offset) {
return isset($this->_data[$offset]) ? $this->_data[$offset] : null;
}