ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilTermsOfServiceAcceptanceEntity.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8
class
ilTermsOfServiceAcceptanceEntity
9
{
11
protected
$id
= 0;
12
14
protected
$user_id
= 0;
15
17
protected
$text
=
''
;
18
20
protected
$timestamp
= 0;
21
23
protected
$hash
=
''
;
24
26
protected
$title
=
''
;
27
29
protected
$document_id
= 0;
30
32
protected
$criteria
=
''
;
33
37
public
function
getHash
() : string
38
{
39
return
$this->hash
;
40
}
41
46
public
function
withHash
(
string
$hash
) : self
47
{
48
$clone = clone $this;
49
50
$clone->hash =
$hash
;
51
52
return
$clone;
53
}
54
58
public
function
getText
() : string
59
{
60
return
$this->text
;
61
}
62
67
public
function
withText
(
string
$text
) : self
68
{
69
$clone = clone $this;
70
71
$clone->text =
$text
;
72
73
return
$clone;
74
}
75
79
public
function
getTimestamp
() : int
80
{
81
return
$this->timestamp
;
82
}
83
88
public
function
withTimestamp
(
int
$timestamp
) : self
89
{
90
$clone = clone $this;
91
92
$clone->timestamp =
$timestamp
;
93
94
return
$clone;
95
}
96
100
public
function
getUserId
() : int
101
{
102
return
$this->user_id
;
103
}
104
109
public
function
withUserId
(
int
$user_id
) : self
110
{
111
$clone = clone $this;
112
113
$clone->user_id =
$user_id
;
114
115
return
$clone;
116
}
117
121
public
function
getId
() : int
122
{
123
return
$this->id
;
124
}
125
130
public
function
withId
(
int
$id
) : self
131
{
132
$clone = clone $this;
133
134
$clone->id =
$id
;
135
136
return
$clone;
137
}
138
142
public
function
getTitle
() : string
143
{
144
return
$this->title
;
145
}
146
151
public
function
withTitle
(
string
$title
) : self
152
{
153
$clone = clone $this;
154
155
$clone->title =
$title
;
156
157
return
$clone;
158
}
159
163
public
function
getDocumentId
() : int
164
{
165
return
$this->document_id
;
166
}
167
172
public
function
withDocumentId
(
int
$document_id
) : self
173
{
174
$clone = clone $this;
175
176
$clone->document_id =
$document_id
;
177
178
return
$clone;
179
}
180
184
public
function
getSerializedCriteria
() : string
185
{
186
return
$this->criteria
;
187
}
188
193
public
function
withSerializedCriteria
(
string
$criteria
) : self
194
{
195
$clone = clone $this;
196
197
$clone->criteria =
$criteria
;
198
199
return
$clone;
200
}
201
}
ilTermsOfServiceAcceptanceEntity\getDocumentId
getDocumentId()
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:163
ilTermsOfServiceAcceptanceEntity\getId
getId()
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:121
ilTermsOfServiceAcceptanceEntity\getTimestamp
getTimestamp()
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:79
ilTermsOfServiceAcceptanceEntity\getText
getText()
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:58
ilTermsOfServiceAcceptanceEntity\$timestamp
$timestamp
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:20
ilTermsOfServiceAcceptanceEntity\$user_id
$user_id
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:14
ilTermsOfServiceAcceptanceEntity\withSerializedCriteria
withSerializedCriteria(string $criteria)
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:193
ilTermsOfServiceAcceptanceEntity\$criteria
$criteria
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:32
ilTermsOfServiceAcceptanceEntity\withTimestamp
withTimestamp(int $timestamp)
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:88
ilTermsOfServiceAcceptanceEntity\getUserId
getUserId()
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:100
ilTermsOfServiceAcceptanceEntity\withDocumentId
withDocumentId(int $document_id)
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:172
ilTermsOfServiceAcceptanceEntity\$text
$text
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:17
ilTermsOfServiceAcceptanceEntity\$document_id
$document_id
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:29
ilTermsOfServiceAcceptanceEntity\withHash
withHash(string $hash)
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:46
ilTermsOfServiceAcceptanceEntity\$title
$title
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:26
ilTermsOfServiceAcceptanceEntity\getTitle
getTitle()
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:142
ilTermsOfServiceAcceptanceEntity\$hash
$hash
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:23
ilTermsOfServiceAcceptanceEntity\withTitle
withTitle(string $title)
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:151
ilTermsOfServiceAcceptanceEntity\getSerializedCriteria
getSerializedCriteria()
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:184
ilTermsOfServiceAcceptanceEntity
Class ilTermsOfServiceAcceptanceEntity.
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:8
ilTermsOfServiceAcceptanceEntity\withUserId
withUserId(int $user_id)
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:109
ilTermsOfServiceAcceptanceEntity\$id
$id
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:11
ilTermsOfServiceAcceptanceEntity\getHash
getHash()
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:37
php
ilTermsOfServiceAcceptanceEntity\withId
withId(int $id)
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:130
ilTermsOfServiceAcceptanceEntity\withText
withText(string $text)
Definition:
class.ilTermsOfServiceAcceptanceEntity.php:67
Services
TermsOfService
classes
History
class.ilTermsOfServiceAcceptanceEntity.php
Generated on Thu Feb 27 2025 19:02:05 for ILIAS by
1.8.13 (using
Doxyfile
)