XmlElement Class Reference

Inheritance diagram for XmlElement:

XmlNode Object

List of all members.


Public Member Functions

 addAttribute ($name, $val=null)
 attributes ()
 removeAttribute ($attr)

Detailed Description

The XML Element

Definition at line 1076 of file xml.php.


Member Function Documentation

XmlElement::addAttribute ( name,
val = null 
)

Add attributes to this element

Parameters:
string $name name of the node
string $value value of the node
Returns:
boolean

Definition at line 1105 of file xml.php.

References XmlNode::addNamespace().

XmlElement::attributes (  ) 

Get all the attributes for this element

Returns:
array

Definition at line 1095 of file xml.php.

XmlElement::removeAttribute ( attr  ) 

Remove attributes to this element

Parameters:
string $name name of the node
Returns:
boolean

Definition at line 1140 of file xml.php.


The documentation for this class was generated from the following file: