ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilTermsOfServiceAcceptanceEntity Class Reference
+ Collaboration diagram for ilTermsOfServiceAcceptanceEntity:

Public Member Functions

 setHash ($hash)
 
 getHash ()
 
 setIso2LanguageCode ($language)
 
 getIso2LanguageCode ()
 
 setText ($text)
 
 getText ()
 
 setTimestamp ($timestamp)
 
 getTimestamp ()
 
 setUserId ($user_id)
 
 getUserId ()
 
 setSource ($source)
 
 getSource ()
 
 setSourceType ($source_type)
 
 getSourceType ()
 
 getId ()
 
 setId ($id)
 

Protected Attributes

 $id
 
 $user_id
 
 $text
 
 $iso2_language_code
 
 $timestamp
 
 $source
 
 $source_type
 
 $hash
 
 $data_gateway
 

Detailed Description

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

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

Member Function Documentation

◆ getHash()

ilTermsOfServiceAcceptanceEntity::getHash ( )
Returns
string

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

References $hash.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getId()

ilTermsOfServiceAcceptanceEntity::getId ( )
Returns
mixed

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

References $id.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\loadById().

+ Here is the caller graph for this function:

◆ getIso2LanguageCode()

ilTermsOfServiceAcceptanceEntity::getIso2LanguageCode ( )
Returns
string

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

References $iso2_language_code.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getSource()

ilTermsOfServiceAcceptanceEntity::getSource ( )
Returns
string

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

References $source.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getSourceType()

ilTermsOfServiceAcceptanceEntity::getSourceType ( )
Returns
int

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

References $source_type.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getText()

ilTermsOfServiceAcceptanceEntity::getText ( )
Returns
string

Definition at line 98 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 114 of file class.ilTermsOfServiceAcceptanceEntity.php.

References $timestamp.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\trackAcceptance().

+ Here is the caller graph for this function:

◆ getUserId()

◆ setHash()

ilTermsOfServiceAcceptanceEntity::setHash (   $hash)
Parameters
string$hash

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

References $hash, and GuzzleHttp\Psr7\hash().

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

54  {
55  $this->hash = $hash;
56  }
hash(StreamInterface $stream, $algo, $rawOutput=false)
Calculate a hash of a Stream.
Definition: functions.php:406
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setId()

ilTermsOfServiceAcceptanceEntity::setId (   $id)
Parameters
$id

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

References $id.

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

+ Here is the caller graph for this function:

◆ setIso2LanguageCode()

ilTermsOfServiceAcceptanceEntity::setIso2LanguageCode (   $language)
Parameters
string$language

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

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

75  {
76  $this->iso2_language_code = $language;
77  }
+ Here is the caller graph for this function:

◆ setSource()

ilTermsOfServiceAcceptanceEntity::setSource (   $source)
Parameters
string$source

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

References $source.

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

+ Here is the caller graph for this function:

◆ setSourceType()

ilTermsOfServiceAcceptanceEntity::setSourceType (   $source_type)
Parameters
int$source_type

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

References $source_type.

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

155  {
156  $this->source_type = $source_type;
157  }
+ Here is the caller graph for this function:

◆ setText()

ilTermsOfServiceAcceptanceEntity::setText (   $text)
Parameters
string$text

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

References $text.

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

+ Here is the caller graph for this function:

◆ setTimestamp()

ilTermsOfServiceAcceptanceEntity::setTimestamp (   $timestamp)
Parameters
int$timestamp

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

References $timestamp.

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

107  {
108  $this->timestamp = $timestamp;
109  }
+ Here is the caller graph for this function:

◆ setUserId()

ilTermsOfServiceAcceptanceEntity::setUserId (   $user_id)
Parameters
int$user_id

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

References $user_id.

Referenced by ilTermsOfServiceAcceptanceDatabaseGateway\loadCurrentAcceptanceOfUser().

+ Here is the caller graph for this function:

Field Documentation

◆ $data_gateway

ilTermsOfServiceAcceptanceEntity::$data_gateway
protected

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

◆ $hash

ilTermsOfServiceAcceptanceEntity::$hash
protected

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

Referenced by getHash(), and setHash().

◆ $id

ilTermsOfServiceAcceptanceEntity::$id
protected

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

Referenced by getId(), and setId().

◆ $iso2_language_code

ilTermsOfServiceAcceptanceEntity::$iso2_language_code
protected

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

Referenced by getIso2LanguageCode().

◆ $source

ilTermsOfServiceAcceptanceEntity::$source
protected

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

Referenced by getSource(), and setSource().

◆ $source_type

ilTermsOfServiceAcceptanceEntity::$source_type
protected

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

Referenced by getSourceType(), and setSourceType().

◆ $text

ilTermsOfServiceAcceptanceEntity::$text
protected

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

Referenced by getText(), and setText().

◆ $timestamp

ilTermsOfServiceAcceptanceEntity::$timestamp
protected

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

Referenced by getTimestamp(), and setTimestamp().

◆ $user_id

ilTermsOfServiceAcceptanceEntity::$user_id
protected

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

Referenced by getUserId(), and setUserId().


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