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

unregister_resource() — dynamically unregister a resource plugin

Description

void unregister_resource(string name);

Pass in the name of the resource.

Example 13.29. unregister_resource()


<?php

$smarty->unregister_resource('db');

?>

   

See also register_resource() and template resources