Exports a class element's attributes and properties to a child of the given parent.
| category | phpDocumentor |
|---|---|
| package | Parser\Exporter\Xml |
| author | Mike van Riel |
| license | MIT |
| link | http://phpdoc.org |
export(DOMElement $parent, phpDocumentor_Reflection_Class $class, DOMElement $child) : void
This method creates a new child element on the given parent XML element and takes the properties of the Reflection argument and sets the elements and attributes on the child. If a child DOMElement is provided then the properties and attributes are set on this but the child element is not appended onto the parent. This is the responsibility of the invoker. Essentially this means that the $parent argument is ignored in this case.