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

Procedural File: modifier.truncate.php

Source Location: /phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.truncate.php

Page Details

Smarty plugin

Filesource:  Source Code for this file
smarty_modifier_truncate  [line 25]

string smarty_modifier_truncate( string $string, [integer $length = 80], [string $etc = '...'], [boolean $break_words = 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.

string   $string: 
integer   $length: 
string   $etc: 
boolean   $break_words: 

Information Tags:
Link: truncate (Smarty online manual)

[ Top ]

Documentation generated on Tue, 24 Oct 2006 09:24:04 -0500 by phpDocumentor 1.3.1