assigning

From: Date: Sat, 03 Mar 2001 15:34:50 +0000
Subject: assigning
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-279@lists.php.net to get a copy of this message
What do you think about the following idea: $variables = get_defined_vars(); while (list ($key, $val) = each ($variables)) $smarty->assign($key, $val); } Is something like that reasonable at all in order to not think about assigning? Before I even try I'd like to hear your opinion... Maciek

« previous php.smarty.general (#279) next »