public function render()
 {
     ob_start();
     extract($this->vars);
     require $this->tplDir . DIRECTORY_SEPARATOR . $this->tplFile . '.php';
     $content = ob_get_contents();
     $this->buffer = $content;
     ob_end_clean();
     $this->mergeSections();
     if ($this->layout !== null) {
         $t = new Template($this->layout, $this->tplDir, $this->suffix, false, $this);
         $t->assignVars($this->vars);
         return $t->render();
     }
     return $content;
 }