diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-08-08 19:15:17 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-08-08 19:15:17 +0200 |
commit | 4db34914a09f964f7b3886bf740975878eea2505 (patch) | |
tree | 9182b1015189ee5ef95a2e4b8e4e4a0817ac9b58 /user_guide/helpers/inflector_helper.html | |
parent | 8788d4b5f597465daaabf46455cd086b6b7deb58 (diff) |
fixed an example of plural() in the inflector helper
Diffstat (limited to 'user_guide/helpers/inflector_helper.html')
-rw-r--r-- | user_guide/helpers/inflector_helper.html | 2 |
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 "es" use a second "true" argument. </p>
<code> $word = "pass";<br />
-echo plural($word); // Returns "passes" </code>
+echo plural($word, TRUE); // Returns "passes" </code>
<h2>camelize()</h2>
<p>Changes a string of words separated by spaces or underscores to camel case. Example:</p>
|