ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilTermsOfServiceAcceptanceDatabaseGateway. More...
Public Member Functions | ||||
__construct (\ilDBInterface $db) | ||||
ilTermsOfServiceAcceptanceDatabaseGateway constructor. More... | ||||
trackAcceptance (\ilTermsOfServiceAcceptanceEntity $entity) | ||||
| ||||
loadCurrentAcceptanceOfUser (\ilTermsOfServiceAcceptanceEntity $entity) | ||||
| ||||
loadById (\ilTermsOfServiceAcceptanceEntity $entity) | ||||
| ||||
deleteAcceptanceHistoryByUser (\ilTermsOfServiceAcceptanceEntity $entity) | ||||
| ||||
Protected Attributes | |
$db | |
Class ilTermsOfServiceAcceptanceDatabaseGateway.
Definition at line 8 of file class.ilTermsOfServiceAcceptanceDatabaseGateway.php.
ilTermsOfServiceAcceptanceDatabaseGateway::__construct | ( | \ilDBInterface | $db | ) |
ilTermsOfServiceAcceptanceDatabaseGateway constructor.
\ilDBInterface | $db |
Definition at line 17 of file class.ilTermsOfServiceAcceptanceDatabaseGateway.php.
References $db.
ilTermsOfServiceAcceptanceDatabaseGateway::deleteAcceptanceHistoryByUser | ( | \ilTermsOfServiceAcceptanceEntity | $entity | ) |
\ilTermsOfServiceAcceptanceEntity | $entity |
Implements ilTermsOfServiceAcceptanceDataGateway.
Definition at line 127 of file class.ilTermsOfServiceAcceptanceDatabaseGateway.php.
References ilTermsOfServiceAcceptanceEntity\getUserId().
ilTermsOfServiceAcceptanceDatabaseGateway::loadById | ( | \ilTermsOfServiceAcceptanceEntity | $entity | ) |
\ilTermsOfServiceAcceptanceEntity | $entity |
Implements ilTermsOfServiceAcceptanceDataGateway.
Definition at line 101 of file class.ilTermsOfServiceAcceptanceDatabaseGateway.php.
References $res, $row, ilTermsOfServiceAcceptanceEntity\getId(), and ilTermsOfServiceAcceptanceEntity\withId().
ilTermsOfServiceAcceptanceDatabaseGateway::loadCurrentAcceptanceOfUser | ( | \ilTermsOfServiceAcceptanceEntity | $entity | ) |
\ilTermsOfServiceAcceptanceEntity | $entity |
Implements ilTermsOfServiceAcceptanceDataGateway.
Definition at line 65 of file class.ilTermsOfServiceAcceptanceDatabaseGateway.php.
References $res, $row, ilTermsOfServiceAcceptanceEntity\getUserId(), and ilTermsOfServiceAcceptanceEntity\withId().
ilTermsOfServiceAcceptanceDatabaseGateway::trackAcceptance | ( | \ilTermsOfServiceAcceptanceEntity | $entity | ) |
\ilTermsOfServiceAcceptanceEntity | $entity |
Implements ilTermsOfServiceAcceptanceDataGateway.
Definition at line 25 of file class.ilTermsOfServiceAcceptanceDatabaseGateway.php.
References $res, $row, ilTermsOfServiceAcceptanceEntity\getDocumentId(), ilTermsOfServiceAcceptanceEntity\getHash(), ilTermsOfServiceAcceptanceEntity\getSerializedCriteria(), ilTermsOfServiceAcceptanceEntity\getText(), ilTermsOfServiceAcceptanceEntity\getTimestamp(), ilTermsOfServiceAcceptanceEntity\getTitle(), and ilTermsOfServiceAcceptanceEntity\getUserId().
|
protected |
Definition at line 11 of file class.ilTermsOfServiceAcceptanceDatabaseGateway.php.
Referenced by __construct().