Logo Search packages:      
Sourcecode: d-push version File versions  Download package

Mail_mimeDecode::getXML ( input )

Returns a xml copy of the output of Mail_mimeDecode::decode. Pass the output in as the argument. This function can be called statically. Eg:

$output = $obj->decode(); $xml = Mail_mimeDecode::getXML($output);

The DTD used for this should have been in the package. Or alternatively you can get it from cvs, or here: http://www.phpguru.org/xmail/xmail.dtd.

objectInput to convert to xml. This should be the output of the Mail_mimeDecode::decode function
string XML version of input public

Definition at line 794 of file mimeDecode.php.

References _getXML().

        $crlf    =  "\r\n";
        $output  = '<?xml version=\'1.0\'?>' . $crlf .
                   '<!DOCTYPE email SYSTEM "http://www.phpguru.org/xmail/xmail.dtd">' . $crlf .
                   '<email>' . $crlf .
                   Mail_mimeDecode::_getXML($input) .

        return $output;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index