classes/phing/tasks/system/ChmodTask.php
\ChmodTask
Task that changes the permissions on a file/directory.
Use {@link Project#createTask} to register a new Task.
- Extends from
- \Task
- author
- Manuel Holtgrewe
- author
- Hans Lellelid
- copyright
- 2001,2002 THYRELL. All rights reserved
- package
- phing.tasks.system
- version
- $Revision: 552 $
Properties
Methods

chmodFile(
\PhingFile $file, int $mode
)
:
Actually change the mode for the file.
| Name | Type | Description |
|---|---|---|
| $file | \PhingFile | |
| $mode | int |

setFailonerror(
$bool
)
:
This flag means 'note errors to the output, but keep going'
| Name | Type | Description |
|---|---|---|
| $bool |
- see
- \setQuiet()

setFile(
$file
)
:
Sets a single source file to touch. If the file does not exist
an empty file will be created.
| Name | Type | Description |
|---|---|---|
| $file |

setQuiet(
$bool
)
:
Set quiet mode, which suppresses warnings if chmod() fails.
| Name | Type | Description |
|---|---|---|
| $bool |
- see
- \setFailonerror()