diff options
author | Greg Aker <greg.aker@ellislab.com> | 2010-08-05 21:11:14 +0200 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2010-08-05 21:11:14 +0200 |
commit | 0f6b7c1ce0f0122ba162dc579a34a73438d4955a (patch) | |
tree | c49e1a9a819012346bbe3762ae36faa1cc3f6030 /system | |
parent | cbe3247819be75c34231ea200874044735bd853b (diff) |
moving code comment in text helper
Diffstat (limited to 'system')
-rw-r--r-- | system/helpers/text_helper.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/system/helpers/text_helper.php b/system/helpers/text_helper.php index b7ade7a8f..b85e2aaef 100644 --- a/system/helpers/text_helper.php +++ b/system/helpers/text_helper.php @@ -497,19 +497,19 @@ if ( ! function_exists('word_wrap')) // ------------------------------------------------------------------------ +/** + * Ellipsize String + * + * This function will strip tags from a string, split it at its max_length and ellipsize + * + * @param string string to ellipsize + * @param integer max length of string + * @param mixed int (1|0) or float, .5, .2, etc for position to split + * @param string ellipsis ; Default '...' + * @return string ellipsized string + */ if ( ! function_exists('ellipsize')) { - /** - * Ellipsize String - * - * This function will strip tags from a string, split it at its max_length and ellipsize - * - * @param string string to ellipsize - * @param integer max length of string - * @param mixed int (1|0) or float, .5, .2, etc for position to split - * @param string ellipsis ; Default '...' - * @return string ellipsized string - */ function ellipsize($str, $max_length, $position = 1, $ellipsis = '…') { // Strip tags |