[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

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

The base class for all Tasks. Use {@link Project#createTask} to register a new Task.

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

Définit 17 fonctions

  setOwningTarget()
  getOwningTarget()
  getTaskName()
  setTaskName()
  getTaskType()
  setTaskType()
  getRegisterSlot()
  log()
  setDescription()
  getDescription()
  init()
  getLocation()
  setLocation()
  getRuntimeConfigurableWrapper()
  setRuntimeConfigurableWrapper()
  maybeConfigure()
  perform()

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

setOwningTarget(Target $target)   X-Ref
Sets the owning target this task belongs to.

param: object  Reference to owning target

getOwningTarget()   X-Ref
Returns the owning target of this task.

return: object    The target object that owns this task

getTaskName()   X-Ref
Returns the name of task, used only for log messages

return: string  Name of this task

setTaskName($name)   X-Ref
Sets the name of this task for log messages

return: string  A string representing the name of this task for log

getTaskType()   X-Ref
Returns the name of the task under which it was invoked,
usually the XML tagname

return: string The type of this task (XML Tag)

setTaskType($name)   X-Ref
Sets the type of the task. Usually this is the name of the XML tag

param: string The type of this task (XML Tag)

getRegisterSlot($slotName)   X-Ref
Returns a name


log($msg, $level = PROJECT_MSG_INFO)   X-Ref
Provides a project level log event to the task.

param: string  The message to log
param: integer The priority of the message

setDescription($desc)   X-Ref
Sets a textual description of the task

param: string    The text describing the task

getDescription()   X-Ref
Returns the textual description of the task

return: string  The text description of the task

init()   X-Ref
Called by the parser to let the task initialize properly.
Should throw a BuildException if something goes wrong with the build

This is abstract here, but may not be overloaded by subclasses.


getLocation()   X-Ref
Returns the location within the buildfile this task occurs. Used
by {@link BuildException} to give detailed error messages.

return: Location The location object describing the position of this

setLocation(Location $location)   X-Ref
Sets the location within the buildfile this task occurs. Called by
the parser to set location information.

return: object  The location object describing the position of this

getRuntimeConfigurableWrapper()   X-Ref
Returns the wrapper object for runtime configuration

return: object  The wrapper object used by this task

setRuntimeConfigurableWrapper(RuntimeConfigurable $wrapper)   X-Ref
Sets the wrapper object this task should use for runtime
configurable elements.

param: object  The wrapper object this task should use

maybeConfigure()   X-Ref
Configure this task if it hasn't been done already.


perform()   X-Ref
Perfrom this task




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