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 newses
Inflector::singularize newse
Inflector::camelize Newses
Inflector::underscore newses
Inflector::humanize Newses
Inflector::tableize newses
Inflector::classify Newse
Inflector::variable newses
Inflector::slug newses

CakePHP Conventions

model
Model Name Newse UpperCamelCase,single
Inflector::singularize(Inflector::classify($word));
Model's FileName newse.php underscored,lower,single
Inflector::singularize(Inflector::slug(strtolower($word))).'.php';
Table Name newses underscored,lower,plural
Inflector::pluralize(Inflector::slug(strtolower($word)));
controller
Controller Name Newses UpperCamelCase,plural
Inflector::pluralize(Inflector::classify($word));
Controller's ClassName NewsesController UpperCamelCase,plural,with 'Controller'
Inflector::pluralize(Inflector::classify($word)).'Controller';
Controller's FileName newses_controller.php underscored,lower,plural,with '_controller'
Inflector::pluralize(Inflector::slug(strtolower($word))).'_controller.php';
for uses Newse Model Name
Inflector::singularize(Inflector::classify($word));
view
View Folder newses underscored,lower,plural
Inflector::pluralize(Inflector::slug(strtolower($word)));
View's FileName newse.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