ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
StreamOptions.php
Go to the documentation of this file.
1 <?php
2 
4 
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 }
__construct(array $metadata=[], $size=self::UNKNOWN_STREAM_SIZE)
StreamOptions constructor.
Create styles array
The data for the language used.
Set page orientation and size
Definition: 04printing.php:77