‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Database\Schema\Types\SetType Class Reference
Inheritance diagram for TYPO3\CMS\Core\Database\Schema\Types\SetType:

Public Member Functions

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

Public Attributes

const TYPE = 'set'
 

Detailed Description

Type that maps a TYPE field.

not part of public core API.

Definition at line 28 of file SetType.php.

Member Function Documentation

◆ getName()

TYPO3\CMS\Core\Database\Schema\Types\SetType::getName ( )

Gets the name of this type.

Todo:
‪Remove this method with doctrine/dbal 4.0 upgrade.
See also
https://github.com/doctrine/dbal/blob/3.8.x/UPGRADE.md#deprecated-typegetname

Definition at line 50 of file SetType.php.

◆ getSQLDeclaration()

TYPO3\CMS\Core\Database\Schema\Types\SetType::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.

Definition at line 38 of file SetType.php.

Member Data Documentation

◆ TYPE