Uses regular expressions to perform filename transformations.
author | Andreas Aderhold |
---|---|
author | Hans Lellelid |
version | $Id$ |
package | phing.mappers |
__construct()
main(mixed $sourceFileName) : array
mixed
The data the mapper works on.
array
The data after the mapper has been applied; must be in array format (for some reason).setFrom(string $from) : void
Required.
string
On what this mapper should work
setTo(string $to) : void
Required.
string
To what this mapper should convert the from string
replaceReferences(string $source)
groups of the source.
string
The source filename.
$reg : \Regexp
$to : string