TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
SqlExpectedSchemaService Class Reference

Public Member Functions

 __construct (Dispatcher $signalSlotDispatcher=null)
 
 getTablesDefinitionString ($withStatic=false)
 

Protected Member Functions

 emitTablesDefinitionIsBeingBuiltSignal (array $sqlString)
 

Protected Attributes

 $signalSlotDispatcher
 

Detailed Description

Expected schema service

Definition at line 25 of file SqlExpectedSchemaService.php.

Constructor & Destructor Documentation

__construct ( Dispatcher  $signalSlotDispatcher = null)
Parameters
Dispatcher$signalSlotDispatcher

Definition at line 35 of file SqlExpectedSchemaService.php.

References SqlExpectedSchemaService\$signalSlotDispatcher, and GeneralUtility\makeInstance().

Member Function Documentation

emitTablesDefinitionIsBeingBuiltSignal ( array  $sqlString)
protected

Emits a signal to manipulate the tables definitions

Parameters
array$sqlString
Returns
mixed

Definition at line 93 of file SqlExpectedSchemaService.php.

Referenced by SqlExpectedSchemaService\getTablesDefinitionString().

getTablesDefinitionString (   $withStatic = false)

Cycle through all loaded extensions and get full table definitions as concatenated string

Parameters
bool$withStaticTRUE if sql from ext_tables_static+adt.sql should be loaded, too.
Returns
string Concatenated SQL of loaded extensions ext_tables.sql

Definition at line 64 of file SqlExpectedSchemaService.php.

References $GLOBALS, and SqlExpectedSchemaService\emitTablesDefinitionIsBeingBuiltSignal().

Member Data Documentation

$signalSlotDispatcher
protected

Definition at line 30 of file SqlExpectedSchemaService.php.

Referenced by SqlExpectedSchemaService\__construct().