public static function getHtmlTemplate($page, array $vars = array(), $layout = false) { $render = new static(); return $render->renderTemplate($page, $vars, $layout); }
/** * @param string $template */ public function subTemplate($template) { $subtemplate_instance = new static($this->template_path, $template, $this->data, $this->template_filter, $this->filters, $this->response, $this->template_extension); return $subtemplate_instance->renderTemplate(); }