[ 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/ -> RootHandler.php (sommaire)

(pas de description)

Poids: 82 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

RootHandler:: (2 méthodes):
  __construct()
  startElement()


Classe: RootHandler  - X-Ref

Root filter class for a phing buildfile.

The root filter is called by the parser first. This is where the phing
specific parsing starts. RootHandler decides what to do next.

__construct(AbstractSAXParser $parser, ProjectConfigurator $configurator)   X-Ref
Constructs a new RootHandler

The root filter is required so the parser knows what to do. It's
called by the ExpatParser that is instatiated in ProjectConfigurator.

It recieves the expat parse object ref and a reference to the
configurator

param: AbstractSAXParser $parser The ExpatParser object.
param: ProjectConfigurator $configurator The ProjectConfigurator object.

startElement($tag, $attrs)   X-Ref
Kick off a custom action for a start element tag.

The root element of our buildfile is the <project> element. The
root filter handles this element if it occurs, creates ProjectHandler
to handle any nested tags & attributes of the <project> tag,
and calls init.

param: string $tag The xml tagname
param: array  $attrs The attributes of the tag



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