Bug/feature in HTML/IT.php ?

From: Date: Fri, 23 Nov 2001 22:37:44 +0000
Subject: Bug/feature in HTML/IT.php ?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-3064@lists.php.net to get a copy of this message
Hi, while doing research, I found something wired in HTML/IT.php: The method setTemplate takes three parameters: /** * Sets the template. * * You can eighter load a template file from disk with LoadTemplatefile() or set the * template manually using this function. * * @param string template content * @param boolean remove unknown/unused variables? * @param boolean remove empty blocks? * @see LoadTemplatefile(), $template * @access public */ function setTemplate($template, $removeUnknownVariables = true, $removeEmptyBlocks = true) { [..snip..] the method calls setTemplate with four parameters. [..snip..] return $this->setTemplate($template, $removeUnknownVariables, $removeEmptyBlocks, true); } // end func LoadTemplatefile I am a little bit confused, since I use IT[X] for some projects and this thorws neither an error or a notice. what is the purpose of the fourth parameter and doesn't PHP gives an erreor about en wrong parameter count? Jan -- Q: Thank Jan? A: http://geschenke.an.dasmoped.net

« previous php.pear.dev (#3064) next »