This site is built library CakePHP "Inflector" test site.

※ This site is using the CakePHP 1.2.6.

The result of running Inflector

Inflector::pluralize water'A=0s
Inflector::singularize water'A=0
Inflector::camelize Water'A=0
Inflector::underscore water'a=0
Inflector::humanize Water'A=0
Inflector::tableize water'a=0s
Inflector::classify Water'A=0
Inflector::variable water'a=0
Inflector::slug water_A_0

CakePHP Conventions

model
Model Name Water'A=0 UpperCamelCase,single
Inflector::singularize(Inflector::classify($word));
Model's FileName water_a_0.php underscored,lower,single
Inflector::singularize(Inflector::slug(strtolower($word))).'.php';
Table Name water_a_0s underscored,lower,plural
Inflector::pluralize(Inflector::slug(strtolower($word)));
controller
Controller Name Water'A=0s UpperCamelCase,plural
Inflector::pluralize(Inflector::classify($word));
Controller's ClassName Water'A=0sController UpperCamelCase,plural,with 'Controller'
Inflector::pluralize(Inflector::classify($word)).'Controller';
Controller's FileName water_a_0s_controller.php underscored,lower,plural,with '_controller'
Inflector::pluralize(Inflector::slug(strtolower($word))).'_controller.php';
for uses Water'A=0 Model Name
Inflector::singularize(Inflector::classify($word));
view
View Folder water_a_0s underscored,lower,plural
Inflector::pluralize(Inflector::slug(strtolower($word)));
View's FileName water_a_0.php underscored,lower,single
Inflector::singularize(Inflector::slug(strtolower($word))).'.php';

"Inflector" is?

The Inflector class takes a string and can manipulate it to handle word variations such as pluralizations or camelizing and is normally accessed statically.Example: Inflector::pluralize('example'); returns "examples".(From the official site

References

Similar sites can