ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ARInformation.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use ActiveRecord;
6 
13 {
14 
18  public function getConnectorContainerName() : string
19  {
20  return 'il_resource_info';
21  }
22 
23 
33  protected $internal;
41  protected $identification;
49  protected $title;
57  protected $suffix;
65  protected $mime_type;
73  protected $size;
74 
75 
79  public function getInternal() : string
80  {
81  return $this->internal;
82  }
83 
84 
90  public function setInternal(string $internal) : ARInformation
91  {
92  $this->internal = $internal;
93 
94  return $this;
95  }
96 
97 
101  public function getIdentification() : string
102  {
103  return $this->identification;
104  }
105 
106 
113  {
114  $this->identification = $identification;
115 
116  return $this;
117  }
118 
119 
123  public function getTitle() : string
124  {
125  return $this->title;
126  }
127 
128 
134  public function setTitle(string $title) : ARInformation
135  {
136  $this->title = $title;
137 
138  return $this;
139  }
140 
141 
145  public function getSuffix() : string
146  {
147  return $this->suffix;
148  }
149 
150 
156  public function setSuffix(string $suffix) : ARInformation
157  {
158  $this->suffix = $suffix;
159 
160  return $this;
161  }
162 
163 
167  public function getMimeType() : string
168  {
169  return $this->mime_type;
170  }
171 
172 
178  public function setMimeType(string $mime_type) : ARInformation
179  {
180  $this->mime_type = $mime_type;
181 
182  return $this;
183  }
184 
185 
189  public function getSize() : int
190  {
191  return (int) $this->size;
192  }
193 
194 
200  public function setSize(int $size) : ARInformation
201  {
202  $this->size = $size;
203 
204  return $this;
205  }
206 }