TYPO3CMS
9.5
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
q
r
s
t
u
v
w
Files
File List
File Members
All
$
d
e
r
u
Functions
Variables
$
e
r
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
AdminPanelInstall.php
Go to the documentation of this file.
1
<?php
2
declare(strict_types = 1);
3
4
namespace
TYPO3\CMS\Install\Updates
;
5
6
/*
7
* This file is part of the TYPO3 CMS project.
8
*
9
* It is free software; you can redistribute it and/or modify it under
10
* the terms of the GNU General Public License, either version 2
11
* of the License, or any later version.
12
*
13
* For the full copyright and license information, please read the
14
* LICENSE.txt file that was distributed with this source code.
15
*
16
* The TYPO3 project - inspiring people to share!
17
*/
18
19
use
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
;
20
25
class
AdminPanelInstall
extends
AbstractDownloadExtensionUpdate
26
{
27
31
protected
$confirmation
;
32
33
public
function
__construct
()
34
{
35
$this->extension =
new
ExtensionModel
(
36
'adminpanel'
,
37
'TYPO3 Admin Panel'
,
38
'9.2'
,
39
'typo3/cms-adminpanel'
,
40
'The TYPO3 admin panel provides a panel with additional functionality in the frontend (Debugging, Caching, Preview...)'
41
);
42
43
$this->confirmation =
new
Confirmation
(
44
'Are you sure?'
,
45
'You should install the "adminpanel" only if needed. '
. $this->extension->getDescription(),
46
true
47
);
48
}
49
55
public
function
getConfirmation
():
Confirmation
56
{
57
return
$this->confirmation
;
58
}
59
66
public
function
getIdentifier
(): string
67
{
68
return
'adminpanelExtension'
;
69
}
70
76
public
function
getTitle
(): string
77
{
78
return
'Install extension "adminpanel"'
;
79
}
80
86
public
function
getDescription
(): string
87
{
88
return
'The TYPO3 admin panel was extracted to an own extension. This update installs the extension.'
;
89
}
90
97
public
function
updateNecessary
(): bool
98
{
99
return
!
ExtensionManagementUtility::isLoaded
(
'adminpanel'
);
100
}
101
109
public
function
getPrerequisites
(): array
110
{
111
return
[];
112
}
113
}
TYPO3\CMS\Install\Updates\AdminPanelInstall\getIdentifier
string getIdentifier()
Definition:
AdminPanelInstall.php:65
TYPO3\CMS\Install\Updates\AdminPanelInstall\getConfirmation
TYPO3 CMS Install Updates Confirmation getConfirmation()
Definition:
AdminPanelInstall.php:54
TYPO3\CMS\Install\Updates\AdminPanelInstall\getTitle
string getTitle()
Definition:
AdminPanelInstall.php:75
TYPO3\CMS\Install\Updates
Definition:
AbstractDownloadExtensionUpdate.php:3
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
Definition:
ExtensionManagementUtility.php:36
TYPO3\CMS\Install\Updates\ExtensionModel
Definition:
ExtensionModel.php:25
TYPO3\CMS\Install\Updates\Confirmation
Definition:
Confirmation.php:20
TYPO3\CMS\Core\Utility\ExtensionManagementUtility\isLoaded
static bool isLoaded($key, $exitOnError=null)
Definition:
ExtensionManagementUtility.php:115
TYPO3\CMS\Install\Updates\AdminPanelInstall\getDescription
string getDescription()
Definition:
AdminPanelInstall.php:85
TYPO3\CMS\Install\Updates\AbstractDownloadExtensionUpdate
Definition:
AbstractDownloadExtensionUpdate.php:31
TYPO3\CMS\Install\Updates\AdminPanelInstall
Definition:
AdminPanelInstall.php:26
TYPO3\CMS\Install\Updates\AdminPanelInstall\__construct
__construct()
Definition:
AdminPanelInstall.php:32
TYPO3\CMS\Install\Updates\AdminPanelInstall\updateNecessary
bool updateNecessary()
Definition:
AdminPanelInstall.php:96
TYPO3\CMS\Install\Updates\AdminPanelInstall\getPrerequisites
string[] getPrerequisites()
Definition:
AdminPanelInstall.php:108
TYPO3\CMS\Install\Updates\AdminPanelInstall\$confirmation
TYPO3 CMS Install Updates Confirmation $confirmation
Definition:
AdminPanelInstall.php:30
doxygen
typo3
sysext
install
Classes
Updates
AdminPanelInstall.php
Generated on Tue Oct 5 2021 01:57:51 for TYPO3CMS by
1.8.18