Méthode |
Description |
|
__call ( string $var, $unused ) : mixed |
Get the value of an element with method syntax. |
|
__construct ( $element ) |
Horde_Xml_Element constructor. |
|
__get ( string $var ) : mixed |
Map variable access onto the underlying entry representation. |
|
__isset ( $var ) |
Map isset calls onto the underlying entry representation. |
|
__set ( string $var, string $val ) |
Map variable sets onto the underlying entry representation. |
|
__sleep ( ) : array |
Prepare for serialization |
|
__toString ( ) |
Returns the nodeValue of this element when this object is used
in a string context. |
|
__unset ( $var ) |
Remove all children matching $var. |
|
__wakeup ( ) |
Unserialization handler; handles $this->_element being an instance of
DOMElement or Horde_Xml_Element, or parses it as an XML string. |
|
appendChild ( Horde_Xml_Element $element ) |
Append a child node to this element. |
|
fromArray ( $array ) |
Add child elements and attributes to this element from a simple
key => value hash. Keys can be: |
|
getDom ( ) : DOMElement |
Get a DOM representation of the element |
|
lookupNamespace ( $prefix ) : string |
Get the full version of a namespace prefix |
|
offsetExists ( $offset ) |
Required by the ArrayAccess interface. |
|
offsetGet ( $offset ) |
Required by the ArrayAccess interface. |
|
offsetSet ( $offset, $value ) |
Required by the ArrayAccess interface. |
|
offsetUnset ( $offset ) |
Required by the ArrayAccess interface. |
|
registerNamespace ( string $prefix, string $namespaceURI ) |
Add a namespace and prefix to the registered list |
|
saveXml ( $formatted = false ) : string |
Get an XML string representation of this element |
|
saveXmlFragment ( $formatted = false ) : string |
Get the XML for only this element |
|
setDom ( DOMElement $element ) |
Update the object from a DOM element |
|
setParent ( Horde_Xml_Element $element ) |
Set the parent element of this object to another
Horde_Xml_Element. |
|