Re: block functions
| From: | Andrei Zmievski | Date: | Fri, 22 Mar 2002 14:25:36 +0000 |
| Subject: | Re: block functions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3275@lists.php.net to get a copy of this message | ||
On Fri, 22 Mar 2002, Ivo Jansch wrote:
> Does it have to be a new type of plugin? Couldn't it be just a parameter
> to the register function? If it it is set, then the handler gets the
> block as last parameter, if it isn't set, it won't.
No, it can't. The compiler needs to know whether it's a normal or block
function and register_*() won't help with that. Besides there is an
issue of them implmented by plugins. It would be much cleaner to make
the separation now.
-Andrei
I love deadlines. I like the whooshing sound they make as they fly by.
-- Douglas Adams