HTML_Template_IT return value from loadTemplatefile

From: Date: Thu, 17 Apr 2003 15:51:56 +0000
Subject: HTML_Template_IT return value from loadTemplatefile
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4928@lists.php.net to get a copy of this message
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. Thanks, Tom

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