PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

$autoload_filters

If there are some filters that you wish to load on every template invocation, you can specify them using this variable and Smarty will automatically load them for you. The variable is an associative array where keys are filter types and values are arrays of the filter names. For example:



<?php
$smarty
->autoload_filters = array('pre' => array('trim''stamp'),
                                  
'output' => array('convert'));
?>

        

See also registerFilter() and loadFilter()

Smarty Template Engine