Re: [PEPr] +1 for HTML::Template_Savant
| From: | Greg Beaver | Date: | Wed, 09 Jun 2004 12:38:47 +0000 |
| Subject: | Re: [PEPr] +1 for HTML::Template_Savant | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30278@lists.php.net to get a copy of this message | ||
Arnaud Limbourg wrote:
Not necessarily - each template is independent from the other, and so errors may be better organized if centralized in each individual template. global callbacks will still work, even if singleton isn't used. Greg// to handle constructor-time configurationsAs a side note, the better way is to use the singleton method to initialize ErrorStack. Arnaud.function Template() {Greg may be able to expand on this, but is it required to initialize PEAR_ErrorStack even if it's never used.?? I would presume not..??$this->err =& new PEAR_ErrorStack();}