Re: PHP5: Static methods

From: Date: Fri, 26 Nov 2004 07:32:11 +0000
Subject: Re: PHP5: Static methods
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12002@lists.php.net to get a copy of this message
Dejan Markic wrote:
Hello! I don't know if this was discussed already, but ... I just can seem to find a way to call a static method from Smarty in PHP5? Any clues? Thanks and kind regards, Dejan
{php} some_class::some_static_method(); {/php} should work, but is generally bad idea to have php calls in your templates

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