Smarty Manual
Prev |  | Next

# unregister_resource()

unregister_resource() -- dynamically unregister a resource plugin

## Description

void unregister_resource ( string name)

Pass in the `name` of the resource.

Example 13-1. unregister_resource()
`<?php $smarty->unregister_resource('db'); ?>`

See also `register_resource()` and template resources

Prev | Home | Next
unregister_prefilter() | Up | Caching