Re: proposal for tagnesting (begin/end tags)

From: Date: Fri, 14 Dec 2001 21:31:09 +0000
Subject: Re: proposal for tagnesting (begin/end tags)
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2311@lists.php.net to get a copy of this message
Hi, Andrei Zmievski wrote:
What do you think of this? Does this look like something that's doable and useful? Shall I give it a try?
I have it on my TODO list for next major version, so it is in the plans. I think the best way to make this work is simply to insert ob_start() right after opening tag, and then use ob_get_contents() to pass everything inbetween to the closing tag handler. Voila.
I think this will only work for one set of begin and end tags. If you have nested tags, that won't work. Greetings, Ivo

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