# tasks/system/MkdirTask.php

## \MkdirTask
jump to top

Package: phing\tasks\system

Task to create a directory.

Parent(s)
  \Task < \ProjectComponent
Author
  Andreas Aderhold, andi@binarycloud.com
Version
  $Revision: 1248 $

### Properties

`$dir= ''`

directory to create

Details

Type
  n/a

`integer $mode= '0755'`

Mode to create directory with

Default value `0755` Details

Type
  integer

### Methods

`getDescription( ) : void`

`getLocation( ) : void`

`getOwningTarget( ) : void`

`getProject( ) : void`

`getRegisterSlot( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`init( ) : void`

`log( ) : void`

`main( ) : void`

create the directory and all parents

Throws

Exception | Description
--- | ---
\BuildException | if dir is somehow invalid, or creation failed.

`maybeConfigure( ) : void`

`perform( ) : void`

`setDescription( ) : void`

`setDir( $dir ) : void`

the directory to create; required.

Parameters

Name | Type | Description
--- | --- | ---
$dir |  |

`setLocation( ) : void`

`setMode( mixed $mode ) : void`

Sets mode to create directory with

Parameters

Name | Type | Description
--- | --- | ---
$mode | mixed |

`setOwningTarget( ) : void`

`setProject( ) : void`

`setRuntimeConfigurableWrapper( ) : void`

`setTaskName( ) : void`

`setTaskType( ) : void`

Documentation was generated by DocBlox 0.17.1.