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
Params:
- style - string (email) - indent - integer (0) - wrap - integer (80) - wrap_char - string ("\n") - indent_char - string (" ") - wrap_boundary - boolean (true)
Package: Smarty\PluginsBlock
Author: Monte Ohrt
Link: {textformat} (Smarty online manual)
Located at plugins/smarty/smarty_source/plugins/block.textformat.php
Author: Monte Ohrt
Link: {textformat} (Smarty online manual)
Located at plugins/smarty/smarty_source/plugins/block.textformat.php
array |
$params |
parameters |
string |
$content |
contents of the block |
|
$template |
template object |
boolean |
& $repeat |
$repeat repeat flag |
string
|
content re-formatted |