Re: More efficient fetch?

From: Date: Tue, 22 Jan 2002 15:14:12 +0000
Subject: Re: More efficient fetch?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2565@lists.php.net to get a copy of this message
At 08:20 AM 1/22/02 -0600, Andrei Zmievski wrote:
On Sat, 19 Jan 2002, Peter Bowyer wrote: Hi, I think there may be a need for a Smarty function that will fetch the template the first time, and then reference it as a string for the next 'n' requests for the template, where n is an integer. Go ahead and write a custom function then - that's the power of Smarty. :)
I don't think it can be done as a custom function, as it affects the way the compiler works. Or are custom functions more powerful than I thought? Peter. --oOo-- Narrow Gauge on the web - photos, directory and forums! http://www.narrow-gauge.co.uk --oOo-- Peter's web page - Scottish narrow gauge in 009 http://members.aol.com/reywob/ --oOo--

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