helpers\BaseInflector camel2words()

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

doc_Yii
2016-10-30 17:05:22
Comments
Leave a Comment

Please login to continue.