[ Index ] |
|
Code source de SPIP Agora 1.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 220 lignes (8 kb) |
Inclus ou requis: | 2 fois |
Référencé: | 0 fois |
Nécessite: | 2 fichiers Agora1-4/ecrire/include/sevenseas/SearchResults.php Agora1-4/ecrire/include/sevenseas/SearchResult.php |
ResultBuilder:: (7 méthodes):
ResultBuilder()
buildResults()
_parseXMLStream()
_parse()
_tagOpen()
_tagClose()
_cdata()
Classe: ResultBuilder - X-Ref
This class is designed to provide an easy way to changeResultBuilder() X-Ref |
Constructor for ResultBuilder |
buildResults($xmlInputStream) X-Ref |
This function is the one that does the job ;) Any subclass should redefine this default method in order to use a different parsing technique or a different implementation of SearchResult param: String $xmlInputStream is the XML stream return: mixed Instance of SearchResults or PEAR::Error |
_parseXMLStream($xmlStream) X-Ref |
This function does the parsing job on the XML Stream and builds the SearchResult array param: String $xmlStream XML stream to parse |
_parse(&$data) X-Ref |
This method is used to start the XML parsing param: &$data XML stream to parse |
_tagOpen($parser, $tag, $attributes) X-Ref |
This method id used to handle opening tags during the XML parsing param: resource $parser a resource reference to the XML parser param: String $tag representing the tag being treated param: Array $attributes containing the current element attributes |
_tagClose($parser, $tag) X-Ref |
This method id used to handle closing tags during the XML parsing param: resource $parser a resource reference to the XML parser param: String $tag representing the tag being treated |
_cdata($parser, $cdata) X-Ref |
This method id used to handle chracter datas encounterd while parsing an XML stream param: resource $parser a resource reference to the XML parser param: String $cdata representing the cdata encountered |
Généré le : Sat Feb 24 14:40:03 2007 | par Balluche grâce à PHPXref 0.7 |