Re: Tags With Bodies
| From: | Monte Ohrt | Date: | Thu, 14 Mar 2002 21:46:23 +0000 |
| Subject: | Re: Tags With Bodies | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3073@lists.php.net to get a copy of this message | ||
I see many issues to contend with, such as caching, nesting, multi-pass
parsing and other functions called within the block.
I'll have to have Andrei answer, he's the one that has mentioned these
before.
Andreas Kossmeier wrote:
>
> Monte Ohrt wrote:
> > [...] Please give an example.
>
> under JSP custom tags, you can develop these kind of tags (functions),
> and it could be also very useful/helpful for smarty to *support* this,
> but IMO under JSP these tags are often used for things, that shouldn't
> be done in a template, but it can also provide useful features.
>
> e.g. peter b. table function? with these functionality you can easily
> develop a function for arbitrary complex cell content, without bugging
> the developer.
>
> other questions: is it worth implementing? can we think of other
> functions needing {function_name}whatever{/function_name} that isn't
> already a part of smarty?
>
> --
> andreas kossmeier
> bergfex.at - http://www.bergfex.at
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
Director of Technology, ispi Inc.