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

Class: MergeMapper

Source Location: /mappers/MergeMapper.php

Class Overview


For merging files into a single file. In practice just returns whatever value was set for "to".


Author(s):

Version:

  • $Revision: 526 $

Implements interfaces:

Methods



Class Details

[line 32]
For merging files into a single file. In practice just returns whatever value was set for "to".



Tags:

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


[ Top ]


Class Methods


method main [line 45]

mixed main( mixed $sourceFileName)

The mapper implementation. Basically does nothing in this case.



Tags:

return:  The data after the mapper has been applied
author:  Andreas Aderhold, andi@binarycloud.com
access:  public



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

Parameters:

mixed   $sourceFileName   The data the mapper works on

[ Top ]

method setFrom [line 67]

void setFrom( $from)

Ignored.




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

boolean setTo( string $to)

Accessor. Sets the to property



Tags:

return:  True
author:  Andreas Aderhold, andi@binarycloud.com
access:  public



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

Parameters:

string   $to   To what this mapper should convert the from string

[ Top ]


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