summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/helpers')
-rw-r--r--user_guide/helpers/inflector_helper.html5
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 &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>
+<h2>camelize()</h2>
<p>Changes a string of words separated by spaces or underscores to camel case. Example:</p>
<code>