lithium\data\entity\Document::offsetExists PHP Method

offsetExists() public method

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