Re: block functions
| From: | Ivo Jansch | Date: | Fri, 22 Mar 2002 08:22:57 +0000 |
| Subject: | Re: block functions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3268@lists.php.net to get a copy of this message | ||
Hello,
Andrei Zmievski wrote:
I know that a lot of you have been asking for the {func} .. {/func} style of custom template functions.Yes, I could definitely use that!
I have a general idea about how to implement them, but I can tell you that they will need to be a different plugin type. So, what I need from you are suggestions for the name of this new plugin. Somethin like 'blockfunction' or whatever. Carpe diem.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. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl