PHP头条
热点:

ThinkPHP生成静态页


ThinkPHP提供了灵活的静态文件生成功能,可以在输出模板的同时生成需要的静态文件.

使用:

$this->buildHtml('静态文件', '静态路径','模板文件');

protected function buildHtml($htmlfile='',$htmlpath='',$templateFile='',$charset='',$contentType='text/html') { return $this->view->buildHtml($htmlfile,$htmlpath,$templateFile,$charset,$contentType); }

www.phpzy.comtrue/phpkj/9735.htmlTechArticleThinkPHP生成静态页 ThinkPHP提供了灵活的静态文件生成功能,可以在输出模板的同时生成需要的静态文件. 使用: $this->buildHtml(静态文件, 静态路径,模板文件); protected function buildHtml($htmlfile=...

相关文章

相关频道:

PHP之友评论

今天推荐