EnumType

class \TYPO3\CMS\Core\Database\Schema\Types\EnumType

Extends
Type

Type that maps a TYPE field.

Table of Contents

Constants

TYPE  : mixed = 'enum'

Methods

getName()  : string
Gets the name of this type.
getSQLDeclaration()  : string
Gets the SQL declaration snippet for a field of this type.

Constants

Methods

getName()

Gets the name of this type.

public getName() : string

Return values

string

getSQLDeclaration()

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

public getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) : string

Parameters

$fieldDeclaration : array

The field declaration.

$platform : AbstractPlatform

The currently used database platform.

Return values

string
On this page