public function __construct() { parent::__construct(); $this->template = array(); $this->templateFile = "usergroup.tpl"; $this->basePath = realpath(dirname(__FILE__) . "/../") . "/"; //add new view types $view = ViewManager::getInstance(); $view->insert(self::VIEW_USER, 'Gebruikers'); }