public static function formatState($state)
    {
        return isset(self::$stateNames[$state]) ? self::$stateNames[$state] : $state;
    }
public static function formatState($state)
    {
        return isset(self::$stateNames[$state]) ? self::$stateNames[$state] : $state;
    }
public static function formatState ( $ state ) { return isset ( self :: $ stateNames [ $ state ] ) ? self :: $ stateNames [ $ state ] : $ state ; }
Format a state name.

@param string $state

@return string
Format a state name .