ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
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
y
z
+
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
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
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
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
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
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
BasicHandlerResult.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\FileUpload\Handler
;
4
5
use
ILIAS\UI\Component\Input\Field\UploadHandler
;
6
12
class
BasicHandlerResult
implements
HandlerResult
13
{
14
18
private
$file_identification_key
;
22
private
$status
;
26
private
$file_identifier
;
30
private
$message
;
31
32
40
public
function
__construct
(
string
$file_identification_key
,
int
$status
,
string
$file_identifier
,
string
$message
)
41
{
42
$this->file_identification_key =
$file_identification_key
;
43
$this->status =
$status
;
44
$this->file_identifier =
$file_identifier
;
45
$this->message =
$message
;
46
}
47
48
52
public
function
getStatus
() : int
53
{
54
return
$this->status
;
55
}
56
57
61
public
function
getFileIdentifier
() : string
62
{
63
return
$this->file_identifier
;
64
}
65
66
70
final
public
function
jsonSerialize
()
71
{
72
$str = $this->file_identification_key ??
UploadHandler::DEFAULT_FILE_ID_PARAMETER
;
73
74
return
[
75
'status'
=>
$this->status
,
76
'message'
=>
$this->message
,
77
$str =>
$this->file_identifier
,
78
];
79
}
80
81
85
public
function
getMessage
() : string
86
{
87
return
$this->message
;
88
}
89
}
ILIAS\FileUpload\Handler\BasicHandlerResult\jsonSerialize
jsonSerialize()
Definition:
BasicHandlerResult.php:70
ILIAS\FileUpload\Handler\BasicHandlerResult\$message
$message
Definition:
BasicHandlerResult.php:30
ILIAS\UI\Component\Input\Field\UploadHandler\DEFAULT_FILE_ID_PARAMETER
const DEFAULT_FILE_ID_PARAMETER
Definition:
UploadHandler.php:14
UploadHandler
ILIAS\FileUpload\Handler\BasicHandlerResult\getMessage
getMessage()
Definition:
BasicHandlerResult.php:85
ILIAS\FileUpload\Handler\BasicHandlerResult\__construct
__construct(string $file_identification_key, int $status, string $file_identifier, string $message)
BasicHandlerResult constructor.
Definition:
BasicHandlerResult.php:40
ILIAS\FileUpload\Handler\BasicHandlerResult\$file_identifier
$file_identifier
Definition:
BasicHandlerResult.php:26
ILIAS\FileUpload\Handler\BasicHandlerResult\getFileIdentifier
getFileIdentifier()
Definition:
BasicHandlerResult.php:61
ILIAS\FileUpload\Handler\BasicHandlerResult\$status
$status
Definition:
BasicHandlerResult.php:22
ILIAS\FileUpload\Handler\BasicHandlerResult\$file_identification_key
$file_identification_key
Definition:
BasicHandlerResult.php:18
ILIAS\FileUpload\Handler\BasicHandlerResult
Class BasicHandlerResult.
Definition:
BasicHandlerResult.php:12
ILIAS\FileUpload\Handler\HandlerResult
Interface HandlerResult.
Definition:
HandlerResult.php:12
ILIAS\FileUpload\Handler
Definition:
AbstractCtrlAwareUploadHandler.php:3
ILIAS\FileUpload\Handler\BasicHandlerResult\getStatus
getStatus()
Definition:
BasicHandlerResult.php:52
src
FileUpload
Handler
BasicHandlerResult.php
Generated on Thu Apr 10 2025 20:01:34 for ILIAS by
1.8.13 (using
Doxyfile
)