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