TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Resource\DuplicationBehavior Class Reference
Inheritance diagram for TYPO3\CMS\Core\Resource\DuplicationBehavior:
TYPO3\CMS\Core\Type\Enumeration TYPO3\CMS\Core\Type\TypeInterface

Public Member Functions

static __construct ($value=null)
 
- Public Member Functions inherited from TYPO3\CMS\Core\Type\Enumeration
 __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 Protected Attributes inherited from TYPO3\CMS\Core\Type\Enumeration
static $enumConstants
 

Additional Inherited Members

- Static Public Member Functions inherited from TYPO3\CMS\Core\Type\Enumeration
static getConstants ($include_default=false)
 
static cast ($value)
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Type\Enumeration
 setValue ($value)
 
 isValid ($value)
 
- Static Protected Member Functions inherited from TYPO3\CMS\Core\Type\Enumeration
static loadValues ()
 
- Protected Attributes inherited from TYPO3\CMS\Core\Type\Enumeration
 $value
 

Detailed Description

Enumeration object for DuplicationBehavior

Definition at line 21 of file DuplicationBehavior.php.

Constructor & Destructor Documentation

◆ __construct()

static TYPO3\CMS\Core\Resource\DuplicationBehavior::__construct (   $value = null)

Member Data Documentation

◆ $legacyValueMap

TYPO3\CMS\Core\Resource\DuplicationBehavior::$legacyValueMap
staticprotected
Initial value:
= [
'1' => self::REPLACE

Definition at line 52 of file DuplicationBehavior.php.

◆ __default

const TYPO3\CMS\Core\Resource\DuplicationBehavior::__default = self::CANCEL

Definition at line 23 of file DuplicationBehavior.php.

◆ CANCEL

const TYPO3\CMS\Core\Resource\DuplicationBehavior::CANCEL = 'cancel'

◆ RENAME

◆ REPLACE

const TYPO3\CMS\Core\Resource\DuplicationBehavior::REPLACE = 'replace'