tasks/system/LoadFileTask.php
LoadFileTask
Loads a (text) file and stores the contents in a property. Supports filterchains.
- Author
- Michiel Rook
- Package
- phing.tasks.ext
- Version
- $Id: LoadFileTask.php 1126 2011-05-31 20:49:04Z mrook $
\LoadFileTask
Package: phing\tasks\ext
LoadFileTask
Loads a (text) file and stores the contents in a property. Supports filterchains.
- Parent(s)
- \Task < \ProjectComponent
- Author
- Michiel Rook
- Version
- $Id: LoadFileTask.php 1126 2011-05-31 20:49:04Z mrook $
Properties

\FilterChain[]
$filterChains= 'array()'
Array of FilterChain objects
Default value
array()Details- Type
- \FilterChain[]
Methods

createFilterChain(
)
:
objectCreates a filterchain
Returns
| Type | Description |
|---|---|
| object | The created filterchain object |

setFile(
\PhingFile $file
)
:
voidSet file to read
Parameters
| Name | Type | Description |
|---|---|---|
| $file | \PhingFile |

setProperty(
$property
)
:
voidSet name of property to be set
Parameters
| Name | Type | Description |
|---|---|---|
| $property |

setSrcFile(
$srcFile
)
:
voidConvenience setter to maintain Ant compatibility (@see setFile())
Parameters
| Name | Type | Description |
|---|---|---|
| $srcFile |