Mail_mimeDecode::getXML()
Mail_mimeDecode::getXML() – create XML representation of MIME parts
Synopsis
require_once 'Mail/mimeDecode.php';
string getXML (
array $decoded
)
Описание
getXML() converts the returned array from decode () into a valid XML document.
Return value
string
-
the XML document
Замечание
This function can be called statically.
Пример
Create a XML representation
<?php
...
$output = $obj->decode();
$xml = Mail_mimeDecode::getXML($output);
...
?>