Re: PHP5 and HTML_Template_IT
| From: | Martin Marques | Date: | Wed, 27 Jun 2007 17:53:34 +0000 |
| Subject: | Re: PHP5 and HTML_Template_IT | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27583@lists.php.net to get a copy of this message | ||
Mark Wiesemann escribió:
Hi Martin, Martin Marques wrote:Will there be a PHP5 version of PEAR packages any time soon? -- select 'mmarques' || '@' || 'unl.edu.ar' AS email; --------------------------------------------------------- Martín Marqués | Programador, DBA Centro de Telemática | Administrador Universidad Nacional del Litoral ---------------------------------------------------------I'm changing some PHP scripts to be 100% PHP5 complaint, but when looking at IT.php, I cant see the PHP5 __construct() method.This package is PHP 4 compatible. Therefore, it has this constructor: function HTML_Template_IT($root = '', $options = null)Would it be a problem to have something like this? class My_HTML_Template extends HTML_Template_IT { function __construct($html_dir=""){Yes, it would be a problem because there is no such method in the parent class.parent::__construct($html_dir);} }