phing-mappers
[ class tree: phing-mappers ] [ index: phing-mappers ] [ all elements ]

Class: RegexpMapper

Source Location: /mappers/RegexpMapper.php

Class Overview


Uses regular expressions to perform filename transformations.


Author(s):

Version:

  • $Revision: 526 $

Implements interfaces:

Methods



Class Details

[line 34]
Uses regular expressions to perform filename transformations.



Tags:

author:  Hans Lellelid <hans@velum.net>
author:  Andreas Aderhold <andi@binarycloud.com>
version:  $Revision: 526 $


[ Top ]


Class Methods


constructor __construct [line 47]

RegexpMapper __construct( )



[ Top ]

method main [line 70]

void main( $sourceFileName)




Implementation of:
FileNameMapper::main()
The mapper implementation.

Parameters:

   $sourceFileName  

[ Top ]

method setFrom [line 55]

void setFrom( $from)

Sets the &quot;from&quot; pattern. Required.




Implementation of:
FileNameMapper::setFrom()
Accessor. Sets the from property. What this mapper should recognize. The actual implementation is dependent upon the child class

Parameters:

   $from  

[ Top ]

method setTo [line 62]

void setTo( $to)

Sets the &quot;to&quot; pattern. Required.




Implementation of:
FileNameMapper::setTo()
Accessor. Sets the to property. The actual implementation depends on the child class.

Parameters:

   $to  

[ Top ]


Documentation generated on Mon, 19 Oct 2009 10:51:53 +0200 by phpDocumentor 1.4.3