public static function prettifyTableName($table, $prefix = '')
    {
        if ($prefix) {
            $table = self::removePrefix($table, $prefix);
        }

        return self::underscoresToCamelCase($table, true);
    }
public static function prettifyTableName($table, $prefix = '')
    {
        if ($prefix) {
            $table = self::removePrefix($table, $prefix);
        }

        return self::underscoresToCamelCase($table, true);
    }
public static function prettifyTableName ( $ table , $ prefix = '' ) { if ( $ prefix ) { $ table = self :: removePrefix ( $ table , $ prefix ) ; } return self :: underscoresToCamelCase ( $ table , true ) ; }
Convert a mysql table name to a class name, optionally removing a prefix.

@param $table
@param string $prefix

@return mixed
Convert a mysql table name to a class name optionally removing a prefix .