Data Structures | Namespaces | Functions | Variables

cms/openid/Services/Yadis/XML.php File Reference

Go to the source code of this file.

Data Structures

class  Services_Yadis_XMLParser
class  Services_Yadis_domxml
class  Services_Yadis_dom

Namespaces

namespace  Yadis

Functions

 Services_Yadis_setDefaultParser (&$parser)
Services_Yadis_getXMLParser ()

Variables

 $__Services_Yadis_defaultParser = null
 $__Services_Yadis_xml_extensions

Function Documentation

& Services_Yadis_getXMLParser (  ) 

Returns an instance of a Services_Yadis_XMLParser subclass based on the availability of PHP extensions for XML parsing. If Services_Yadis_setDefaultParser has been called, the parser used in that call will be returned instead.

Definition at line 320 of file XML.php.

Services_Yadis_setDefaultParser ( &$  parser  ) 

Set a default parser to override the extension-driven selection of available parser classes. This is helpful in a test environment or one in which multiple parsers can be used but one is more desirable.

Parameters:
Services_Yadis_XMLParser $parser An instance of a Services_Yadis_XMLParser subclass.

Definition at line 303 of file XML.php.


Variable Documentation

$__Services_Yadis_defaultParser = null

Definition at line 292 of file XML.php.

$__Services_Yadis_xml_extensions
Initial value:
 array(
    'dom' => 'Services_Yadis_dom',
    'domxml' => 'Services_Yadis_domxml'
    )

Definition at line 309 of file XML.php.