XMLElementA class for XML elements which may have attributes, or contain other XML sub-elements
Located in /XMLElement.php (line 19)
XMLElement
XMLElement
(string $tagname, [mixed $content = false], [array $attributes = false], [array $xmlns = null])
objectref
&NewElement
(string $tagname, [mixed $content = false], [array $attributes = false], [ $xmlns = null])
Constructor XMLElement (line 34)
Constructor - nothing fancy as yet.
AddSubTag (line 200)
Add a sub-element
CountElements (line 58)
Count the number of elements
GetAttribute (line 111)
Accessor for a single attribute
GetAttributes (line 121)
Accessor for the attributes
GetContent (line 130)
Accessor for the content
GetElements (line 139)
Return an array of elements matching the specified tag
GetNSTag (line 102)
Accessor for the full-namespaced tag name
GetPath (line 160)
Return an array of elements matching the specified path
GetTag (line 93)
Accessor for the tag name
NewElement (line 215)
Add a new sub-element
Render (line 258)
Render the document tree into (nicely formatted) XML
RenderContent (line 228)
Render just the internal content
SetAttribute (line 71)
Set an element attribute to a value
SetContent (line 84)
Set the whole content to a value
Documentation generated on Tue, 06 Oct 2009 09:31:51 -0700 by phpDocumentor 1.3.2