PMA\libraries\Util::getClassForType PHP Method

getClassForType() public static method

Returns the proper class clause according to the column type
public static getClassForType ( string $type ) : string
$type string the column type
return string $class_clause the HTML class clause
    public static function getClassForType($type)
    {
        if ('set' == $type || 'enum' == $type) {
            $class_clause = '';
        } else {
            $class_clause = ' class="nowrap"';
        }
        return $class_clause;
    }
Util