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:
Filter die Sie zu jedem Template laden möchten, können Sie mit Hilfe dieser Variable festlegen. Smarty wird sie danach automatisch laden. Die Variable enthält ein assoziatives Array, in dem der Schlüssel den Filter-Typ und der Wert den Filter-Namen definiert. Zum Beispiel:
<?php $smarty->autoload_filters = array('pre' => array('trim', 'stamp'), 'output' => array('convert')); ?>
Siehe auch register_outputfilter(), register_prefilter(), register_postfilter() und load_filter()