[ Index ] |
|
Code source de Joomla 1.0.13 |
[Code source] [Imprimer] [Statistiques]
SAXY_Parser_Base is a base class for SAXY and SAXY Lite
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: | 293 lignes (8 kb) |
Inclus ou requis: | 2 fois |
Référencé: | 1 fois |
Nécessite: | 0 fichiers |
SAXY_Parser_Base:: (13 méthodes):
SAXY_Parser_Base()
xml_set_element_handler()
xml_set_character_data_handler()
xml_set_cdata_section_handler()
convertEntities()
appendEntityTranslationTable()
getCharFromEnd()
parseAttributes()
parseBetweenTags()
fireStartElementEvent()
fireEndElementEvent()
fireCharacterDataEvent()
fireCDataSectionEvent()
Classe: SAXY_Parser_Base - X-Ref
The base SAX Parser classSAXY_Parser_Base() X-Ref |
Constructor for SAX parser |
xml_set_element_handler($startHandler, $endHandler) X-Ref |
Sets a reference to the handler for the start element event param: mixed A reference to the start element handler |
xml_set_character_data_handler($handler) X-Ref |
Sets a reference to the handler for the data event param: mixed A reference to the data handler |
xml_set_cdata_section_handler($handler) X-Ref |
Sets a reference to the handler for the CDATA Section event param: mixed A reference to the CDATA Section handler |
convertEntities($truthVal) X-Ref |
Sets whether predefined entites should be replaced with their equivalent characters during parsing param: boolean True if entity replacement is to occur |
appendEntityTranslationTable($table) X-Ref |
Appends an array of entity mappings to the existing translation table Intended mainly to facilitate the conversion of non-ASCII entities into equivalent characters param: array A list of entity mappings in the format: array('&' => '&'); |
getCharFromEnd($text, $index) X-Ref |
Gets the nth character from the end of the string param: string The text to be queried param: int The index from the end of the string return: string The found character |
parseAttributes($attrText) X-Ref |
Parses the attributes string into an array of key / value pairs param: string The attribute text return: Array An array of key / value pairs |
parseBetweenTags($betweenTagText) X-Ref |
Parses character data param: string The character data |
fireStartElementEvent($tagName, $attributes) X-Ref |
Fires a start element event param: string The start element tag name param: Array The start element attributes |
fireEndElementEvent($tagName) X-Ref |
Fires an end element event param: string The end element tag name |
fireCharacterDataEvent($data) X-Ref |
Fires a character data event param: string The character data |
fireCDataSectionEvent($data) X-Ref |
Fires a CDATA Section event param: string The CDATA Section data |
Généré le : Wed Nov 21 14:43:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |