public static function getFormatByAcceptHeader($header)
    {
        if(isset(self::$mimeMapper[$header])) {
            return self::$mimeMapper[$header];
        } else {
            return self::$format;
        }
    }
public static function getFormatByAcceptHeader($header)
    {
        if(isset(self::$mimeMapper[$header])) {
            return self::$mimeMapper[$header];
        } else {
            return self::$format;
        }
    }
public static function getFormatByAcceptHeader ( $ header ) { if ( isset ( self :: $ mimeMapper [ $ header ] ) ) { return self :: $ mimeMapper [ $ header ] ; } else { return self :: $ format ; } }
getFormatByAcceptHeader function.

@access public
@static
@param mixed $header
@return void
getFormatByAcceptHeader function .