43 public function getExpectedDatabaseSchema() {
45 $schemaMigrationService = $this->objectManager->get(
'TYPO3\\CMS\\Install\\Service\\SqlSchemaMigrationService');
49 $cleanedExpectedSchemaString = implode(LF, $schemaMigrationService->getStatementArray($expectedSchemaString, TRUE,
'^CREATE TABLE '));
50 $expectedSchema = $schemaMigrationService->getFieldDefinitions_fileContent($cleanedExpectedSchemaString);
51 return $expectedSchema;
64 $loadedExtensionInformation =
$GLOBALS[
'TYPO3_LOADED_EXT'];
65 foreach ($loadedExtensionInformation as $extensionConfiguration) {
66 if ((is_array($extensionConfiguration) || $extensionConfiguration instanceof \ArrayAccess) && $extensionConfiguration[
'ext_tables.sql']) {
70 && (is_array($extensionConfiguration) || $extensionConfiguration instanceof \ArrayAccess)
71 && $extensionConfiguration[
'ext_tables_static+adt.sql']
79 return implode(LF . LF . LF . LF, $sqlString);
89 $signalReturn = $this->signalSlotDispatcher->dispatch(__CLASS__,
'tablesDefinitionIsBeingBuilt', array($sqlString));
91 $signalReturn = array_values($signalReturn);
92 $sqlString = $signalReturn[0];
93 if (!is_array($sqlString)) {
94 throw new Exception\UnexpectedSignalReturnValueTypeException(
96 'The signal %s of class %s returned a value of type %s, but array was expected.',
97 'tablesDefinitionIsBeingBuilt',
getTablesDefinitionString($withStatic=FALSE)
static getUrl($url, $includeHeader=0, $requestHeaders=FALSE, &$report=NULL)
emitTablesDefinitionIsBeingBuiltSignal(array $sqlString)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]