smarty template engine
Thursday, November 20, 2008  
download | documentation | faq | forum | mailing lists | changelog | contribs 


search for in the  


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




 

credits 

Smarty Copyright © 2002-2008
New Digital Group, Inc.

All rights reserved.