This site is built library CakePHP "Inflector" test site.
※ This site is using the CakePHP 2.7.5.
Enter the text you want to convert, "Send" button please.
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 | EntriesSubGenre.php | UpperCamelCase,single Inflector::singularize(Inflector::classify($word)).'.php'; |
Table Name | entries_sub_genres | underscored,lower,plural Inflector::tableize($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 | EntriesSubGenresController.php | UpperCamelCase,plural,with 'Controller' Inflector::pluralize(Inflector::classify($word)).'Controller.php'; |
for uses | EntriesSubGenre | Model Name Inflector::singularize(Inflector::classify($word)); |
view | ||
---|---|---|
View Folder | EntriesSubGenres | Controller Name Inflector::pluralize(Inflector::classify($word)); |
View's FileName | entries_sub_genres.php | Action Name Inflector::underscore($word).'.php'; |