ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
StreamOptions.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\Filesystem\Stream
;
4
18
class
StreamOptions
19
{
20
const
UNKNOWN_STREAM_SIZE
= -1;
21
25
private
$size
;
29
private
$metadata
;
30
31
38
public
function
__construct
(
array
$metadata
= [],
$size
= self::UNKNOWN_STREAM_SIZE)
39
{
40
$this->
size
=
$size
;
41
$this->metadata =
$metadata
;
42
}
43
44
48
public
function
getSize
()
49
{
50
return
$this->size
;
51
}
52
53
57
public
function
getMetadata
()
58
{
59
return
$this->metadata
;
60
}
61
}
ILIAS\Filesystem\Stream\StreamOptions\getSize
getSize()
Definition:
StreamOptions.php:48
ILIAS\Filesystem\Stream\StreamOptions\$metadata
$metadata
Definition:
StreamOptions.php:29
ILIAS\Filesystem\Stream
Definition:
FileStream.php:3
ILIAS\Filesystem\Stream\StreamOptions\__construct
__construct(array $metadata=[], $size=self::UNKNOWN_STREAM_SIZE)
StreamOptions constructor.
Definition:
StreamOptions.php:38
ILIAS\Filesystem\Stream\StreamOptions\$size
$size
Definition:
StreamOptions.php:25
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ILIAS\Filesystem\Stream\StreamOptions\UNKNOWN_STREAM_SIZE
const UNKNOWN_STREAM_SIZE
Definition:
StreamOptions.php:20
ILIAS\Filesystem\Stream\StreamOptions\getMetadata
getMetadata()
Definition:
StreamOptions.php:57
size
Set page orientation and size
Definition:
04printing.php:77
ILIAS\Filesystem\Stream\StreamOptions
Class StreamOptions.
Definition:
StreamOptions.php:18
src
Filesystem
Stream
StreamOptions.php
Generated on Tue Jan 28 2025 19:01:45 for ILIAS by
1.8.13 (using
Doxyfile
)