classes/phing/types/Mapper.php
\Mapper
Filename Mapper maps source file name(s) to target file name(s).
Built-in mappers can be accessed by specifying they "type" attribute:
Custom mappers can be specified by providing a dot-path to a include_path-relative
class:
- Extends from
- \DataType
- author
- Hans Lellelid
- package
- phing.types
- version
- $Revision: 526 $
Properties
Methods

setClassname(
$classname
)
:
Set the class name of the FileNameMapper to use.
| Name | Type | Description |
|---|---|---|
| $classname |

setClasspath(
\Path $classpath
)
:
Set the classpath to be used when searching for component being defined
| Name | Type | Description |
|---|---|---|
| $classpath | \Path | An Path object containing the classpath. |

setClasspathRef(
$r
)
:
Reference to a classpath to use when loading the files.
| Name | Type | Description |
|---|---|---|
| $r |

setFrom(
$from
)
:
Set the argument to FileNameMapper.setFrom
| Name | Type | Description |
|---|---|---|
| $from |

setRefid(
$r
)
:
Make this Mapper instance a reference to another Mapper.
You must not set any other attribute if you make it a reference.
| Name | Type | Description |
|---|---|---|
| $r |