[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 140 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
ExpatParser:: (4 méthodes):
__construct()
parserSetOption()
getLocation()
parse()
Classe: ExpatParser - X-Ref
This class is a wrapper for the PHP's internal expat parser.__construct(Reader $reader, $filename=null) X-Ref |
Constructs a new ExpatParser object. The constructor accepts a PhingFile object that represents the filename for the file to be parsed. It sets up php's internal expat parser and options. param: Reader $reader The Reader Object that is to be read from. param: string $filename Filename to read. |
parserSetOption($opt, $val) X-Ref |
Override PHP's parser default settings, created in the constructor. param: string the option to set return: boolean true if the option could be set, otherwise false |
getLocation() X-Ref |
Returns the location object of the current parsed element. It describes the location of the element within the XML file (line, char) return: object the location of the current parser |
parse() X-Ref |
Starts the parsing process. param: string the option to set return: int 1 if the parsing succeeded |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |