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
UpdateExtensionListTask.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Extensionmanager\Task
;
3
22
class
UpdateExtensionListTask
extends
\TYPO3\CMS\Scheduler\Task\AbstractTask
{
23
29
public
function
execute
() {
30
// Throws exceptions if something went wrong
31
$this->updateExtensionList();
32
33
return
TRUE;
34
}
35
43
protected
function
updateExtensionList() {
45
$objectManager =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance
(
'TYPO3\\CMS\\Extbase\\Object\\ObjectManager'
);
46
48
$repositoryHelper = $objectManager->get(
'TYPO3\\CMS\\Extensionmanager\\Utility\\Repository\\Helper'
);
49
$repositoryHelper->updateExtList();
50
52
$persistenceManager = $objectManager->get(
'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\PersistenceManager'
);
53
$persistenceManager->persistAll();
54
}
55
}
TYPO3\CMS\Extensionmanager\Task\UpdateExtensionListTask
Definition:
UpdateExtensionListTask.php:22
TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance
static makeInstance($className)
Definition:
GeneralUtility.php:4424
TYPO3\CMS\Extensionmanager\Task
Definition:
UpdateExtensionListTask.php:2
TYPO3\CMS\Scheduler\Task\AbstractTask
Definition:
AbstractTask.php:24
TYPO3\CMS\Extensionmanager\Task\UpdateExtensionListTask\execute
execute()
Definition:
UpdateExtensionListTask.php:29
typo3
sysext
extensionmanager
Classes
Task
UpdateExtensionListTask.php
Generated on Wed Aug 7 2019 09:52:26 for TYPO3 CMS by
1.8.13