[ Index ] |
|
Code source de Serendipity 1.2 |
[Code source] [Imprimer] [Statistiques]
Smarty plugin
Poids: | 50 lignes (1 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
smarty_modifier_truncate($string, $length = 80, $etc = '...',$break_words = false, $middle = false) X-Ref |
Smarty truncate modifier plugin Type: modifier<br> Name: truncate<br> 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. author: Monte Ohrt <monte at ohrt dot com> param: string param: integer param: string param: boolean param: boolean return: string |
Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |