![]() |
PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Go to the source code of this file.
Namespaces | |
| Smarty | |
| Smarty plugin to format text blocks. | |
Functions | |
| smarty_modifier_truncate ($string, $length=80, $etc= '...', $break_words=false, $middle=false) | |
| Smarty truncate modifier plugin. More... | |
| smarty_modifier_truncate | ( | $string, | |
$length = 80, |
|||
$etc = '...', |
|||
$break_words = false, |
|||
$middle = 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 or inserting $etc into the middle.
truncate (Smarty online manual) Monte Ohrt
| string | $string | input string |
| integer | $length | length of truncated text |
| string | $etc | end string |
| boolean | $break_words | truncate at word boundary |
| boolean | $middle | truncate in the middle of text |
Definition at line 27 of file modifier.truncate.php.
This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:42 -
is a product of
SAS. All rights reserved.