"Convert" a PHP variable into an DOMElement object.
public static variableToXml ( mixed $variable, DOMDocument $document ) : DOMElement | ||
$variable | mixed | |
$document | DOMDocument | |
return | DOMElement |
public static variableToXml ( mixed $variable, DOMDocument $document ) : DOMElement | ||
$variable | mixed | |
$document | DOMDocument | |
return | DOMElement |