register_function and Objects
| From: | netshade at brainrazor dot com | Date: | Tue, 27 Aug 2002 10:44:39 +0000 |
| Subject: | register_function and Objects | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5841@lists.php.net to get a copy of this message | ||
After a little experimenting using the syntax PHP follows in Object method
attachment/evaluation ( ie. if a function name is required as a string, you
may send Array(&$obj,"method_name") instead if you wish to use an object
method ) I've come to an impass insofar as register object methods as Smarty
functions. Is there a solution previously known? A quick hack I can
perform? Or do I need to fuck around with the source myself? :-)
Thanks,
.ns.