TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
AbstractDatabaseSchemaUpdate.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Install\Updates
;
3
22
abstract
class
AbstractDatabaseSchemaUpdate
extends
AbstractUpdate
{
23
27
protected
$title
;
28
32
protected
$schemaMigrationService
;
33
37
protected
$expectedSchemaService
;
38
42
protected
$objectManager
;
43
47
public
function
__construct
() {
48
$this->objectManager =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance
(
'TYPO3\\CMS\\Extbase\\Object\\ObjectManager'
);
49
$this->schemaMigrationService = $this->objectManager->get(
'TYPO3\\CMS\\Install\\Service\\SqlSchemaMigrationService'
);
50
$this->expectedSchemaService = $this->objectManager->get(
'TYPO3\\CMS\\Install\\Service\\SqlExpectedSchemaService'
);
51
}
52
58
protected
function
getDatabaseDifferences
() {
59
$expectedSchema = $this->expectedSchemaService->getExpectedDatabaseSchema();
60
$currentSchema = $this->schemaMigrationService->getFieldDefinitions_database();
61
62
// Difference from expected to current
63
return
$this->schemaMigrationService->getDatabaseExtra($expectedSchema, $currentSchema);
64
}
65
66
}
TYPO3\CMS\Install\Updates\AbstractDatabaseSchemaUpdate\$title
$title
Definition:
AbstractDatabaseSchemaUpdate.php:27
TYPO3\CMS\Install\Updates\AbstractUpdate
Definition:
AbstractUpdate.php:23
TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance
static makeInstance($className)
Definition:
GeneralUtility.php:4424
TYPO3\CMS\Install\Updates\AbstractDatabaseSchemaUpdate\$objectManager
$objectManager
Definition:
AbstractDatabaseSchemaUpdate.php:42
TYPO3\CMS\Install\Updates\AbstractDatabaseSchemaUpdate\__construct
__construct()
Definition:
AbstractDatabaseSchemaUpdate.php:47
TYPO3\CMS\Install\Updates\AbstractDatabaseSchemaUpdate\$schemaMigrationService
$schemaMigrationService
Definition:
AbstractDatabaseSchemaUpdate.php:32
TYPO3\CMS\Install\Updates
Definition:
AbstractDatabaseSchemaUpdate.php:2
TYPO3\CMS\Install\Updates\AbstractDatabaseSchemaUpdate\getDatabaseDifferences
getDatabaseDifferences()
Definition:
AbstractDatabaseSchemaUpdate.php:58
TYPO3\CMS\Install\Updates\AbstractDatabaseSchemaUpdate
Definition:
AbstractDatabaseSchemaUpdate.php:22
TYPO3\CMS\Install\Updates\AbstractDatabaseSchemaUpdate\$expectedSchemaService
$expectedSchemaService
Definition:
AbstractDatabaseSchemaUpdate.php:37
typo3
sysext
install
Classes
Updates
AbstractDatabaseSchemaUpdate.php
Generated on Wed Aug 7 2019 09:52:29 for TYPO3 CMS by
1.8.13