/** * Action de la page de à propos * */ public function aboutAction() { return TemplateRender::render('views/a-propos.html', $res = array()); }
public function partial($template_path, $variables = array()) { $template_full_path = $this->getFullTemplatePath($template_path); $renderer = new TemplateRender(); return $renderer->render($template_full_path, $variables); }