tasks/system/ForeachTask.php
\ForeachTask
<foreach> task
Task definition for the foreach task. This task takes a list with delimited values, and executes a target with set param.
Usage:
Attributes: list --> The list of values to process, with the delimiter character, indicated by the "delimiter" attribute, separating each value. target --> The target to call for each token, passing the token as the parameter with the name indicated by the "param" attribute. param --> The name of the parameter to pass the tokens in as to the target. delimiter --> The delimiter string that separates the values in the "list" parameter. The default is ",".
- Parent(s)
- \Task < \ProjectComponent
- Author
- Jason Hines
- Author
- Hans Lellelid
- Version
- $Revision: 1331 $
Properties

\PhingCallTask
$callee= ''
PhingCallTask that will be invoked w/ calleeTarget.
- Type
- \PhingCallTask
Methods

createMapper(
)
:
objectNested creator, creates one Mapper for this task
| Type | Description |
|---|---|
| object | The created Mapper type object |
| Exception | Description |
|---|---|
| \BuildException |
- Access
- public

process(
\Task $callee, \PhingFile $fromDir, array $srcFiles, array $srcDirs
)
:
voidProcesses a list of files & directories
| Name | Type | Description |
|---|---|---|
| $callee | \Task | |
| $fromDir | \PhingFile | |
| $srcFiles | array | |
| $srcDirs | array |