tasks/system/ChmodTask.php
\ChmodTask
Package: phing\tasks\system
Task that changes the permissions on a file/directory.
- Parent(s)
- \Task < \ProjectComponent
- Author
- Manuel Holtgrewe
- Author
- Hans Lellelid
- Version
- $Revision: 552 $
Properties
Methods

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

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

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

setQuiet(
$bool
)
:
voidSet quiet mode, which suppresses warnings if chmod() fails.
Parameters
Details
| Name | Type | Description |
|---|---|---|
| $bool |
- See
- \setFailonerror()