allowedMediaExtensions

Availability: >= 3.0

Type: Object Property

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

Syntax:

$editor->allowedMediaExtensions 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 media directories including those set using the addDirectory method.

See also:

allowedDocExtensions, allowedImageExtensions