/** * __isset() - determine if a variable in this object's namespace is set * * @param string $name - programmatic name of a key, in a <key,value> pair in the current namespace * @return bool */ public function __isset($name) { if ($name === '') { /** * @see Zend_Session_Exception */ require_once 'Zend/Session/Exception.php'; throw new Zend_Session_Exception("The '{$name}' key must be a non-empty string"); } return parent::_namespaceIsset($this->_namespace, $name); }
/** * namespaceIsset() - check to see if a namespace is set * * @param string $namespace * @return bool */ public static function namespaceIsset($namespace) { return parent::_namespaceIsset($namespace); }
/** * __isset() - determine if a variable in this objects namespace is set * * @param string $name - programmatic name of a key, in a <key,value> pair in the current namespace * @return bool */ protected function __isset($name) { if ($name === '') { throw new Zend_Session_Exception("The '{$name}' key must be a non-empty string"); } return parent::_namespaceIsset($this->_namespace, $name); }