/** * namespaceGet() - get all variables in a namespace * Deprecated: Use getIterator() in IfwPsn_Vendor_Zend_Session_Namespace. * * @param string $namespace * @return array */ public static function namespaceGet($namespace) { return parent::_namespaceGetAll($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 IfwPsn_Vendor_Zend_Session_Exception */ require_once IFW_PSN_LIB_ROOT . 'IfwPsn/Vendor/Zend/Session/Exception.php'; throw new IfwPsn_Vendor_Zend_Session_Exception("The '{$name}' key must be a non-empty string"); } return parent::_namespaceUnset($this->_namespace, $name); }