smarty_modifiercompiler_wordwrap()
smarty_modifiercompiler_wordwrap(array $params, \Smarty_Internal_TemplateCompilerBase $compiler) : string
Smarty wordwrap modifier plugin Type: modifier Name: wordwrap Purpose: wrap a string of text at a given length
Parameters
array | $params | parameters |
\Smarty_Internal_TemplateCompilerBase | $compiler |
Throws
- \SmartyException
Returns
string —with compiled code