ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
init ($xml_string, $namespace_map) | |
Initialize an instance of Auth_Yadis_XMLParser with some XML and namespaces. | |
registerNamespace ($prefix, $uri) | |
Register a namespace with the XML parser. | |
setXML ($xml_string) | |
Set this parser object's XML payload. | |
& | evalXPath ($xpath, $node=null) |
Evaluate an XPath expression and return the resulting node list. | |
content ($node) | |
Return the textual content of a specified node. | |
attributes ($node) | |
Return the attributes of a specified node. |
Auth_Yadis_XMLParser::attributes | ( | $node | ) |
Return the attributes of a specified node.
mixed | $node | A node object from a previous call to $this->evalXPath(). |
Reimplemented in Auth_Yadis_dom, and Auth_Yadis_domxml.
Definition at line 121 of file XML.php.
Auth_Yadis_XMLParser::content | ( | $node | ) |
Return the textual content of a specified node.
mixed | $node | A node object from a previous call to $this->evalXPath(). |
Reimplemented in Auth_Yadis_dom, and Auth_Yadis_domxml.
Definition at line 107 of file XML.php.
& Auth_Yadis_XMLParser::evalXPath | ( | $xpath, | |
$node = null |
|||
) |
Evaluate an XPath expression and return the resulting node list.
This should be overridden by subclasses.
string | $xpath | The XPath expression to be evaluated. |
mixed | $node | A node object resulting from a previous evalXPath call. This node, if specified, provides the context for the evaluation of this xpath expression. |
Reimplemented in Auth_Yadis_dom, and Auth_Yadis_domxml.
Definition at line 94 of file XML.php.
Auth_Yadis_XMLParser::init | ( | $xml_string, | |
$namespace_map | |||
) |
Initialize an instance of Auth_Yadis_XMLParser with some XML and namespaces.
This SHOULD NOT be overridden by subclasses.
string | $xml_string | A string of XML to be parsed. |
array | $namespace_map | An array of ($ns_name => $ns_uri) to be registered with the XML parser. May be empty. |
Definition at line 33 of file XML.php.
References registerNamespace(), and setXML().
Auth_Yadis_XMLParser::registerNamespace | ( | $prefix, | |
$uri | |||
) |
Register a namespace with the XML parser.
This should be overridden by subclasses.
string | $prefix | The namespace prefix to appear in XML tag names. |
string | $uri | The namespace URI to be used to identify the namespace in the XML. |
Reimplemented in Auth_Yadis_dom, and Auth_Yadis_domxml.
Definition at line 61 of file XML.php.
Referenced by init().
Auth_Yadis_XMLParser::setXML | ( | $xml_string | ) |
Set this parser object's XML payload.
This should be overridden by subclasses.
string | $xml_string | The XML string to pass to this object's XML parser. |
Reimplemented in Auth_Yadis_dom, and Auth_Yadis_domxml.
Definition at line 76 of file XML.php.
Referenced by init().