FOFInflector to pluralize and singularize English nouns.
Located in /libraries/fof/inflector/inflector.php (line 21)
Cache of pluralized and singularized nouns.
Rules for pluralizing and singularizing of nouns.
Add a word to the cache, useful to make exceptions or to add words in other languages.
Returns given word as CamelCased.
Converts a word like "foo_bar" or "foo bar" to "FooBar". It will remove non alphanumeric characters from the word, so "who's online" will be converted to "WhoSOnline"
Converts a table name to its class name according to Koowa naming conventions.
Convert any "CamelCased" word into an array of strings
Returns an array of strings each of which is a substring of string formed by splitting it at the camelcased letters.
Gets a part of a CamelCased word by index.
Use a negative index to start at the last part of the word (-1 is the last part)
Returns a human-readable string from $word.
Returns a human-readable string from $word, by replacing underscores with a space, and by upper-casing the initial character by default.
Convert an array of strings into a "CamelCased" word.
Check to see if an Enlish word is plural.
Check to see if an English word is singular
Singular English word to plural.
Plural English word to singular.
Converts a class name to its table name according to Koowa naming conventions.
Converts "Person" to "people"
Converts a word "into_it_s_underscored_version"
Convert any "CamelCased" or "ordinary Word" into an "underscored_word".
Returns camelBacked version of a string. Same as camelize but first char is lowercased.
Documentation generated on Tue, 19 Nov 2013 15:05:33 +0100 by phpDocumentor 1.4.3