public function unregisterResource($type)
    {
        if (isset($this->smarty->registered_resources[$type])) {
            unset($this->smarty->registered_resources[$type]);
        }
    }
public function unregisterResource($type)
    {
        if (isset($this->smarty->registered_resources[$type])) {
            unset($this->smarty->registered_resources[$type]);
        }
    }
public function unregisterResource ( $ type ) { if ( isset ( $ this -> smarty -> registered_resources [ $ type ] ) ) { unset ( $ this -> smarty -> registered_resources [ $ type ] ) ; } }
Unregisters a resource

@param string $type name of resource type
Unregisters a resource