classes/phing/tasks/system/TypedefTask.php
Register a datatype for use within a buildfile.
This is for registering your own datatypes for use within a buildfile.
If you find that you are using a particular class frequently, you may want to edit the phing/types/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.
.
TODO: -- possibly refactor since this is almost the same as TaskDefTask (right now these are just too simple to really justify creating an abstract class)
- author
- Hans Lellelid
- package
- phing.tasks.system
- version
- $Revision: 1224 $
\TypedefTask
Register a datatype for use within a buildfile.
This is for registering your own datatypes for use within a buildfile.
If you find that you are using a particular class frequently, you may want to edit the phing/types/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.
.
TODO: -- possibly refactor since this is almost the same as TaskDefTask (right now these are just too simple to really justify creating an abstract class)
- Extends from
- \Task
- author
- Hans Lellelid
- copyright
- 2001,2002 THYRELL. All rights reserved
- package
- phing.tasks.system
- version
- $Revision: 1224 $
Properties

string
$classname= ''
Classname of task to register.
This can be a dot-path -- relative to a location on PHP include_path. E.g. path.to.MyClass -> path/to/MyClass.php
- Type
- string

\Path
$classpath= ''
Path to add to PHP include_path to aid in finding specified class.
- Type
- \Path
Methods

createClasspath(
)
:
\Path| Type | Description |
|---|---|
| \Path |

setClassname(
string $class
)
:
| Name | Type | Description |
|---|---|---|
| $class | string |

setClasspath(
\Path $classpath
)
:
| Name | Type | Description |
|---|---|---|
| $classpath | \Path | A Path object containing the classpath. |

setClasspathRef(
$r
)
:
| Name | Type | Description |
|---|---|---|
| $r |