unregister_resource()

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

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.