‪TYPO3CMS  10.4
TYPO3\CMS\Core\Database\Schema\Types\EnumType Class Reference
Inheritance diagram for TYPO3\CMS\Core\Database\Schema\Types\EnumType:

Public Member Functions

string getSQLDeclaration (array $fieldDeclaration, AbstractPlatform $platform)
 
string getName ()
 

Public Attributes

const TYPE = 'enum'
 

Detailed Description

Type that maps a TYPE field.

Definition at line 26 of file EnumType.php.

Member Function Documentation

◆ getName()

string TYPO3\CMS\Core\Database\Schema\Types\EnumType::getName ( )

Gets the name of this type.

Returns
‪string

Definition at line 50 of file EnumType.php.

◆ getSQLDeclaration()

string TYPO3\CMS\Core\Database\Schema\Types\EnumType::getSQLDeclaration ( array  $fieldDeclaration,
AbstractPlatform  $platform 
)

Gets the SQL declaration snippet for a field of this type.

Parameters
array$fieldDeclaration‪The field declaration.
\Doctrine\DBAL\Platforms\AbstractPlatform$platform‪The currently used database platform.
Returns
‪string

Definition at line 38 of file EnumType.php.

Member Data Documentation

◆ TYPE