classes/phing/tasks/system/MkdirTask.php
Task to create a directory.
Use {@link Project#createTask} to register a new Task.
- Extends from
- \Task
- author
- Andreas Aderhold, andi@binarycloud.com
- copyright
- 2001,2002 THYRELL. All rights reserved
- package
- phing.tasks.system
- version
- $Revision: 1248 $
Properties



integer
$mode= '0755'
Mode to create directory with
Default value0755Details
- Type
- integer
Methods



main(
)
:
create the directory and all parents
Details
- throws
- if dir is somehow invalid, or creation failed.



setDir(
$dir
)
:
the directory to create; required.
Parameters
| Name |
Type |
Description |
| $dir |
|
|



setMode(
mixed $mode
)
:
Sets mode to create directory with
Parameters
| Name |
Type |
Description |
| $mode |
mixed |
|