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 | Analyses |
---|---|
Inflector::singularize | Analysi |
Inflector::camelize | Analysis |
Inflector::underscore | analysis |
Inflector::humanize | Analysis |
Inflector::tableize | analyses |
Inflector::classify | Analysi |
Inflector::variable | analysis |
Inflector::slug | Analysis |
CakePHP Conventions
model | ||
---|---|---|
Model Name | Analysi | UpperCamelCase,single Inflector::singularize(Inflector::classify($word)); |
Model's FileName | Analysi.php | UpperCamelCase,single Inflector::singularize(Inflector::classify($word)).'.php'; |
Table Name | analyses | underscored,lower,plural Inflector::tableize($word); |
controller | ||
---|---|---|
Controller Name | Analysis | UpperCamelCase,plural Inflector::pluralize(Inflector::classify($word)); |
Controller's ClassName | AnalysisController | UpperCamelCase,plural,with 'Controller' Inflector::pluralize(Inflector::classify($word)).'Controller'; |
Controller's FileName | AnalysisController.php | UpperCamelCase,plural,with 'Controller' Inflector::pluralize(Inflector::classify($word)).'Controller.php'; |
for uses | Analysi | Model Name Inflector::singularize(Inflector::classify($word)); |
view | ||
---|---|---|
View Folder | Analysis | Controller Name Inflector::pluralize(Inflector::classify($word)); |
View's FileName | analysis.php | Action Name Inflector::underscore($word).'.php'; |