ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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().

184  : string
185  {
186  return $this->criteria;
187  }
+ 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().

142  : string
143  {
144  return $this->title;
145  }
+ Here is the caller graph for this function:

◆ getUserId()

◆ withDocumentId()

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

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

References $document_id.

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

◆ withHash()

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

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

References $hash.

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

◆ withId()

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

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

References $id.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\loadById(), and ilTermsOfServiceAcceptanceDatabaseGateway\loadCurrentAcceptanceOfUser().

130  : self
131  {
132  $clone = clone $this;
133 
134  $clone->id = $id;
135 
136  return $clone;
137  }
+ Here is the caller graph for this function:

◆ withSerializedCriteria()

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

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

References $criteria.

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

◆ withText()

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

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

References $text.

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

◆ withTimestamp()

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

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

References $timestamp.

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

◆ withTitle()

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

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

References $title.

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

◆ withUserId()

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

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

References $user_id.

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

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: