What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
{debug}
は、ページにデバッギングコンソールを出力します。
これは、PHP スクリプトにおける debug
の設定に関係なく動作します。これはプログラムを実行した時、
使用されるテンプレートは表示せずに、割り当てられた変数のみを表示します。
ですが、現在このテンプレートのスコープ内で有効な変数をすべて見る事ができます。
属性名 | 型 | 必須 | デフォルト | 概要 |
---|---|---|---|---|
output | string | No | javascript | 出力タイプ。html又はjavascript |
デバッギングコンソール のページも参照してください。