smarty_block_php($params, string $content, object $template, $repeat) : string
stringcontents of the block
objecttemplate object
stringcontent re-formattedsmarty_block_textformat(array $params, string $content, \Smarty_Internal_Template $template, boolean $repeat) : string
Type: block function
Name: textformat
Purpose: format text a certain way with preset styles
or custom wrap/indent settings
Params:
- style - string (email)
- indent - integer (0)
- wrap - integer (80)
- wrap_char - string ("\n")
- indent_char - string (" ")
- wrap_boundary - boolean (true)
| link | {textformat} (Smarty online manual) |
|---|---|
| author | Monte Ohrt <monte at ohrt dot com> |
arrayparameters
stringcontents of the block
boolean&$repeat repeat flag
stringcontent re-formatted