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
RteHtmlAreaExtractionUpdate.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Install\Updates
;
3
4
/*
5
* This file is part of the TYPO3 CMS project.
6
*
7
* It is free software; you can redistribute it and/or modify it under
8
* the terms of the GNU General Public License, either version 2
9
* of the License, or any later version.
10
*
11
* For the full copyright and license information, please read the
12
* LICENSE.txt file that was distributed with this source code.
13
*
14
* The TYPO3 project - inspiring people to share!
15
*/
16
17
use
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
;
18
23
class
RteHtmlAreaExtractionUpdate
extends
AbstractDownloadExtensionUpdate
24
{
28
protected
$confirmation
;
29
30
public
function
__construct
()
31
{
32
$this->extension =
new
ExtensionModel
(
33
'rtehtmlarea'
,
34
'RTE HTMLArea for TYPO3'
,
35
'8.7.0'
,
36
'friendsoftypo3/rtehtmlarea'
,
37
'The extension provides the well-known RTE used in previous TYPO3 versions, if handling of images or custom legacy configurations are necessary.'
38
);
39
40
$this->confirmation =
new
Confirmation
(
41
'Are you sure?'
,
42
'You should install EXT:rtehtmlarea only if you really need it. '
. $this->extension->getDescription(),
43
false
44
);
45
}
46
52
public
function
getConfirmation
():
Confirmation
53
{
54
return
$this->confirmation
;
55
}
56
63
public
function
getIdentifier
(): string
64
{
65
return
'rtehtmlareaExtension'
;
66
}
67
73
public
function
getTitle
(): string
74
{
75
return
'Install extension "rtehtmlarea" from TER'
;
76
}
77
83
public
function
getDescription
(): string
84
{
85
return
'The extension "rtehtmlarea" (RTE based on HtmlArea) was extracted into'
86
.
' the TYPO3 Extension Repository. This update downloads the TYPO3 Extension from the TER.'
87
.
' Use this if you have special configurations or image handling within Rich Text fields and uninstall the shipped EXT:rte_ckeditor.'
;
88
}
89
96
public
function
updateNecessary
(): bool
97
{
98
return
!
ExtensionManagementUtility::isLoaded
(
'rtehtmlarea'
);
99
}
100
108
public
function
getPrerequisites
(): array
109
{
110
return
[];
111
}
112
}
TYPO3\CMS\Install\Updates\RteHtmlAreaExtractionUpdate\getPrerequisites
string[] getPrerequisites()
Definition:
RteHtmlAreaExtractionUpdate.php:107
TYPO3\CMS\Install\Updates\RteHtmlAreaExtractionUpdate\updateNecessary
bool updateNecessary()
Definition:
RteHtmlAreaExtractionUpdate.php:95
TYPO3\CMS\Install\Updates\RteHtmlAreaExtractionUpdate\getTitle
string getTitle()
Definition:
RteHtmlAreaExtractionUpdate.php:72
TYPO3\CMS\Install\Updates\RteHtmlAreaExtractionUpdate\getConfirmation
TYPO3 CMS Install Updates Confirmation getConfirmation()
Definition:
RteHtmlAreaExtractionUpdate.php:51
TYPO3\CMS\Install\Updates\RteHtmlAreaExtractionUpdate\__construct
__construct()
Definition:
RteHtmlAreaExtractionUpdate.php:29
TYPO3\CMS\Install\Updates
Definition:
AbstractDownloadExtensionUpdate.php:3
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
Definition:
ExtensionManagementUtility.php:36
TYPO3\CMS\Install\Updates\RteHtmlAreaExtractionUpdate\getDescription
string getDescription()
Definition:
RteHtmlAreaExtractionUpdate.php:82
TYPO3\CMS\Install\Updates\ExtensionModel
Definition:
ExtensionModel.php:25
TYPO3\CMS\Install\Updates\RteHtmlAreaExtractionUpdate\getIdentifier
string getIdentifier()
Definition:
RteHtmlAreaExtractionUpdate.php:62
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\AbstractDownloadExtensionUpdate
Definition:
AbstractDownloadExtensionUpdate.php:31
TYPO3\CMS\Install\Updates\RteHtmlAreaExtractionUpdate\$confirmation
TYPO3 CMS Install Updates Confirmation $confirmation
Definition:
RteHtmlAreaExtractionUpdate.php:27
TYPO3\CMS\Install\Updates\RteHtmlAreaExtractionUpdate
Definition:
RteHtmlAreaExtractionUpdate.php:24
doxygen
typo3
sysext
install
Classes
Updates
RteHtmlAreaExtractionUpdate.php
Generated on Tue Oct 5 2021 01:57:51 for TYPO3CMS by
1.8.18