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