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:
Jika ada beberapa filter yang ingin diambil pada setiap permintaan template, anda bisa menetapkannya menggunakan variabel ini dan Smarty akan secara otomatis mengambilnya bagi anda. Variabel adalah array asosiatif di mana kunci adalah tipe filter dan nilai adalah array nama filter. Sebagai contoh:
autoload_filters = array(\'pre\' => array(\'trim\', \'stamp\'), \'output\' => array(\'convert\')); ?>'); ?> |
Lihat juga register_outputfilter(), register_prefilter(), register_postfilter() dan load_filter()