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:
TRUE
の場合、設定ファイル
の on/true/yes
や off/false/no
といった値が自動的に
boolean 値に変換されます。これにより、テンプレートで
{if #foobar#}...{/if}
のように使用できるようになります。foobar が
on
、true
あるいは yes
である場合に {if}
ステートメントを実行します。
デフォルトは TRUE
です。