‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Database\Schema\EventListener\SchemaIndexDefinitionListener Class Reference

Public Member Functions

 onSchemaIndexDefinition (SchemaIndexDefinitionEventArgs $event)
 

Protected Member Functions

 buildIndex (array $tableIndexRows)
 

Detailed Description

Event listener to handle additional processing for index definitions to integrate MySQL index sub parts.

Definition at line 29 of file SchemaIndexDefinitionListener.php.

Member Function Documentation

◆ buildIndex()

TYPO3\CMS\Core\Database\Schema\EventListener\SchemaIndexDefinitionListener::buildIndex ( array  $tableIndexRows)
protected

Build a Doctrine Index Object based on the information gathered from the MySQL information schema.

Exceptions

Definition at line 87 of file SchemaIndexDefinitionListener.php.

Referenced by TYPO3\CMS\Core\Database\Schema\EventListener\SchemaIndexDefinitionListener\onSchemaIndexDefinition().

◆ onSchemaIndexDefinition()

TYPO3\CMS\Core\Database\Schema\EventListener\SchemaIndexDefinitionListener::onSchemaIndexDefinition ( SchemaIndexDefinitionEventArgs  $event)

Listener for index definition events. This intercepts definitions for indexes and builds the appropriate Index Object taking the sub part length into account when a MySQL platform has been detected.

Exceptions

Definition at line 39 of file SchemaIndexDefinitionListener.php.

References TYPO3\CMS\Core\Database\Schema\EventListener\SchemaIndexDefinitionListener\buildIndex().