return $instance;
}
- function TemplateService() {
+ function __construct() {
$this->basedir = $GLOBALS['TEMPLATES_DIR'];
}
var $file = '';
var $templateservice;
- function Template($file, $vars = NULL, &$templateservice) {
+ function __construct($file, $vars = NULL, &$templateservice) {
$this->vars = $vars;
$this->file = $file;
$this->templateservice = $templateservice;