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 entries_sub_genres
Inflector::singularize entries_sub_genre
Inflector::camelize EntriesSubGenres
Inflector::underscore entries_sub_genres
Inflector::humanize Entries Sub Genres
Inflector::tableize entries_sub_genres
Inflector::classify EntriesSubGenre
Inflector::variable entriesSubGenres
Inflector::slug entries_sub_genres

CakePHP Conventions

model
Model Name EntriesSubGenre UpperCamelCase,single
Inflector::singularize(Inflector::classify($word));
Model's FileName entries_sub_genre.php underscored,lower,single
Inflector::singularize(Inflector::slug(strtolower($word))).'.php';
Table Name entries_sub_genres underscored,lower,plural
Inflector::pluralize(Inflector::slug(strtolower($word)));
controller
Controller Name EntriesSubGenres UpperCamelCase,plural
Inflector::pluralize(Inflector::classify($word));
Controller's ClassName EntriesSubGenresController UpperCamelCase,plural,with 'Controller'
Inflector::pluralize(Inflector::classify($word)).'Controller';
Controller's FileName entries_sub_genres_controller.php underscored,lower,plural,with '_controller'
Inflector::pluralize(Inflector::slug(strtolower($word))).'_controller.php';
for uses EntriesSubGenre Model Name
Inflector::singularize(Inflector::classify($word));
view
View Folder entries_sub_genres underscored,lower,plural
Inflector::pluralize(Inflector::slug(strtolower($word)));
View's FileName entries_sub_genre.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