/** * Managing access to the template object. Use ONLY this method to * get an instance! * * @return class_template */ public function getObjTemplate() { //Do we have to generate the object? if ($this->objTemplate == null) { $this->objTemplate = class_template::getInstance(); } return $this->objTemplate; }