Property | Type | Description | |
---|---|---|---|
$localName | string | The localName of the element. | |
$namespaceURI | string | The namespaceURI of this element. | |
$xml | DOMElement | The \DOMElement we contain. |
Method | Description | |
---|---|---|
__construct ( DOMElement $xml ) | Create a XMLChunk from a copy of the given \DOMElement. | |
getXML ( ) : DOMElement | Get this \DOMElement. | |
serialize ( ) : string | Serialize this XML chunk. | |
toXML ( DOMElement $parent ) : DOMElement | Append this XML element to a different XML element. | |
unserialize ( string $serialized ) | Un-serialize this XML chunk. |
public __construct ( DOMElement $xml ) | ||
$xml | DOMElement | The element we should copy. |
public getXML ( ) : DOMElement | ||
return | DOMElement | This element. |
public toXML ( DOMElement $parent ) : DOMElement | ||
$parent | DOMElement | The element we should append this element to. |
return | DOMElement | The new element. |
public unserialize ( string $serialized ) | ||
$serialized | string | The serialized chunk. |
public string $namespaceURI | ||
return | string |