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

Class: FlattenMapper

Source Location: /mappers/FlattenMapper.php

Class Overview


Removes any directory information from the passed path.


Author(s):

Version:

  • $Revision: 526 $

Implements interfaces:

Methods



Class Details

[line 31]
Removes any directory information from the passed path.



Tags:

author:  Andreas Aderhold <andi@binarycloud.com>
version:  $Revision: 526 $


[ Top ]


Class Methods


method main [line 40]

array main( string $sourceFileName)

The mapper implementation. Returns string with source filename but without leading directory information



Tags:

return:  The data after the mapper has been applied



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

Parameters:

string   $sourceFileName   The data the mapper works on

[ Top ]

method setFrom [line 53]

void setFrom( $from)

Ignored here.




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 48]

void setTo( $to)

Ignored here.




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:01 +0200 by phpDocumentor 1.4.3