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

public method

PHP magic method used to check the presence of a field as document properties, i.e. $document->_id.

Parameters

  • $name The

    field name, as specified with an object property.

Returns

boolean

True if the field specified in $name exists, false otherwise.

Source

	public function __isset($name) {
		if (strpos($name, '.')) {
			return $this->_getNested($name) !== null;
		}
		return isset($this->_updated[$name]);
	}