‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Cache\DatabaseSchemaService Class Reference

Public Member Functions

 addCachingFrameworkDatabaseSchema (AlterTableDefinitionStatementsEvent $event)
 

Private Member Functions

string getCachingFrameworkRequiredDatabaseSchema ()
 

Detailed Description

This service provides the sql schema for the caching framework

Definition at line 24 of file DatabaseSchemaService.php.

Member Function Documentation

◆ addCachingFrameworkDatabaseSchema()

TYPO3\CMS\Core\Cache\DatabaseSchemaService::addCachingFrameworkDatabaseSchema ( AlterTableDefinitionStatementsEvent  $event)

An event listener to inject the required caching framework database tables to the tables definitions string

Definition at line 31 of file DatabaseSchemaService.php.

References TYPO3\CMS\Core\Database\Event\AlterTableDefinitionStatementsEvent\addSqlData(), and TYPO3\CMS\Core\Cache\DatabaseSchemaService\getCachingFrameworkRequiredDatabaseSchema().

◆ getCachingFrameworkRequiredDatabaseSchema()

string TYPO3\CMS\Core\Cache\DatabaseSchemaService::getCachingFrameworkRequiredDatabaseSchema ( )
private

Get schema SQL of required cache framework tables.

This method needs ext_localconf and ext_tables loaded!

Returns
‪string Cache framework SQL

Definition at line 43 of file DatabaseSchemaService.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Core\Cache\DatabaseSchemaService\addCachingFrameworkDatabaseSchema().