lithium\data\entity\Document::offsetExists()
Allows document fields to be tested as array keys, i.e. isset($document['_id'])
.
Parameters
-
mixed
$offset
String or integer indicating the offset or the name of a field in an individual document.
Returns
booleanReturns true
if $offset
is a field in the document, otherwise false
.
Source
public function offsetExists($offset) {
return $this->__isset($offset);
}