id2camel() public static method
Converts an ID into a CamelCase name.
Words in the ID separated by $separator (defaults to '-') will be concatenated into a CamelCase name. For example, 'post-tag' is converted to 'PostTag'.
| public static string id2camel ( $id, $separator = '-' ) | ||
|---|---|---|
| $id | string | 
 The ID to be converted  |  
| $separator | string | 
 The character used to separate the words in the ID  |  
| return | string | 
 The resulting CamelCase name  |  
Please login to continue.