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 |
# |
int
|
$width = 75 |
the width of the output |
# |
string
|
$break = "\n" |
the character used to break the line |
# |
boolean
|
$cut = false |
ignored parameter, just for the sake of |
# |
Returns | |
---|---|
string
|
wrapped string |