lib/ext_class/Smarty/pluginsmodifier.mb_wordwrap.php

Smarty plugin

Functions

smarty_modifier_mb_wordwrap()

smarty_modifier_mb_wordwrap(string  $str, integer  $width = 75, string  $break = "\n", boolean  $cut = false) : string

Smarty wordwrap modifier plugin Type: modifier Name: mb_wordwrap Purpose: Wrap a string to a given number of characters

Parameters

string $str

the string to wrap

integer $width

the width of the output

string $break

the character used to break the line

boolean $cut

ignored parameter, just for the sake of

Returns

string —

wrapped string