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