ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class StreamOptions. More...
Public Member Functions | |
__construct (array $metadata=[], int $size=self::UNKNOWN_STREAM_SIZE) | |
StreamOptions constructor. More... | |
getSize () | |
getMetadata () | |
Data Fields | |
const | UNKNOWN_STREAM_SIZE = -1 |
Private Attributes | |
$size | |
$metadata | |
Class StreamOptions.
The streaming options are used by the stream implementation. This class only hold configuration options which can be used by the Stream class.
Definition at line 19 of file StreamOptions.php.
ILIAS\Filesystem\Stream\StreamOptions::__construct | ( | array | $metadata = [] , |
int | $size = self::UNKNOWN_STREAM_SIZE |
||
) |
StreamOptions constructor.
Definition at line 39 of file StreamOptions.php.
References ILIAS\Filesystem\Stream\StreamOptions\$metadata, ILIAS\Filesystem\Stream\StreamOptions\$size, and size.
ILIAS\Filesystem\Stream\StreamOptions::getMetadata | ( | ) |
Definition at line 58 of file StreamOptions.php.
References ILIAS\Filesystem\Stream\StreamOptions\$metadata.
ILIAS\Filesystem\Stream\StreamOptions::getSize | ( | ) |
Definition at line 49 of file StreamOptions.php.
References ILIAS\Filesystem\Stream\StreamOptions\$size.
|
private |
Definition at line 30 of file StreamOptions.php.
Referenced by ILIAS\Filesystem\Stream\StreamOptions\__construct(), and ILIAS\Filesystem\Stream\StreamOptions\getMetadata().
|
private |
Definition at line 26 of file StreamOptions.php.
Referenced by ILIAS\Filesystem\Stream\StreamOptions\__construct(), and ILIAS\Filesystem\Stream\StreamOptions\getSize().
const ILIAS\Filesystem\Stream\StreamOptions::UNKNOWN_STREAM_SIZE = -1 |
Definition at line 21 of file StreamOptions.php.