diff options
Diffstat (limited to 'user_guide/helpers')
-rw-r--r-- | user_guide/helpers/inflector_helper.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/user_guide/helpers/inflector_helper.html b/user_guide/helpers/inflector_helper.html index 2a4ee559f..91de2e20f 100644 --- a/user_guide/helpers/inflector_helper.html +++ b/user_guide/helpers/inflector_helper.html @@ -94,8 +94,11 @@ echo plural($word); // Returns "dogs" </code>
-<h2>camelize()</h2>
+<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>
+<h2>camelize()</h2>
<p>Changes a string of words separated by spaces or underscores to camel case. Example:</p>
<code>
|