ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ResourceInformation.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Repository\IRSS;
22 
24 {
25  protected string $rid;
26  protected string $src;
27  protected string $mime_type;
28  protected int $creation_timestamp;
29  protected int $size;
30  protected string $title;
31 
32  public function __construct(
33  string $rid,
34  string $title,
35  int $size,
36  int $creation_timestamp,
37  string $mime_type,
38  string $src
39  ) {
40  $this->rid = $rid;
41  $this->title = $title;
42  $this->size = $size;
43  $this->creation_timestamp = $creation_timestamp;
44  $this->mime_type = $mime_type;
45  $this->src = $src;
46  }
47 
48  public function getRid(): string
49  {
50  return $this->rid;
51  }
52 
53  public function getTitle(): string
54  {
55  return $this->title;
56  }
57 
58  public function getSize(): int
59  {
60  return $this->size;
61  }
62 
63  public function getCreationTimestamp(): int
64  {
66  }
67 
68  public function getMimeType(): string
69  {
70  return $this->mime_type;
71  }
72 
73  public function getSrc(): string
74  {
75  return $this->src;
76  }
77 }
__construct(string $rid, string $title, int $size, int $creation_timestamp, string $mime_type, string $src)