diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-10-24 13:55:35 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-10-24 13:55:35 +0200 |
commit | 5fd3ae8d33a4f5d3159b86683b9a670e973a63f5 (patch) | |
tree | e9d9b67931545e1059b2e27d532ac81ec5f33133 /system/helpers/text_helper.php | |
parent | 3639d4798cd1ac26b715d8d74ff7855474fb01d7 (diff) |
[ci skip] style and phpdoc-related changes (rel #1295)
Diffstat (limited to 'system/helpers/text_helper.php')
-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 b592f3cc0..016a36c57 100644 --- a/system/helpers/text_helper.php +++ b/system/helpers/text_helper.php @@ -390,19 +390,19 @@ if ( ! function_exists('convert_accented_characters')) // ------------------------------------------------------------------------ -/** - * Word Wrap - * - * Wraps text at the specified character. Maintains the integrity of words. - * Anything placed between {unwrap}{/unwrap} will not be word wrapped, nor - * will URLs. - * - * @param string the text string - * @param int the number of characters to wrap at - * @return string - */ if ( ! function_exists('word_wrap')) { + /** + * Word Wrap + * + * Wraps text at the specified character. Maintains the integrity of words. + * Anything placed between {unwrap}{/unwrap} will not be word wrapped, nor + * will URLs. + * + * @param string $str the text string + * @param int $charlim = 76 the number of characters to wrap at + * @return string + */ function word_wrap($str, $charlim = 76) { // Set the character limit |