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

Procedural File: modifier.search.php

Source Location: /bblog/bBlog_plugins/modifier.search.php ( Revision Log )

Page Details

modifier.phpsource.php - Smarty truncate modifier plugin

License:  GNU General Public License
Copyright:  The bBlog Project, http://www.bblog.com/
Version:  $Id: $
Author:  Eaden McKee - <email@eadz.co.nz> - last modified by $LastChangedBy: $
Functions
smarty_modifier_search  [line 30]

string smarty_modifier_search( string $string, [integer $pattern = ''], string 2, boolean 3  )

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.

Parameters:
string   2: 
boolean   3: 
string   $string: 
integer   $pattern: 

Information Tags:
Link:  truncate (Smarty online manual)

[ Top ]