|
| __construct () |
|
| getText ($trim=true) |
| Returns the child text node of this element This represents any raw text contained within the XML element.
|
|
| setText ($value) |
| Sets the child text node of this element This represents any raw text contained within the XML element.
|
|
| getExtensionElements () |
| Returns an array of all elements not matched to data model classes during the parsing of the XML.
|
|
| setExtensionElements ($value) |
| Sets an array of all elements not matched to data model classes during the parsing of the XML.
|
|
| getExtensionAttributes () |
| Returns an array of all extension attributes not transformed into data model properties during parsing of the XML.
|
|
| setExtensionAttributes ($value) |
| Sets an array of all extension attributes not transformed into data model properties during parsing of the XML.
|
|
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) |
| Retrieves a DOMElement which corresponds to this element and all child properties.
|
|
| transferFromDOM ($node) |
| Transfers each child and attribute into member variables.
|
|
| transferFromXML ($xml) |
| Parses the provided XML text and generates data model classes for each know element by turning the XML text into a DOM tree and calling transferFromDOM($element).
|
|
| saveXML () |
| Converts this element and all children into XML text using getDOM()
|
|
| getXML () |
| Alias for saveXML() returns XML content for this element and all children.
|
|
| encode () |
| Alias for saveXML()
|
|
| lookupNamespace ($prefix, $majorVersion=1, $minorVersion=null) |
| Get the full version of a namespace prefix.
|
|
| registerNamespace ($prefix, $namespaceUri, $majorVersion=1, $minorVersion=0) |
| Add a namespace and prefix to the registered list.
|
|
| registerAllNamespaces ($namespaceArray) |
| Add an array of namespaces to the registered list.
|
|
| __get ($name) |
| Magic getter to allow access like $entry->foo to call $entry->getFoo() Alternatively, if no getFoo() is defined, but a $_foo protected variable is defined, this is returned.
|
|
| __set ($name, $val) |
| Magic setter to allow acces like $entry->foo='bar' to call $entry->setFoo('bar') automatically.
|
|
| __isset ($name) |
| Magic __isset method.
|
|
| __unset ($name) |
| Magic __unset method.
|
|
| __toString () |
| Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0.
|
|
static | flushNamespaceLookupCache () |
| Flush namespace lookup cache.
|
|
| takeChildFromDOM ($child) |
| Given a child DOMNode, tries to determine how to map the data into object instance members.
|
|
| takeAttributeFromDOM ($attribute) |
| Given a DOMNode representing an attribute, tries to map the data into instance members.
|
|
| $_rootElement = null |
|
| $_rootNamespace = 'atom' |
|
| $_rootNamespaceURI = null |
|
| $_extensionElements = array() |
|
| $_extensionAttributes = array() |
|
| $_text = null |
|
| $_namespaces |
|
static | $_namespaceLookupCache = array() |
|