public function RemoveGlobalVariable($name, $namespace="", $header="")
    {
        if($header)
        {
            if($namespace)
            {
                unset($this->headers[$header]->namespaces[$namespace]->global_variables[$name]);
            }
            else
            {
                foreach($this->headers[$header]->namespaces as $namespace_object)
                {
                    unset($namespace_object->global_variables[$name]);
                }
            }
        }
        elseif($namespace)
        {
            foreach($this->headers as $header_object)
            {
                unset($header_object->namespaces[$namespace]->global_variables[$name]);
            }
        }
        else
        {
            foreach($this->headers as $header_object)
            {
                foreach($header_object->namespaces as $namespace_object)
                {
                    unset($namespace_object->global_variables[$name]);
                }
            }
        }
        
        return false;
    }
public function RemoveGlobalVariable($name, $namespace="", $header="")
    {
        if($header)
        {
            if($namespace)
            {
                unset($this->headers[$header]->namespaces[$namespace]->global_variables[$name]);
            }
            else
            {
                foreach($this->headers[$header]->namespaces as $namespace_object)
                {
                    unset($namespace_object->global_variables[$name]);
                }
            }
        }
        elseif($namespace)
        {
            foreach($this->headers as $header_object)
            {
                unset($header_object->namespaces[$namespace]->global_variables[$name]);
            }
        }
        else
        {
            foreach($this->headers as $header_object)
            {
                foreach($header_object->namespaces as $namespace_object)
                {
                    unset($namespace_object->global_variables[$name]);
                }
            }
        }
        
        return false;
    }
public function RemoveGlobalVariable ( $ name , $ namespace = "" , $ header = "" ) { if ( $ header ) { if ( $ namespace ) { unset ( $ this -> headers [ $ header ] -> namespaces [ $ namespace ] -> global_variables [ $ name ] ) ; } else { foreach ( $ this -> headers [ $ header ] -> namespaces as $ namespace_object ) { unset ( $ namespace_object -> global_variables [ $ name ] ) ; } } } elseif ( $ namespace ) { foreach ( $ this -> headers as $ header_object ) { unset ( $ header_object -> namespaces [ $ namespace ] -> global_variables [ $ name ] ) ; } } else { foreach ( $ this -> headers as $ header_object ) { foreach ( $ header_object -> namespaces as $ namespace_object ) { unset ( $ namespace_object -> global_variables [ $ name ] ) ; } } } return false ; }
Removes a global variable from the symbols object.
@param string $name
@param string $namespace A specific namespace.
@param string $header A specific header.
Removes a global variable from the symbols object .