Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Name

unregisterResource() — dynamically unregister a resource plugin

Description

void unregisterResource(string name);

Pass in the name of the resource.

Example 14.51. unregisterResource()


<?php

$smarty->unregisterResource('db');

?>

   

See also registerResource() and template resources