using php5 constructors

This commit is contained in:
Ralf Becker 2011-08-31 07:50:28 +00:00
parent 499726cb23
commit 7868b684cd
3 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
/** /**
* eGW API - framework * EGroupware API - framework baseclass
* *
* @link http://www.egroupware.org * @link http://www.egroupware.org
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de> rewrite in 12/2006 * @author Ralf Becker <RalfBecker-AT-outdoor-training.de> rewrite in 12/2006

View File

@ -1,6 +1,6 @@
<?php <?php
/** /**
* eGW idots template * EGroupware idots template set
* *
* @link http://www.egroupware.org * @link http://www.egroupware.org
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de> rewrite in 12/2006 * @author Ralf Becker <RalfBecker-AT-outdoor-training.de> rewrite in 12/2006
@ -62,8 +62,7 @@ class idots_framework extends egw_framework
*/ */
function __construct($template='idots') function __construct($template='idots')
{ {
$GLOBALS['egw_info']['flags']['include_xajax'] = True; parent::__construct($template); // call the constructor of the extended class
$this->egw_framework($template); // call the constructor of the extended class
$this->tplsav2 = new tplsavant2(); $this->tplsav2 = new tplsavant2();
$this->tplsav2->set_tpl_path(EGW_SERVER_ROOT.SEP.'phpgwapi'.SEP.'templates'.SEP.'idots'); $this->tplsav2->set_tpl_path(EGW_SERVER_ROOT.SEP.'phpgwapi'.SEP.'templates'.SEP.'idots');

View File

@ -1,8 +1,9 @@
<?php <?php
/** /**
* eGW jerryr template * EGroupware jerryr template set
* *
* @link http://www.egroupware.org * @link http://www.egroupware.org
* @author Jerry Ruhe <jerry.ruhe@dilawri-group.ca>
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de> rewrite in 12/2006 * @author Ralf Becker <RalfBecker-AT-outdoor-training.de> rewrite in 12/2006
* @author Pim Snel <pim@lingewoud.nl> author of the idots template set * @author Pim Snel <pim@lingewoud.nl> author of the idots template set
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
@ -25,9 +26,9 @@ class jerryr_framework extends idots_framework
* @param string $template='jerryr' * @param string $template='jerryr'
* @return jerryr_framework * @return jerryr_framework
*/ */
function jerryr_framework($template='jerryr') function __construct($template='jerryr')
{ {
$this->idots_framework($template); parent::__construct($template);
} }
function topmenu(array &$vars,array &$apps) function topmenu(array &$vars,array &$apps)