Inflector
class Inflector (View source)
Methods
static object
instance()
Get an instance of the {@link Inflector} class.
string
camelize(string $s)
Turn a string into its camelized version.
static bool
is_upper(string $s)
Determines if a string contains all uppercase characters.
static bool
is_lower(string $s)
Determines if a string contains all lowercase characters.
string
uncamelize(string $s)
Convert a camelized string to a lowercase, underscored string.
string
underscorify(string $s)
Convert a string with space into a underscored equivalent.
keyify($class_name)
No description
variablize($s)
No description
Details
at line 17
static object
instance()
Get an instance of the {@link Inflector} class.
at line 28
string
camelize(string $s)
Turn a string into its camelized version.
at line 57
static bool
is_upper(string $s)
Determines if a string contains all uppercase characters.
at line 68
static bool
is_lower(string $s)
Determines if a string contains all lowercase characters.
at line 79
string
uncamelize(string $s)
Convert a camelized string to a lowercase, underscored string.
at line 99
string
underscorify(string $s)
Convert a string with space into a underscored equivalent.