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
refindex_cli.php
Go to the documentation of this file.
1
<?php
2
if
(!defined(
'TYPO3_cliMode'
)) {
3
die
(
'You cannot run this script directly!'
);
4
}
5
// Call the functionality
6
if
(in_array(
'-e'
, $_SERVER[
'argv'
]) || in_array(
'-c'
, $_SERVER[
'argv'
])) {
7
$testOnly = in_array(
'-c'
, $_SERVER[
'argv'
]);
8
$refIndexObj =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance
(
'TYPO3\\CMS\\Core\\Database\\ReferenceIndex'
);
9
list($headerContent, $bodyContent) = $refIndexObj->updateIndex($testOnly, !in_array(
'-s'
, $_SERVER[
'argv'
]));
10
}
else
{
11
echo
'
12
Options:
13
-c = Check refindex
14
-e = Update refindex
15
-s = Silent
16
'
;
17
die
;
18
}
TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance
static makeInstance($className)
Definition:
GeneralUtility.php:4424
die
die
Definition:
refindex_cli.php:17
typo3
sysext
lowlevel
dbint
cli
refindex_cli.php
Generated on Wed Aug 7 2019 09:52:29 for TYPO3 CMS by
1.8.13