allowedDocExtensions

Availability: >= 3.0

Type: Object Property

Description: Sets the document file types that can be uploaded when managing a document directory.

Syntax:

$editor->allowedDocExtensions string $extensions

The value should be a comma separated list of extensions. Each extension must start with a dot. The default value for this property is set in the dialog configuration file located at wysiwygPro/conf/dialogConfig.inc.php.

This property affects all document directories including those set using the addDirectory method.

See also:

allowedImageExtensions, allowedMediaExtensions