ThinkPHP-类库参考-View类:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
 
第13行: 第13行:
* fetch(templateFile='',charset='',contentType='text/html')  获取模板输出内容
* fetch(templateFile='',charset='',contentType='text/html')  获取模板输出内容


* buildHtml(htmlfile='',templateFile='',charset='',contentType='text/html' )   生成静态页面
* buildHtml(htmlfile='',templateFile='',charset='',contentType='text/html ' ) 生成静态页面





2010年5月22日 (六) 14:34的最新版本

导航:返回上一页


  • assign(name,value=' ' ) 模板变量赋值
  • trace(name,value=' ' ) Trace变量赋值
  • get(name) 获取模板变量
  • display(templateFile=,charset=,contentType='text/html') 输出模板
  • fetch(templateFile=,charset=,contentType='text/html') 获取模板输出内容
  • buildHtml(htmlfile=,templateFile=,charset=,contentType='text/html ' ) 生成静态页面


参考资料[ ]