just setting different app/template-name in constructor

This commit is contained in:
Ralf Becker 2013-11-12 09:37:19 +00:00
parent ede58e76c7
commit ceb55d1c1d

View File

@ -24,15 +24,14 @@ class pixelegg_framework extends jdots_framework
const APP = 'pixelegg'; const APP = 'pixelegg';
/** /**
* Constructor * Constructor
* *
* @param string $template='pixelegg' name of the template * Overwritten to set own app/template name (parent can NOT use static::APP!)
* @return idots_framework *
*/ * @param string $template='pixelegg' name of the template
function __construct($template='pixelegg') */
function __construct($template=self::APP)
{ {
parent::__construct($template); // call the constructor of the extended class parent::__construct($template); // call the constructor of the extended class
$this->template_dir = '/pixelegg'; // we are packaged as an application
} }
} }