Re: [SMARTY-DEV] Smarty outputting headers when using fetch()

From: Date: Fri, 06 Dec 2002 15:22:01 +0000
Subject: Re: [SMARTY-DEV] Smarty outputting headers when using fetch()
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-379@lists.php.net to get a copy of this message
Hi, Monte Ohrt wrote:
to. I'm not sure what to do with multiple fetch() calls though, reset the array each time? Could be problamatic if _http_headers was ever used for other things.
Yes, and suppose someone writes a script that fetches 10 templates and does something with the result, he would probably want to know the result of all the calls, not just the last. Maybe fetch could have an optional parameter that gets passed by reference, which contains the headers for this call? Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.dev (#379) next »