[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/vendor/phing/ -> UnknownElement.php (sommaire)

(pas de description)

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

Définit 1 class

UnknownElement:: (9 méthodes):
  __construct()
  getTag()
  maybeConfigure()
  main()
  addChild()
  handleChildren()
  makeObject()
  makeTask()
  getTaskName()


Classe: UnknownElement  - X-Ref

Wrapper class that holds all information necessary to create a task
that did not exist when Phing started.

<em> This has something to do with phing encountering an task XML element
it is not aware of at start time. This is a situation where special steps
need to be taken so that the element is then known.</em>

__construct($elementName)   X-Ref
Constructs a UnknownElement object

param: string  The XML element name that is unknown

getTag()   X-Ref
Return the XML element name that this <code>UnnownElement</code>
handles.

return: string  The XML element name that is unknown

maybeConfigure()   X-Ref
Tries to configure the unknown element


main()   X-Ref
Called when the real task has been configured for the first time.


addChild(UnknownElement $child)   X-Ref
Add a child element to the unknown element

param: object  The object representing the child element

handleChildren(ProjectComponent $parent, $parentWrapper)   X-Ref
Handle child elemets of the unknown element, if any.

param: ProjectComponent The parent object the unkown element belongs to
param: object The parent wrapper object

makeObject(UnknownElement $ue, RuntimeConfigurable $w)   X-Ref
Creates a named task or data type. If the real object is a task,
it is configured up to the init() stage.

param: UnknownElement $ue The unknown element to create the real object for.
param: RuntimeConfigurable $w  Ignored in this implementation.
return: object The Task or DataType represented by the given unknown element.

makeTask(UnknownElement $ue, RuntimeConfigurable $w, $onTopLevel = false)   X-Ref
Create a named task and configure it up to the init() stage.

param: UnknownElement $ue The unknwon element to create a task from
param: RuntimeConfigurable $w The wrapper object
param: boolean $onTopLevel Whether to treat this task as if it is top-level.
return: Task The freshly created task

getTaskName()   X-Ref
Get the name of the task to use in logging messages.

return: string  The task's name



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