메소드 |
설명 |
|
__toString ( ) : string |
Casting the fragment to string will return the text content of all nodes |
|
appendElement ( string $name, string $content = '', array $attributes = NULL ) : Element |
Append an child element |
|
appendXml ( string $data, null | array | Traversable | DOMElement $namespaces = NULL ) : boolean |
Append an xml to the fragment, it can use namespace prefixes defined on the fragment object. |
|
count ( ) : integer |
|
|
getIterator ( ) : Iterator |
|
|
namespaces ( null | array | Traversable | DOMElement $namespaces = NULL ) : array |
Get/Set the namespace definition used for the fragment strings. |
|
registerNamespace ( $prefix, $namespace ) |
Register a namespace prefix to use it in appendXml() |
|
saveXmlFragment ( ) : string |
Save as XML string |
|