Smarty
[ class tree: Smarty ] [ index: Smarty ] [ all elements ]

Procedural File: modifier.truncate.php

Source Location: /libs/plugins/modifier.truncate.php



Page Details:

Smarty plugin









smarty_modifier_truncate [line 27]

string smarty_modifier_truncate( mixed $string, [mixed $length = 80], [mixed $etc = '...'], [mixed $break_words = false], [mixed $middle = false])

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 or inserting $etc into the middle.




Tags:



[ Top ]



Documentation generated on Thu, 29 Jun 2006 22:13:14 +0200 by phpDocumentor 1.3.0RC6