void smarty_modifier_adjust(
$string, [ $length = 80], [ $pad = ' '], [ $etc = '...'], [ $break_words = false])
|
|
Smarty plugin
------------------------------------------------------------- Type: modifier Name: adjust Purpose: Adjust a string to a certain length if necessary, optionally splitting in the middle of a word, and appending the $etc string or padding the string using $pad as filler. -------------------------------------------------------------
Parameters
| |
$string |
|
| |
$length |
|
| |
$pad |
|
| |
$etc |
|
| |
$break_words |
|