Any idea on how to display Class Constants (php5) in smarty ..
| From: | Donald A. Lobo | Date: | Mon, 28 Mar 2005 23:11:37 +0000 |
| Subject: | Any idea on how to display Class Constants (php5) in smarty .. | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12373@lists.php.net to get a copy of this message | ||
Hi!!
I'm trying to use the {$smarty.const.} tag
lets assume i have a class
class Test {
const VALUE = 1;
}
how can i access Test::VALUE using $smarty.const}?
{$smarty.const.Test::VALUE} did not seem to work
any ideas?
thanx
lobo