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
StatusException.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Core\Error\Http
;
3
21
class
StatusException
extends
\TYPO3\CMS\Core\Error\Exception
{
22
26
protected
$statusHeaders
;
27
31
protected
$title
=
'Oops, an error occurred!'
;
32
41
public
function
__construct
(
$statusHeaders
, $message,
$title
=
''
, $code = 0) {
42
if
(is_array(
$statusHeaders
)) {
43
$this->statusHeaders =
$statusHeaders
;
44
}
else
{
45
$this->statusHeaders = array(
$statusHeaders
);
46
}
47
$this->title =
$title
?:
$this->title
;
48
parent::__construct($message, $code);
49
}
50
57
public
function
setTitle
(
$title
) {
58
$this->title =
$title
;
59
}
60
66
public
function
getTitle
() {
67
return
$this->title
;
68
}
69
75
public
function
getStatusHeaders
() {
76
return
$this->statusHeaders
;
77
}
78
79
}
TYPO3\CMS\Core\Error\Http\StatusException\setTitle
setTitle($title)
Definition:
StatusException.php:57
TYPO3\CMS\Core\Error\Http\StatusException\getStatusHeaders
getStatusHeaders()
Definition:
StatusException.php:75
TYPO3\CMS\Core\Error\Http
Definition:
AbstractClientErrorException.php:2
TYPO3\CMS\Core\Error\Http\StatusException
Definition:
StatusException.php:21
TYPO3\CMS\Core\Error\Http\StatusException\__construct
__construct($statusHeaders, $message, $title='', $code=0)
Definition:
StatusException.php:41
TYPO3\CMS\Core\Error\Exception
Definition:
Exception.php:23
TYPO3\CMS\Core\Error\Http\StatusException\$title
$title
Definition:
StatusException.php:31
TYPO3\CMS\Core\Error\Http\StatusException\$statusHeaders
$statusHeaders
Definition:
StatusException.php:26
TYPO3\CMS\Core\Error\Http\StatusException\getTitle
getTitle()
Definition:
StatusException.php:66
typo3
sysext
core
Classes
Error
Http
StatusException.php
Generated on Wed Aug 7 2019 09:52:20 for TYPO3 CMS by
1.8.13