13 class Chunk implements \Serializable
43 $this->localName = $xml->localName;
44 $this->namespaceURI = $xml->namespaceURI;
46 $this->xml = Utils::copyElement($xml);
68 return Utils::copyElement($this->xml, $parent);
78 return serialize($this->xml->ownerDocument->saveXML($this->xml));
89 $this->xml = $doc->documentElement;
90 $this->localName = $this->xml->localName;
91 $this->namespaceURI = $this->xml->namespaceURI;
unserialize($serialized)
Un-serialize this XML chunk.
serialize()
Serialize this XML chunk.
toXML(\DOMElement $parent)
Append this XML element to a different XML element.
__construct(\DOMElement $xml)
Create a XMLChunk from a copy of the given .