[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

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

SAXY Lite is a non-validating, but lightweight and fast SAX parser for PHP, modelled on the Expat parser

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
Version: 1.0
Poids: 239 lignes (6 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 1 fichier
 includes/domit/xml_saxy_shared.php

Définit 1 class

SAXY_Lite_Parser:: (7 méthodes):
  SAXY_Lite_Parser()
  getVersion()
  preprocessXML()
  parse()
  parseTag()
  xml_get_error_code()
  xml_error_string()


Classe: SAXY_Lite_Parser  - X-Ref

The SAX Parser class

SAXY_Lite_Parser()   X-Ref
Constructor for SAX parser


getVersion()   X-Ref
Returns the current version of SAXY Lite

return: Object The current version of SAXY Lite

preprocessXML($xmlText)   X-Ref
Processes the xml prolog, doctype, and any other nodes that exist outside of the main xml document

param: string The xml text to be processed
return: string The preprocessed xml text

parse($xmlText)   X-Ref
The controlling method for the parsing process

param: string The xml text to be processed
return: boolean True if parsing is successful

parseTag($tagText)   X-Ref
Parses an element tag

param: string The interior text of the element tag

xml_get_error_code()   X-Ref
Returns the current error code (non-functional for SAXY Lite)

return: int The current error code

xml_error_string($code)   X-Ref
Returns a textual description of the error code (non-functional for SAXY Lite)

param: int The error code
return: string The error message



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