I'm looking at upgrading to Smarty 3 from 2 and have a small number of modifiers registered using
register_modifier($ModifierName, $FunctionName)
I can't find the place in the documentation where it indicates what I should change these to, I've tried.
$Smarty->Register->Modifier(
but get an error. Can someone point me to the documentation.
Turns out its been moved to
registerPlugin()
http://www.smarty.net/docs/en/api.register.plugin.tpl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With