summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-08-08 19:15:17 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-08-08 19:15:17 +0200
commit4db34914a09f964f7b3886bf740975878eea2505 (patch)
tree9182b1015189ee5ef95a2e4b8e4e4a0817ac9b58 /user_guide
parent8788d4b5f597465daaabf46455cd086b6b7deb58 (diff)
fixed an example of plural() in the inflector helper
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/helpers/inflector_helper.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/helpers/inflector_helper.html b/user_guide/helpers/inflector_helper.html
index 5329901a2..5bd27783d 100644
--- a/user_guide/helpers/inflector_helper.html
+++ b/user_guide/helpers/inflector_helper.html
@@ -96,7 +96,7 @@ echo plural($word); // Returns "dogs"
<p>To force a word to end with &quot;es&quot; use a second &quot;true&quot; argument. </p>
<code> $word = &quot;pass&quot;;<br />
-echo plural($word); // Returns &quot;passes&quot; </code>
+echo plural($word, TRUE); // Returns &quot;passes&quot; </code>
<h2>camelize()</h2>
<p>Changes a string of words separated by spaces or underscores to camel case. Example:</p>