Re: HTML_Template_IT return value from loadTemplatefile

From: Date: Thu, 17 Apr 2003 18:08:01 +0000
Subject: Re: HTML_Template_IT return value from loadTemplatefile
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4929@lists.php.net to get a copy of this message
Greetings! Thomas A. Lowery wrote:
While debugging a recent problem I noticed that the method loadTemplatefile (on failure) returns a boolean value where as methods like setCurrentBlock, setVariable, and parseCurrentBlock return an error object that provides more information as to why it failed. Please consider enhancing the loadTemplatefile method to return an error object on failure that provides a reason to why the method fail.
<plug> Please consider switching to HTML_template_Sigma that shares the same Integrated Templates API but has a completely PEARified error handling. ;] </plug>

« previous php.pear.general (#4929) next »