Availability: >= 3.0

Type: Object Property

Description: Can users overwrite files when moving, copying or uploading?


$editor->overwrite Boolean

This property only affects directories set using the documentDir, documentURL, imageDir, imageURL, mediaDir and mediaURL properties. Directories set using the addDirectory method can be given their own permissions.

The default value for this property is set in the dialog configuration file located at wysiwygPro/conf/dialogConfig.inc.php.

See also: 

copyFiles, copyFolders, createFolders, deleteFiles, deleteFolders, editImages, moveFiles, moveFolders, renameFiles, renameFolders, upload