![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct ($value=null) | |
![]() | |
__construct ($value=null) | |
equals ($value) | |
__toString () | |
Public Attributes | |
const | __default = self::CANCEL |
const | RENAME = 'rename' |
const | REPLACE = 'replace' |
const | CANCEL = 'cancel' |
Static Protected Attributes | |
static | $legacyValueMap |
![]() | |
static | $enumConstants |
Additional Inherited Members | |
![]() | |
static | getConstants ($include_default=false) |
static | cast ($value) |
![]() | |
setValue ($value) | |
isValid ($value) | |
![]() | |
static | loadValues () |
![]() | |
$value | |
Enumeration object for DuplicationBehavior
Definition at line 21 of file DuplicationBehavior.php.
__construct | ( | $value = null | ) |
mixed | $value |
Definition at line 62 of file DuplicationBehavior.php.
References Enumeration\$value, and GeneralUtility\deprecationLog().
|
staticprotected |
Definition at line 52 of file DuplicationBehavior.php.
const __default = self::CANCEL |
Definition at line 23 of file DuplicationBehavior.php.
const CANCEL = 'cancel' |
If a file is uploaded and another file with the same name already exists, the process is aborted.
Definition at line 44 of file DuplicationBehavior.php.
Referenced by ResourceStorage\addFile(), ImportExportController\checkUpload(), ExtendedFileUtility\func_move(), and ResourceStorage\moveFile().
const RENAME = 'rename' |
If a file is uploaded and another file with the same name already exists, the new file is renamed.
Definition at line 30 of file DuplicationBehavior.php.
Referenced by ResourceStorage\addFile(), ExtendedFileUtility\func_move(), ResourceStorage\moveFile(), ExtendedFileUtility\replaceFile(), ImportExport\setRelations(), and ImportExport\writeSysFileResourceForLegacyImport().
const REPLACE = 'replace' |
If a file is uploaded and another file with the same name already exists, the old file gets overwritten by the new file.
Definition at line 37 of file DuplicationBehavior.php.
Referenced by ResourceStorage\addUploadedFile(), ImportExportController\checkUpload(), and ExtendedFileUtility\replaceFile().