Hooks::display PHP Method

display() public method

显示指定HTML页面
public display ( string $templateFile = '', string $charset = 'utf-8', string $contentType = 'text/html' ) : string
$templateFile string 模板文件路径
$charset string 字符集,默认为UTF8
$contentType string 内容类型,默认为text/html
return string HTML页面数据
    public function display($templateFile = '', $charset = 'utf-8', $contentType = 'text/html')
    {
        echo $this->fetch($templateFile, $charset, $contentType);
    }