$_cache
$_cache : array
Inflection cache
Horde Inflector class.
titleize( $word)
Capitalizes all the words and replaces some characters in the string to create a nicer looking title.
Titleize is meant for creating pretty output.
See:
Examples:
$word |
humanize( $lowerCaseAndUnderscoredWord)
Capitalizes the first word and turns underscores into spaces and strips _id.
Like titleize(), this is meant for creating pretty output.
Examples:
$lowerCaseAndUnderscoredWord |
tableize( $className)
Creates the name of a table like Rails does for models to table names.
This method uses the pluralize() method on the last word in the string.
Examples:
$className |
foreignKey( $className, $separateClassNameAndIdWithUnderscore = true)
Creates a foreign key name from a class name.
$separateClassNameAndIdWithUnderscore sets whether the method should put '_' between the name and 'id'.
Examples:
$className | ||
$separateClassNameAndIdWithUnderscore |