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

File: modifier.truncate.php

Source Location: /PhpDocumentor-1.2.0beta2/phpDocumentor/Smarty/plugins/modifier.truncate.php

Classes:

Page Details:


smarty_modifier_truncate [line 15]

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

Smarty 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 ]



Documentation generated on Fri, 30 Apr 2004 22:10:15 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.