config = $config; $this->tpl = $tpl; $this->core = $core; } public function loadRender($template, $parameters=array()) { $this->tpl->loadTemplate($template); return $this->tpl->render($parameters); } }