mappers/GlobMapper.php

Show: inherited
Table of Contents

description here

Author
Andreas Aderhold, andi@binarycloud.com  
Package
phing.mappers  
Version
$Revision: 526 $  

\GlobMapper

Package: phing\mappers

description here

Implements
\FileNameMapper
Author
Andreas Aderhold, andi@binarycloud.com  
Version
$Revision: 526 $  

Properties

Propertyprivate  $fromPostfix= 'null'

Part of "from" pattern after the *.

Default valuenullDetails
Type
n/a
Propertyprivate  $fromPrefix= 'null'

Part of "from" pattern before the *.

Default valuenullDetails
Type
n/a
Propertyprivate  $postfixLength= ''

Length of the postfix ("from" pattern).

Details
Type
n/a
Propertyprivate  $prefixLength= ''

Length of the prefix ("from" pattern).

Details
Type
n/a
Propertyprivate  $toPostfix= 'null'

Part of "to" pattern after the *.

Default valuenullDetails
Type
n/a
Propertyprivate  $toPrefix= 'null'

Part of "to" pattern before the *.

Default valuenullDetails
Type
n/a

Methods

methodprivate_extractVariablePart(  $_name ) : void

Parameters
Name Type Description
$_name
methodpublicmain(  $_sourceFileName ) : array

The mapper implementation.

Parameters
Name Type Description
$_sourceFileName
Returns
Type Description
array The data after the mapper has been applied; must be in array format (for some reason).
methodpublicsetFrom( string $from ) : void

Accessor. Sets the from property. What this mapper should recognize. The actual implementation is dependent upon the child class

Parameters
Name Type Description
$from string

On what this mapper should work

methodpublicsetTo( string $to ) : void

Sets the "to" pattern. Required.

Parameters
Name Type Description
$to string

To what this mapper should convert the from string

Documentation was generated by DocBlox 0.17.1.