smarty_block_php($params, string $content, object $template, $repeat) : string
string
contents of the block
object
template object
string
content 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> |
array
parameters
string
contents of the block
boolean
&$repeat repeat flag
string
content re-formatted