/** * Checks if property or item is set (not null). * * @param string $name the property name or the event name * * @return bool whether the property value is set (not null) */ public function __isset($name) { return $name && parent::__isset($name) || $this->issetItem($name); }
/** * @inheritdoc */ public function __isset($name) { if (array_key_exists($name, $this->_attributes)) { return isset($this->_attributes[$name]); } else { return parent::__isset($name); } }
public function __isset($name) { if ($this->_entity) { return isset($this->_entity->{$name}); } if (isset($this->_client[$name])) { return true; } return parent::__isset($name); }