src/MVC/View.php
function obRenderTpl($tpl_name, array $data = array(), $encode = false)
    {
        ob_start();
        $this->renderTpl($tpl_name, $data);
        return $this->wrapContent(ob_get_clean(), $encode);
    }
function obRenderTpl($tpl_name, array $data = array(), $encode = false)
    {
        ob_start();
        $this->renderTpl($tpl_name, $data);
        return $this->wrapContent(ob_get_clean(), $encode);
    }
带缓存的renderTpl

@param string $tpl_name
@param array $data
@param bool $encode
@return string