Function smarty_block_textformat
Smarty {textformat}{/textformat} block plugin
Type: block function
Name: textformat
Purpose: format text a certain way with preset styles or custom wrap/indent
settings
Package: Smarty\plugins
Author: Monte Ohrt <monte at ohrt dot com>
Link: {textformat} (Smarty online manual)
Located at xoops_trust_path/libs/smarty/plugins/block.textformat.php
Author: Monte Ohrt <monte at ohrt dot com>
Link: {textformat} (Smarty online manual)
Located at xoops_trust_path/libs/smarty/plugins/block.textformat.php
array
|
$params |
<pre> Params: style: string (email) indent: integer (0) wrap: integer (80) wrap_char string ("\n") indent_char: string (" ") wrap_boundary: boolean (true) </pre> |
string
|
$content |
contents of the block |
|
& $smarty |
clever simulation of a method |
string
|
string $content re-formatted |