lithium\data\entity\Document::offsetExists()

public method

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

boolean

Returns true if $offset is a field in the document, otherwise false.

Source

	public function offsetExists($offset) {
		return $this->__isset($offset);
	}