Get Smarty

Donate

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

Buy cheap glasses from Cheapglasses123.com and save up to 80%.

Where to buy prescription glasses? EyewearCanada.com is your best choice!

Advertisement

Name

clear_config() — clears assigned config variables

Description

void clear_config(string var);

This clears all assigned config variables. If a variable name is supplied, only that variable is cleared.

Example 13.10. clear_config()


<?php
// clear all assigned config variables.
$smarty->clear_config();

// clear one variable
$smarty->clear_config('foobar');
?>

   

See also get_config_vars(), config variables, config files, {config_load}, config_load() and clear_assign().

Comments
No comments for this page.

Advertisement