kernel/classes/binaryhandlers/ezfilepassthrough/ezfilepassthroughhandler.php
protected static function dispositionType( $mimeType )
    {
        $ini = eZINI::instance( 'file.ini' );

        $mimeTypes = $ini->variable( 'PassThroughSettings', 'ContentDisposition', array() );
        if ( isset( $mimeTypes[$mimeType] ) )
        {
            return $mimeTypes[$mimeType];
        }

        return $ini->variable( 'PassThroughSettings', 'DefaultContentDisposition' );
    }
protected static function dispositionType( $mimeType )
    {
        $ini = eZINI::instance( 'file.ini' );

        $mimeTypes = $ini->variable( 'PassThroughSettings', 'ContentDisposition', array() );
        if ( isset( $mimeTypes[$mimeType] ) )
        {
            return $mimeTypes[$mimeType];
        }

        return $ini->variable( 'PassThroughSettings', 'DefaultContentDisposition' );
    }
protected static function dispositionType ( $ mimeType ) { $ ini = eZINI :: instance ( 'file.ini' ) ; $ mimeTypes = $ ini -> variable ( 'PassThroughSettings' , 'ContentDisposition' , array ( ) ) ; if ( isset ( $ mimeTypes [ $ mimeType ] ) ) { return $ mimeTypes [ $ mimeType ] ; } return $ ini -> variable ( 'PassThroughSettings' , 'DefaultContentDisposition' ) ; }
Checks if a file should be downloaded to disk or displayed inline in
the browser.

Behavior by MIME type and default behavior are configured in file.ini

@param string $mimetype
@return string "attachment" or "inline"
Checks if a file should be downloaded to disk or displayed inline in the browser .