roundcubemail/plugins/enigma/lib/enigma_engine.php
function part_structure($p, $body = null)
    {
        if ($p['mimetype'] == 'text/plain' || $p['mimetype'] == 'application/pgp') {
            $this->parse_plain($p, $body);
        }
        else if ($p['mimetype'] == 'multipart/signed') {
            $this->parse_signed($p, $body);
        }
        else if ($p['mimetype'] == 'multipart/encrypted') {
            $this->parse_encrypted($p);
        }
        else if ($p['mimetype'] == 'application/pkcs7-mime') {
            $this->parse_encrypted($p);
        }

        return $p;
    }
function part_structure($p, $body = null)
    {
        if ($p['mimetype'] == 'text/plain' || $p['mimetype'] == 'application/pgp') {
            $this->parse_plain($p, $body);
        }
        else if ($p['mimetype'] == 'multipart/signed') {
            $this->parse_signed($p, $body);
        }
        else if ($p['mimetype'] == 'multipart/encrypted') {
            $this->parse_encrypted($p);
        }
        else if ($p['mimetype'] == 'application/pkcs7-mime') {
            $this->parse_encrypted($p);
        }

        return $p;
    }
function part_structure ( $ p , $ body = null ) { if ( $ p [ 'mimetype' ] == 'text/plain' || $ p [ 'mimetype' ] == 'application/pgp' ) { $ this -> parse_plain ( $ p , $ body ) ; } else if ( $ p [ 'mimetype' ] == 'multipart/signed' ) { $ this -> parse_signed ( $ p , $ body ) ; } else if ( $ p [ 'mimetype' ] == 'multipart/encrypted' ) { $ this -> parse_encrypted ( $ p ) ; } else if ( $ p [ 'mimetype' ] == 'application/pkcs7-mime' ) { $ this -> parse_encrypted ( $ p ) ; } return $ p ; }
Handler for message_part_structure hook.
Called for every part of the message.

@param array  Original parameters
@param string Part body (will be set if used internally)

@return array Modified parameters
Handler for message_part_structure hook . Called for every part of the message .