vendor/smarty/smarty/libs/pluginsblock.textformat.php

Smarty plugin to format text blocks

Functions

smarty_block_textformat()

smarty_block_textformat(array  $params, string  $content, \Smarty_Internal_Template  $template,   $repeat) : string

Smarty {textformat}{/textformat} block plugin Type: block function<br> Name: textformat<br> Purpose: format text a certain way with preset styles or custom wrap/indent settings<br> Params: <pre> - style - string (email) - indent - integer (0) - wrap - integer (80) - wrap_char - string ("\n") - indent_char - string (" ") - wrap_boundary - boolean (true) </pre>

Parameters

array $params

parameters

string $content

contents of the block

\Smarty_Internal_Template $template

template object

$repeat

Returns

string —

content re-formatted