[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/includes/domit/ -> dom_xmlrpc_parser.php (sommaire)

dom_xmlrpc_parser is the base parsing class

Author: John Heinstein <johnkarl@nbnet.nb.ca>
Copyright: (C) 2004 John Heinstein. All rights reserved
License: http://www.gnu.org/copyleft/lesser.html LGPL License
Poids: 151 lignes (5 kb)
Inclus ou requis: 2 fois
Référencé: 0 fois
Nécessite: 3 fichiers
 includes/domit/dom_xmlrpc_constants.php
 includes/domit/xml_saxy_parser.php
 includes/domit/dom_xmlrpc_array_document.php

Définit 1 class

dom_xmlrpc_parser:: (8 méthodes):
  parseXML()
  parse()
  parseSAXY()
  getArrayDocument()
  startElement()
  endElement()
  addValue()
  dataElement()


Classe: dom_xmlrpc_parser  - X-Ref

The base parsing class

parseXML($xmlText, $useSAXY = true)   X-Ref
Parses the supplied XML text

param: string The XML text
param: boolean True if SAXY is to be used
return: boolean True if the parsing was successful

parse($xmlText)   X-Ref
Invokes Expat to parse the XML text

param: string The XML text
return: boolean True if the parsing was successful

parseSAXY($xmlText)   X-Ref
Invokes SAXY to parse the XML text

param: string The XML text
return: boolean True if the parsing was successful

getArrayDocument()   X-Ref
Returns a reference to the array document

return: array A reference to the array document

startElement($parser, $name, $attrs)   X-Ref
Abstract method for handling start element events

param: object A reference to the SAX parser
param: string The name of the start element tag
param: array An array of attributes (never used by XML-RPC spec)

endElement($parser, $name)   X-Ref
Abstract method for handling end element events

param: object A reference to the SAX parser
param: string The name of the end element tag

addValue($value)   X-Ref
Abstract method for adding an XML-RPC value to the results array

param: mixed The value

dataElement($parser, $data)   X-Ref
Abstract method for handling character data events

param: object A reference to the SAX parser
param: string The character data



Généré le : Wed Nov 21 14:43:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics