[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/vendor/phing/tasks/system/ -> TaskdefTask.php (sommaire)

(pas de description)

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

Définit 1 class

TaskdefTask:: (6 méthodes):
  setClasspath()
  createClasspath()
  setClasspathRef()
  setName()
  setClassname()
  main()


Classe: TaskdefTask  - X-Ref

Register a task for use within a buildfile.

This is for registering your own tasks -- or any non-core Task -- for use within a buildfile.
If you find that you are using a particular class frequently, you may want to edit the
phing/tasks/defaults.properties file so that it is included by default. You may also
want to submit it (if LGPL or compatible license) to be included in Phing distribution.

<pre>
<taskdef name="mytag" classname="path.to.MyHandlingClass"/>
.
.
<mytag param1="val1" param2="val2"/>
</pre>

TODO:
-- possibly refactor since this is almost the same as TypeDefTask
(right now these are just too simple to really justify creating an abstract class)

setClasspath(Path $classpath)   X-Ref
Set the classpath to be used when searching for component being defined

param: Path $classpath An Path object containing the classpath.

createClasspath()   X-Ref
Create the classpath to be used when searching for component being defined


setClasspathRef(Reference $r)   X-Ref
Reference to a classpath to use when loading the files.


setName($name)   X-Ref
Sets the name that will be used in XML buildfile.

param: string $name

setClassname($class)   X-Ref
Sets the class name / dotpath to use.

param: string $class

main()   X-Ref
Pas de description



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