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

(pas de description)

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

Définit 1 class

TaskHandler:: (5 méthodes):
  __construct()
  init()
  finished()
  characters()
  startElement()


Classe: TaskHandler  - X-Ref

The task handler class.

This class handles the occurance of a <task> tag and it's possible
nested tags (datatypes and tasks) that may be unknown off bat and are
initialized on the fly.

__construct(AbstractSAXParser $parser, $parentHandler, ProjectConfigurator $configurator, $container = null, $parentWrapper = null, $target = null)   X-Ref
Constructs a new TaskHandler and sets up everything.

param: AbstractSAXParser The ExpatParser object
param: object $parentHandler The parent handler that invoked this handler
param: ProjectConfigurator $configurator
param: TaskContainer $container The container object this task is contained in (null for top-level tasks).
param: RuntimeConfigurable $parentWrapper  Wrapper for the parent element, if any.
param: Target $target The target object this task is contained in (null for top-level tasks).

init($tag, $attrs)   X-Ref
Executes initialization actions required to setup the data structures
related to the tag.
<p>
This includes:
<ul>
<li>creation of the task object</li>
<li>calling the setters for attributes</li>
<li>adding the task to the container object</li>
<li>adding a reference to the task (if id attribute is given)</li>
<li>executing the task if the container is the &lt;project&gt;
element</li>
</ul>

param: string $tag The tag that comes in
param: array $attrs Attributes the tag carries

finished()   X-Ref
Executes the task at once if it's directly beneath the <project> tag.


characters($data)   X-Ref
Handles character data.

param: string $data The CDATA that comes in

startElement($name, $attrs)   X-Ref
Checks for nested tags within the current one. Creates and calls
handlers respectively.

param: string $name The tag that comes in
param: array $attrs Attributes the tag carries



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