ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
StreamOptions.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\Filesystem\Stream
;
6
7
/******************************************************************************
8
*
9
* This file is part of ILIAS, a powerful learning management system.
10
*
11
* ILIAS is licensed with the GPL-3.0, you should have received a copy
12
* of said license along with the source code.
13
*
14
* If this is not the case or you just want to try ILIAS, you'll find
15
* us at:
16
* https://www.ilias.de
17
* https://github.com/ILIAS-eLearning
18
*
19
*****************************************************************************/
33
final
class
StreamOptions
34
{
35
public
const
UNKNOWN_STREAM_SIZE
= -1;
36
37
private
int
$size
;
41
private
array
$metadata
;
42
43
50
public
function
__construct
(array $metadata = [],
int
$size = self::UNKNOWN_STREAM_SIZE)
51
{
52
$this->size =
$size
;
53
$this->metadata =
$metadata
;
54
}
55
56
60
public
function
getSize
():
int
61
{
62
return
$this->size
;
63
}
64
65
69
public
function
getMetadata
(): array
70
{
71
return
$this->metadata
;
72
}
73
}
ILIAS\Filesystem\Stream\StreamOptions\__construct
__construct(array $metadata=[], int $size=self::UNKNOWN_STREAM_SIZE)
StreamOptions constructor.
Definition:
StreamOptions.php:50
ILIAS\Filesystem\Stream\StreamOptions\getSize
getSize()
Definition:
StreamOptions.php:60
ILIAS\Filesystem\Stream
Definition:
FileStream.php:3
ILIAS\Filesystem\Stream\StreamOptions\$size
int $size
Definition:
StreamOptions.php:37
ILIAS\Filesystem\Stream\StreamOptions\$metadata
array $metadata
Definition:
StreamOptions.php:41
ILIAS\Filesystem\Stream\StreamOptions\UNKNOWN_STREAM_SIZE
const UNKNOWN_STREAM_SIZE
Definition:
StreamOptions.php:35
ILIAS\Filesystem\Stream\StreamOptions\getMetadata
getMetadata()
Definition:
StreamOptions.php:69
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\Filesystem\Stream\StreamOptions
Class StreamOptions.
Definition:
StreamOptions.php:33
src
Filesystem
Stream
StreamOptions.php
Generated on Sun Apr 13 2025 22:02:55 for ILIAS by
1.8.13 (using
Doxyfile
)