type

Availability: >= 3.0

Type: Object Property

Description: Sets the type of directory. The default is 'image'.

Syntax:

$dir->type string $type;

The value should be one of the following strings:

image

document

media