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