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() — 注销资源

说明

void unregisterResource(string name);

传递资源的名称name

Example 14.51. unregisterResource()


<?php

$smarty->unregisterResource('db');

?>

   

参见 registerResource()资源