lithium\data\entity\Document::__isset()
Overrides
lithium\data\Entity::__isset()
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
booleanTrue 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]);
}