From 4db34914a09f964f7b3886bf740975878eea2505 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 8 Aug 2007 17:15:17 +0000 Subject: fixed an example of plural() in the inflector helper --- user_guide/helpers/inflector_helper.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/helpers/inflector_helper.html') 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"

To force a word to end with "es" use a second "true" argument.

$word = "pass";
-echo plural($word); // Returns "passes"
+echo plural($word, TRUE); // Returns "passes"

camelize()

Changes a string of words separated by spaces or underscores to camel case. Example:

-- cgit v1.2.3-24-g4f1b