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: