/** * namespaceUnset() - unset a namespace or a variable within a namespace * * @param string $namespace * @throws Zend_Session_Exception * @return void */ public static function namespaceUnset($namespace) { parent::_namespaceUnset($namespace); Zend_Session_Namespace::resetSingleInstance($namespace); }
/** * __unset() - unset a variable in this object's namespace. * * @param string $name - programmatic name of a key, in a <key,value> pair in the current namespace * @return true */ public function __unset($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::_namespaceUnset($this->_namespace, $name); }
/** * namespaceUnset() - unset a namespace or a variable within a namespace * * @param string $namespace * @throws Zend_Session_Exception * @return void */ public static function namespaceUnset($namespace) { parent::_namespaceUnset($namespace); }
/** * __unset() - unset a variable in this objects namespace. * * @param string $name - programmatic name of a key, in a <key,value> pair in the current namespace * @return true */ protected function __unset($name) { if ($name === '') { throw new Zend_Session_Exception("The '{$name}' key must be a non-empty string"); } return parent::_namespaceUnset($this->_namespace, $name); }