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
AbstractCoreUpdate.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Install\Controller\Action\Ajax
;
3
21
abstract
class
AbstractCoreUpdate
extends
AbstractAjaxAction
{
22
27
protected
$view
= NULL;
28
33
protected
$coreUpdateService
;
34
39
protected
$statusUtility
;
40
45
protected
$coreVersionService
;
46
53
protected
function
initializeHandle
() {
54
if
(!$this->coreUpdateService->isCoreUpdateEnabled()) {
55
throw
new \TYPO3\CMS\Install\Controller\Exception(
56
'Core Update disabled in this environment'
,
57
1381609294
58
);
59
}
60
$this->
loadExtLocalconfDatabaseAndExtTables
();
61
}
62
70
protected
function
getVersionToHandle
() {
71
$getVars =
\TYPO3\CMS\Core\Utility\GeneralUtility::_GET
(
'install'
);
72
if
(!isset($getVars[
'type'
])) {
73
throw
new \TYPO3\CMS\Install\Controller\Exception(
74
'Type must be set to either "regular" or "development"'
,
75
1380975303
76
);
77
}
78
$type = $getVars[
'type'
];
79
if
($type ===
'development'
) {
80
$versionToHandle = $this->coreVersionService->getYoungestPatchDevelopmentRelease();
81
}
else
{
82
$versionToHandle = $this->coreVersionService->getYoungestPatchRelease();
83
}
84
return
$versionToHandle;
85
}
86
}
TYPO3\CMS\Install\Controller\Action\Ajax\AbstractCoreUpdate\$statusUtility
$statusUtility
Definition:
AbstractCoreUpdate.php:39
TYPO3\CMS\Install\Controller\Action\Ajax
Definition:
AbstractAjaxAction.php:2
TYPO3\CMS\Install\Controller\Action\Ajax\AbstractCoreUpdate\getVersionToHandle
getVersionToHandle()
Definition:
AbstractCoreUpdate.php:70
TYPO3\CMS\Install\Controller\Action\Ajax\AbstractCoreUpdate\$coreUpdateService
$coreUpdateService
Definition:
AbstractCoreUpdate.php:33
TYPO3\CMS\Install\Controller\Action\AbstractAction\loadExtLocalconfDatabaseAndExtTables
loadExtLocalconfDatabaseAndExtTables()
Definition:
AbstractAction.php:247
TYPO3\CMS\Core\Utility\GeneralUtility\_GET
static _GET($var=NULL)
Definition:
GeneralUtility.php:166
TYPO3\CMS\Install\Controller\Action\Ajax\AbstractAjaxAction
Definition:
AbstractAjaxAction.php:20
TYPO3\CMS\Install\Controller\Action\Ajax\AbstractCoreUpdate\$coreVersionService
$coreVersionService
Definition:
AbstractCoreUpdate.php:45
TYPO3\CMS\Install\Controller\Action\Ajax\AbstractCoreUpdate\initializeHandle
initializeHandle()
Definition:
AbstractCoreUpdate.php:53
TYPO3\CMS\Install\Controller\Action\Ajax\AbstractCoreUpdate
Definition:
AbstractCoreUpdate.php:21
TYPO3\CMS\Install\Controller\Action\Ajax\AbstractCoreUpdate\$view
$view
Definition:
AbstractCoreUpdate.php:27
typo3
sysext
install
Classes
Controller
Action
Ajax
AbstractCoreUpdate.php
Generated on Wed Aug 7 2019 09:52:29 for TYPO3 CMS by
1.8.13