Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 370
XMLElementA class for XML elements which may have attributes, or contain other XML sub-elements
Located in /XMLElement.php (line 20)
XMLElement
__construct
(string $tagname, [mixed $content = false], [array $attributes = false], [string $xmlns = null])
objectref
&NewElement
(string $tagname, [mixed $content = false], [array $attributes = false], [ $xmlns = null])
mixed
$attributes
(line 23)
mixed
$content
(line 24)
mixed
$tagname
(line 21)
mixed
$xmlns
(line 22)
mixed
$_parent
(line 25)
Constructor __construct (line 35)
Constructor - nothing fancy as yet.
AddSubTag (line 215)
Add a sub-element
CountElements (line 68)
Count the number of elements
GetAttribute (line 121)
Accessor for a single attribute
GetAttributes (line 132)
Accessor for the attributes
GetContent (line 141)
Accessor for the content
GetElements (line 151)
Return an array of elements matching the specified tag, or all elements if no tag is supplied.
Unlike GetContent() this will always return an array.
GetNSTag (line 112)
Accessor for the full-namespaced tag name
GetPath (line 175)
Return an array of elements matching the specified path
GetTag (line 103)
Accessor for the tag name
NewElement (line 230)
Add a new sub-element
Render (line 273)
Render the document tree into (nicely formatted) XML
RenderContent (line 243)
Render just the internal content
SetAttribute (line 81)
Set an element attribute to a value
SetContent (line 94)
Set the whole content to a value
__tostring (line 324)
Documentation generated on Wed, 04 Jul 2012 07:06:17 +0000 by phpDocumentor 1.4.3