From 4b9c62980599228f070b401c7673dce8085b0c61 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Fri, 1 Jul 2011 17:40:48 -0500 Subject: backed out 648b42a75739, which was a NON-trivial whitespace commit. It broke the Typography class's string replacements, for instance --- user_guide/helpers/inflector_helper.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (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 087675454..221c05907 100644 --- a/user_guide/helpers/inflector_helper.html +++ b/user_guide/helpers/inflector_helper.html @@ -71,7 +71,7 @@ Inflector Helper

singular()

-

Changes a plural word to singular. Example:

+

Changes a plural word to singular. Example:

$word = "dogs";
@@ -81,7 +81,7 @@ echo singular($word); // Returns "dog"

plural()

-

Changes a singular word to plural. Example:

+

Changes a singular word to plural. Example:

$word = "dog";
@@ -94,7 +94,7 @@ echo plural($word); // Returns "dogs" echo plural($word, TRUE); // Returns "passes"

camelize()

-

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

+

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

$word = "my_dog_spot";
@@ -104,7 +104,7 @@ echo camelize($word); // Returns "myDogSpot"

underscore()

-

Takes multiple words separated by spaces and underscores them. Example:

+

Takes multiple words separated by spaces and underscores them. Example:

$word = "my dog spot";
@@ -114,7 +114,7 @@ echo underscore($word); // Returns "my_dog_spot"

humanize()

-

Takes multiple words separated by underscores and adds spaces between them. Each word is capitalized. Example:

+

Takes multiple words separated by underscores and adds spaces between them. Each word is capitalized. Example:

$word = "my_dog_spot";
-- cgit v1.2.3-24-g4f1b