ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilTermsOfServiceAcceptanceEntity Class Reference

Class ilTermsOfServiceAcceptanceEntity. More...

+ Collaboration diagram for ilTermsOfServiceAcceptanceEntity:

Public Member Functions

 getHash ()
 
 withHash (string $hash)
 
 getText ()
 
 withText (string $text)
 
 getTimestamp ()
 
 withTimestamp (int $timestamp)
 
 getUserId ()
 
 withUserId (int $user_id)
 
 getId ()
 
 withId (int $id)
 
 getTitle ()
 
 withTitle (string $title)
 
 getDocumentId ()
 
 withDocumentId (int $document_id)
 
 getSerializedCriteria ()
 
 withSerializedCriteria (string $criteria)
 

Protected Attributes

 $id = 0
 
 $user_id = 0
 
 $text = ''
 
 $timestamp = 0
 
 $hash = ''
 
 $title = ''
 
 $document_id = 0
 
 $criteria = ''
 

Detailed Description

Member Function Documentation

◆ getDocumentId()

ilTermsOfServiceAcceptanceEntity::getDocumentId ( )
Returns
int

Definition at line 163 of file class.ilTermsOfServiceAcceptanceEntity.php.

References $document_id.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getHash()

ilTermsOfServiceAcceptanceEntity::getHash ( )
Returns
string

Definition at line 37 of file class.ilTermsOfServiceAcceptanceEntity.php.

References $hash.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getId()

ilTermsOfServiceAcceptanceEntity::getId ( )
Returns
int

Definition at line 121 of file class.ilTermsOfServiceAcceptanceEntity.php.

References $id.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\loadById().

+ Here is the caller graph for this function:

◆ getSerializedCriteria()

ilTermsOfServiceAcceptanceEntity::getSerializedCriteria ( )
Returns
string

Definition at line 184 of file class.ilTermsOfServiceAcceptanceEntity.php.

References $criteria.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getText()

ilTermsOfServiceAcceptanceEntity::getText ( )
Returns
string

Definition at line 58 of file class.ilTermsOfServiceAcceptanceEntity.php.

References $text.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getTimestamp()

ilTermsOfServiceAcceptanceEntity::getTimestamp ( )
Returns
int

Definition at line 79 of file class.ilTermsOfServiceAcceptanceEntity.php.

References $timestamp.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getTitle()

ilTermsOfServiceAcceptanceEntity::getTitle ( )
Returns
string

Definition at line 142 of file class.ilTermsOfServiceAcceptanceEntity.php.

References $title.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getUserId()

ilTermsOfServiceAcceptanceEntity::getUserId ( )

◆ withDocumentId()

ilTermsOfServiceAcceptanceEntity::withDocumentId ( int  $document_id)
Parameters
int$document_id
Returns
ilTermsOfServiceAcceptanceEntity

Definition at line 172 of file class.ilTermsOfServiceAcceptanceEntity.php.

172 : self
173 {
174 $clone = clone $this;
175
176 $clone->document_id = $document_id;
177
178 return $clone;
179 }

References $document_id.

◆ withHash()

ilTermsOfServiceAcceptanceEntity::withHash ( string  $hash)
Parameters
string$hash
Returns
ilTermsOfServiceAcceptanceEntity

Definition at line 46 of file class.ilTermsOfServiceAcceptanceEntity.php.

46 : self
47 {
48 $clone = clone $this;
49
50 $clone->hash = $hash;
51
52 return $clone;
53 }

References $hash.

◆ withId()

ilTermsOfServiceAcceptanceEntity::withId ( int  $id)
Parameters
$id
Returns
ilTermsOfServiceAcceptanceEntity

Definition at line 130 of file class.ilTermsOfServiceAcceptanceEntity.php.

130 : self
131 {
132 $clone = clone $this;
133
134 $clone->id = $id;
135
136 return $clone;
137 }

References $id.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\loadById().

+ Here is the caller graph for this function:

◆ withSerializedCriteria()

ilTermsOfServiceAcceptanceEntity::withSerializedCriteria ( string  $criteria)
Parameters
string$criteria
Returns
ilTermsOfServiceAcceptanceEntity

Definition at line 193 of file class.ilTermsOfServiceAcceptanceEntity.php.

193 : self
194 {
195 $clone = clone $this;
196
197 $clone->criteria = $criteria;
198
199 return $clone;
200 }

References $criteria.

◆ withText()

ilTermsOfServiceAcceptanceEntity::withText ( string  $text)
Parameters
string$text
Returns
ilTermsOfServiceAcceptanceEntity

Definition at line 67 of file class.ilTermsOfServiceAcceptanceEntity.php.

67 : self
68 {
69 $clone = clone $this;
70
71 $clone->text = $text;
72
73 return $clone;
74 }

References $text.

◆ withTimestamp()

ilTermsOfServiceAcceptanceEntity::withTimestamp ( int  $timestamp)
Parameters
int$timestamp
Returns
ilTermsOfServiceAcceptanceEntity

Definition at line 88 of file class.ilTermsOfServiceAcceptanceEntity.php.

88 : self
89 {
90 $clone = clone $this;
91
92 $clone->timestamp = $timestamp;
93
94 return $clone;
95 }

References $timestamp.

◆ withTitle()

ilTermsOfServiceAcceptanceEntity::withTitle ( string  $title)
Parameters
string$title
Returns
ilTermsOfServiceAcceptanceEntity

Definition at line 151 of file class.ilTermsOfServiceAcceptanceEntity.php.

151 : self
152 {
153 $clone = clone $this;
154
155 $clone->title = $title;
156
157 return $clone;
158 }

References $title.

◆ withUserId()

ilTermsOfServiceAcceptanceEntity::withUserId ( int  $user_id)
Parameters
int$user_id
Returns
ilTermsOfServiceAcceptanceEntity

Definition at line 109 of file class.ilTermsOfServiceAcceptanceEntity.php.

109 : self
110 {
111 $clone = clone $this;
112
113 $clone->user_id = $user_id;
114
115 return $clone;
116 }

References $user_id.

Field Documentation

◆ $criteria

ilTermsOfServiceAcceptanceEntity::$criteria = ''
protected

◆ $document_id

ilTermsOfServiceAcceptanceEntity::$document_id = 0
protected

Definition at line 29 of file class.ilTermsOfServiceAcceptanceEntity.php.

Referenced by getDocumentId(), and withDocumentId().

◆ $hash

ilTermsOfServiceAcceptanceEntity::$hash = ''
protected

Definition at line 23 of file class.ilTermsOfServiceAcceptanceEntity.php.

Referenced by getHash(), and withHash().

◆ $id

ilTermsOfServiceAcceptanceEntity::$id = 0
protected

Definition at line 11 of file class.ilTermsOfServiceAcceptanceEntity.php.

Referenced by getId(), and withId().

◆ $text

ilTermsOfServiceAcceptanceEntity::$text = ''
protected

Definition at line 17 of file class.ilTermsOfServiceAcceptanceEntity.php.

Referenced by getText(), and withText().

◆ $timestamp

ilTermsOfServiceAcceptanceEntity::$timestamp = 0
protected

Definition at line 20 of file class.ilTermsOfServiceAcceptanceEntity.php.

Referenced by getTimestamp(), and withTimestamp().

◆ $title

ilTermsOfServiceAcceptanceEntity::$title = ''
protected

Definition at line 26 of file class.ilTermsOfServiceAcceptanceEntity.php.

Referenced by getTitle(), and withTitle().

◆ $user_id

ilTermsOfServiceAcceptanceEntity::$user_id = 0
protected

Definition at line 14 of file class.ilTermsOfServiceAcceptanceEntity.php.

Referenced by getUserId(), and withUserId().


The documentation for this class was generated from the following file: