Auth_Yadis_domxml Class Reference

Inheritance diagram for Auth_Yadis_domxml:

Inheritance graph
[legend]
Collaboration diagram for Auth_Yadis_domxml:

Collaboration graph
[legend]

List of all members.


Detailed Description

This concrete implementation of Auth_Yadis_XMLParser implements the appropriate API for the 'domxml' extension which is typically packaged with PHP 4. This class will be used whenever the 'domxml' extension is detected. See the Auth_Yadis_XMLParser class for details on this class's methods.

Definition at line 136 of file XML.php.


Public Member Functions

 Auth_Yadis_domxml ()
 setXML ($xml_string)
 registerNamespace ($prefix, $uri)
evalXPath ($xpath, $node=null)
 content ($node)
 attributes ($node)

Member Function Documentation

Auth_Yadis_domxml.Auth_Yadis_domxml (  ) 

Definition at line 137 of file XML.php.

Auth_Yadis_domxml.setXML ( xml_string  ) 

Set this parser object's XML payload. This should be overridden by subclasses.

Parameters:
string $xml_string The XML string to pass to this object's XML parser.
Returns:
boolean $result True if the initialization succeeded; false otherwise.

Reimplemented from Auth_Yadis_XMLParser.

Definition at line 145 of file XML.php.

Auth_Yadis_domxml.registerNamespace ( prefix,
uri 
)

Register a namespace with the XML parser. This should be overridden by subclasses.

Parameters:
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.
Returns:
boolean $result True if the registration succeeded; false otherwise.

Reimplemented from Auth_Yadis_XMLParser.

Definition at line 160 of file XML.php.

& Auth_Yadis_domxml.evalXPath ( xpath,
node = null 
)

Evaluate an XPath expression and return the resulting node list. This should be overridden by subclasses.

Parameters:
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.
Returns:
array $node_list An array of matching opaque node objects to be used with other methods of this parser class.

Reimplemented from Auth_Yadis_XMLParser.

Definition at line 165 of file XML.php.

Auth_Yadis_domxml.content ( node  ) 

Return the textual content of a specified node.

Parameters:
mixed $node A node object from a previous call to $this->evalXPath().
Returns:
string $content The content of this node.

Reimplemented from Auth_Yadis_XMLParser.

Definition at line 186 of file XML.php.

Auth_Yadis_domxml.attributes ( node  ) 

Return the attributes of a specified node.

Parameters:
mixed $node A node object from a previous call to $this->evalXPath().
Returns:
array $attrs An array mapping attribute names to values.

Reimplemented from Auth_Yadis_XMLParser.

Definition at line 193 of file XML.php.


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

Generated on Thu Feb 19 15:03:40 2009 for OXID eShop CE by  doxygen 1.5.5