[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/parser/ -> AbstractHandler.php (sommaire)

This is an abstract class all SAX handler classes must extend

Author: Andreas Aderhold <andi@binarycloud.com>
Copyright: © 2001,2002 THYRELL. All rights reserved
Version: $Revision: 1.6 $
Poids: 98 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 5 fonctions

  __construct()
  startElement()
  finished()
  endElement()
  characters()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

__construct($parser, $parentHandler)   X-Ref
Constructs a SAX handler parser.

The constructor must be called by all derived classes.

param: object  the parser object
param: object  the parent handler of this handler

startElement($name, $attribs)   X-Ref
Gets invoked when a XML open tag occurs

Must be overloaded by the child class. Throws an ExpatParseException
if there is no handler registered for an element.

param: string  the name of the XML element
param: array   the attributes of the XML element

finished()   X-Ref
Gets invoked when element closes method.


endElement($name)   X-Ref
Gets invoked when a XML element ends.

Can be overloaded by the child class. But should not. It hands
over control to the parentHandler of this.

param: string  the name of the XML element

characters($data)   X-Ref
Invoked by occurance of #PCDATA.

param: string  the name of the XML element



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7