Re: [SMARTY] register_function with object method?

From: Date: Tue, 25 Feb 2003 08:51:42 +0000
Subject: Re: [SMARTY] register_function with object method?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8172@lists.php.net to get a copy of this message
On Tue, 2003-02-25 at 09:48, Gerard wrote: > Is it possible to register an object method for the impl in > register_function? This might work: $obj = new MyClass(); $smarty->register_function("do_stuff", array($obj, "my_class_method")); br -- Robin Ericsson <lobbin@localhost.nu>

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