ILIAS  release_8 Revision v8.23
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

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

Detailed Description

Member Function Documentation

◆ getDocumentId()

ilTermsOfServiceAcceptanceEntity::getDocumentId ( )

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

References $document_id.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

120  : int
121  {
122  return $this->document_id;
123  }
+ Here is the caller graph for this function:

◆ getHash()

ilTermsOfServiceAcceptanceEntity::getHash ( )

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

References $hash.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

36  : string
37  {
38  return $this->hash;
39  }
+ Here is the caller graph for this function:

◆ getId()

ilTermsOfServiceAcceptanceEntity::getId ( )

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

References $id.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\loadById().

+ Here is the caller graph for this function:

◆ getSerializedCriteria()

ilTermsOfServiceAcceptanceEntity::getSerializedCriteria ( )

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

References $criteria.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

134  : string
135  {
136  return $this->criteria;
137  }
+ Here is the caller graph for this function:

◆ getText()

ilTermsOfServiceAcceptanceEntity::getText ( )

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

References $text.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

50  : string
51  {
52  return $this->text;
53  }
+ Here is the caller graph for this function:

◆ getTimestamp()

ilTermsOfServiceAcceptanceEntity::getTimestamp ( )

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

References $timestamp.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getTitle()

ilTermsOfServiceAcceptanceEntity::getTitle ( )

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

References $title.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

106  : string
107  {
108  return $this->title;
109  }
+ Here is the caller graph for this function:

◆ getUserId()

◆ withDocumentId()

ilTermsOfServiceAcceptanceEntity::withDocumentId ( int  $document_id)

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

References $document_id.

125  : self
126  {
127  $clone = clone $this;
128 
129  $clone->document_id = $document_id;
130 
131  return $clone;
132  }

◆ withHash()

ilTermsOfServiceAcceptanceEntity::withHash ( string  $hash)

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

References $hash.

41  : self
42  {
43  $clone = clone $this;
44 
45  $clone->hash = $hash;
46 
47  return $clone;
48  }

◆ withId()

ilTermsOfServiceAcceptanceEntity::withId ( int  $id)

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

References $id.

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

97  : self
98  {
99  $clone = clone $this;
100 
101  $clone->id = $id;
102 
103  return $clone;
104  }
+ Here is the caller graph for this function:

◆ withSerializedCriteria()

ilTermsOfServiceAcceptanceEntity::withSerializedCriteria ( string  $criteria)

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

References $criteria.

139  : self
140  {
141  $clone = clone $this;
142 
143  $clone->criteria = $criteria;
144 
145  return $clone;
146  }

◆ withText()

ilTermsOfServiceAcceptanceEntity::withText ( string  $text)

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

References $text.

55  : self
56  {
57  $clone = clone $this;
58 
59  $clone->text = $text;
60 
61  return $clone;
62  }

◆ withTimestamp()

ilTermsOfServiceAcceptanceEntity::withTimestamp ( int  $timestamp)

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

References $timestamp.

69  : self
70  {
71  $clone = clone $this;
72 
73  $clone->timestamp = $timestamp;
74 
75  return $clone;
76  }

◆ withTitle()

ilTermsOfServiceAcceptanceEntity::withTitle ( string  $title)

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

References $title.

111  : self
112  {
113  $clone = clone $this;
114 
115  $clone->title = $title;
116 
117  return $clone;
118  }

◆ withUserId()

ilTermsOfServiceAcceptanceEntity::withUserId ( int  $user_id)

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

References $user_id.

83  : self
84  {
85  $clone = clone $this;
86 
87  $clone->user_id = $user_id;
88 
89  return $clone;
90  }

Field Documentation

◆ $criteria

string ilTermsOfServiceAcceptanceEntity::$criteria = ''
protected

◆ $document_id

int ilTermsOfServiceAcceptanceEntity::$document_id = 0
protected

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

Referenced by getDocumentId(), and withDocumentId().

◆ $hash

string ilTermsOfServiceAcceptanceEntity::$hash = ''
protected

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

Referenced by getHash(), and withHash().

◆ $id

int ilTermsOfServiceAcceptanceEntity::$id = 0
protected

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

Referenced by getId(), and withId().

◆ $text

string ilTermsOfServiceAcceptanceEntity::$text = ''
protected

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

Referenced by getText(), and withText().

◆ $timestamp

int ilTermsOfServiceAcceptanceEntity::$timestamp = 0
protected

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

Referenced by getTimestamp(), and withTimestamp().

◆ $title

string ilTermsOfServiceAcceptanceEntity::$title = ''
protected

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

Referenced by getTitle(), and withTitle().

◆ $user_id

int ilTermsOfServiceAcceptanceEntity::$user_id = 0
protected

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

Referenced by getUserId(), and withUserId().


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