PHP5 and HTML_Template_IT
| From: | Martin Marques | Date: | Wed, 27 Jun 2007 14:48:21 +0000 |
| Subject: | PHP5 and HTML_Template_IT | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-27581@lists.php.net to get a copy of this message | ||
I'm changing some PHP scripts to be 100% PHP5 complaint, but when looking at IT.php, I cant see the PHP5 __construct() method.
Would it be a problem to have something like this?
class My_HTML_Template extends HTML_Template_IT {
function __construct($html_dir=""){
parent::__construct($html_dir);} } -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 --------------------------------------------------------- Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática | '@' || 'unl.edu.ar'; Universidad Nacional | DBA, Programador, del Litoral | Administrador ---------------------------------------------------------