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
ErrorIconViewHelper.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Belog\ViewHelpers
;
3
22
class
ErrorIconViewHelper
extends
\TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBackendViewHelper
{
23
31
public
function
render
($errorNumber = 0) {
32
$errorSymbols = array(
33
'0'
=>
''
,
34
'1'
=> \
TYPO3
\CMS\Backend\Template\DocumentTemplate::STATUS_ICON_WARNING,
35
'2'
=> \
TYPO3
\CMS\Backend\Template\DocumentTemplate::STATUS_ICON_ERROR,
36
'3'
=> \
TYPO3
\CMS\Backend\Template\DocumentTemplate::STATUS_ICON_ERROR
37
);
38
return
$this->getDocInstance()->icons($errorSymbols[$errorNumber]);
39
}
40
41
}
TYPO3
TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBackendViewHelper
Definition:
AbstractBackendViewHelper.php:29
TYPO3\CMS\Belog\ViewHelpers\ErrorIconViewHelper\render
render($errorNumber=0)
Definition:
ErrorIconViewHelper.php:31
TYPO3\CMS\Belog\ViewHelpers\ErrorIconViewHelper
Definition:
ErrorIconViewHelper.php:22
TYPO3\CMS\Belog\ViewHelpers
typo3
sysext
belog
Classes
ViewHelpers
ErrorIconViewHelper.php
Generated on Wed Aug 7 2019 09:52:19 for TYPO3 CMS by
1.8.13