camel2words() public static method
Converts a CamelCase name into space-separated words.
For example, 'PostTag' will be converted to 'Post Tag'.
public static string camel2words ( $name, $ucwords = true ) | ||
---|---|---|
$name | string |
The string to be converted |
$ucwords | boolean |
Whether to capitalize the first letter in each word |
return | string |
The resulting words |
Please login to continue.