Source Location: /PEAR/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.truncate.php
Smarty plugin
string smarty_modifier_truncate(
string $string, [integer $length = 80], [string $etc = '...'], [boolean $break_words = false])
[line 25]
Smarty truncate modifier plugin
Type: modifier
Name: truncate
Purpose: Truncate a string to a certain length if necessary, optionally splitting in the middle of a word, and appending the $etc string.
[ Top ]