summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-07-26 14:46:08 +0200
committerAndrey Andreev <narf@devilix.net>2015-07-26 14:46:08 +0200
commitbeb0c324b22e6667d444532abfe645884d2cab8b (patch)
treefed7d540a2fe1dd2c992c7c3cfc9f3a02551ee07 /user_guide_src
parenteec91a2ce4400ca98c318e34dae17592847e1ce6 (diff)
parentd5326294e5cad1254b27711b3f279397ec4f6088 (diff)
Merge pull request #3999 from aneasystone/doc-pro
[ci skip] Clarify word_wrap() text helper docs
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/helpers/text_helper.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/user_guide_src/source/helpers/text_helper.rst b/user_guide_src/source/helpers/text_helper.rst
index d1723c58a..ef47882fb 100644
--- a/user_guide_src/source/helpers/text_helper.rst
+++ b/user_guide_src/source/helpers/text_helper.rst
@@ -193,7 +193,11 @@ The following functions are available:
$string = "Here is a simple string of text that will help us demonstrate this function.";
echo word_wrap($string, 25);
- // Would produce: Here is a simple string of text that will help us demonstrate this function
+ // Would produce:
+ // Here is a simple string
+ // of text that will help us
+ // demonstrate this
+ // function.
.. php:function:: ellipsize($str, $max_length[, $position = 1[, $ellipsis = '&hellip;']])