| Recommend this page to a friend! |
| Packages of Michael Beck | Xoops 2.5 | htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-functions/api-register-filter.md | Download |
|
|||||||||||||||||||||
registerFilter() dynamically register filters Descriptionvoid registerFilter string type mixed callback Use this to dynamically register filters to operate on a templates. It uses the following parameters: NOTE.PARAMETER.FUNCTION A prefilter runs through the template source before it gets compiled. See template prefilters for more information on how to setup a prefiltering function. A postfilter runs through the template code after it was compiled to PHP. See template postfilters for more information on how to setup a postfiltering function. A outputfilter operates on a template\'s output before it is displayed. See template output filters for more information on how to set up an output filter function. See also |