private function underscoreToCamelcase($str)
    {
        // Split string in words.
        $words = explode('_', strtolower($str));

        $return = '';

        foreach ($words as $word) {
            $return .= ucfirst(trim($word));
        }

        return $return;
    }
private function underscoreToCamelcase($str)
    {
        // Split string in words.
        $words = explode('_', strtolower($str));

        $return = '';

        foreach ($words as $word) {
            $return .= ucfirst(trim($word));
        }

        return $return;
    }
private function underscoreToCamelcase ( $ str ) { // Split string in words. $ words = explode ( '_' , strtolower ( $ str ) ) ; $ return = '' ; foreach ( $ words as $ word ) { $ return .= ucfirst ( trim ( $ word ) ) ; } return $ return ; }
Transcode an underscored string into a camel-cased string, eg. default_folder into DefaultFolder

@param string $str the string to convert from underscore to camel-case

@return string the camel cased string.
Transcode an underscored string into a camel - cased string eg . default_folder into DefaultFolder