Smarty Manual
Prev |  | Next

# clear_config

clear_config --

##

void clear_config ( [string var])

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

Example 1. clear_config
`<?php // clear all assigned config variables. $smarty->clear_config(); // clear one variable $smarty->clear_config('foobar'); ?>`

Prev | Home | Next
clear_compiled_tpl | Up | config_load