[ Index ]
 

Code source de CMS made simple 1.0.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/smarty/plugins/ -> modifier.truncate.php (sommaire)

Smarty plugin

Poids: 50 lignes (1 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 fonction

  smarty_modifier_truncate()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

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 : Tue Apr 3 18:50:37 2007 par Balluche grâce à PHPXref 0.7