public function getTemplateParameters($template) {
        if (count(self::$_config->template->{$template})) {
            $tplConfig = self::$_config->template->{$template}->toArray();
            return $tplConfig;
        }
        throw new Exception('The template "' . $template . '" is not configured.');
    }