?
This document uses PHP Chinese website manual Release
Attribute Name | Type | Required | Default | Description |
---|---|---|---|---|
output | string | No | html | output type, html or javascript |
屬性 | 類型 | 是否必須 | 缺省值 | 描述 |
---|---|---|---|---|
output | string | No | html | 輸出類型,html或javascript |
{debug} dumps the debug console to the page. This works regardless of the debug settings in Smarty. Since this gets executed at runtime, this is only able to show the assigned variables, not the templates that are in use. But, you see all the currently available variables within the scope of this template.
{debug} 將調(diào)式信息輸出到頁面上. 該函數(shù)是否可用取決于 Smarty 的 debug 設(shè)置. 該函數(shù)在運行時取得數(shù)據(jù),因此不能顯示使用中的模板,只能顯示運行時被賦值的變量. 不過還是可以看到所有模板內(nèi)當(dāng)前可用的變量.