$smarty and variables

From: Date: Tue, 17 Aug 2004 14:42:11 +0000
Subject: $smarty and variables
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11699@lists.php.net to get a copy of this message
I'm writing a plugin that needs to check if a particular template variable is defined. I can't see anything in the docs to let me find that out - is there a public property like a $smarty.vars array that contains all the vars passed to a template?? I want to be able to do something like: If (array_key_exists('myvar', $smarty.vars)) {... Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk

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