ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ARRevision.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use ActiveRecord;
6 
12 class ARRevision extends ActiveRecord
13 {
14 
18  public function getConnectorContainerName()
19  {
20  return 'il_resource_revision';
21  }
22 
23 
33  protected $internal;
41  protected $identification;
49  protected $available;
57  protected $version_number;
58 
59 
63  public function getInternal() : string
64  {
65  return $this->internal;
66  }
67 
68 
74  public function setInternal(string $internal) : ARRevision
75  {
76  $this->internal = $internal;
77 
78  return $this;
79  }
80 
81 
85  public function getIdentification() : string
86  {
87  return $this->identification;
88  }
89 
90 
96  public function setIdentification(string $identification) : ARRevision
97  {
98  $this->identification = $identification;
99 
100  return $this;
101  }
102 
103 
107  public function isAvailable() : bool
108  {
109  return (bool) $this->available;
110  }
111 
112 
118  public function setAvailable(bool $available) : ARRevision
119  {
120  $this->available = $available;
121 
122  return $this;
123  }
124 
125 
129  public function getVersionNumber() : int
130  {
131  return (int) $this->version_number;
132  }
133 
134 
141  {
142  $this->version_number = $version_number;
143 
144  return $this;
145  }
146 }