|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilTermsOfServiceHelper. More...
Collaboration diagram for ilTermsOfServiceHelper:Public Member Functions | |
| __construct (\ilDBInterface $database=null, \ilTermsOfServiceDataGatewayFactory $dataGatewayFactory=null) | |
| ilTermsOfServiceHelper constructor. More... | |
| deleteAcceptanceHistoryByUser (int $userId) | |
| getCurrentAcceptanceForUser (\ilObjUser $user) | |
| getById (int $id) | |
| trackAcceptance (\ilObjUser $user, \ilTermsOfServiceSignableDocument $document) | |
Static Public Member Functions | |
| static | isEnabled () |
| static | setStatus (bool $status) |
Protected Attributes | |
| $database | |
| $dataGatewayFactory | |
Private Member Functions | |
| getEntityFactory () | |
| getDataGatewayFactory () | |
Class ilTermsOfServiceHelper.
Definition at line 8 of file class.ilTermsOfServiceHelper.php.
| ilTermsOfServiceHelper::__construct | ( | \ilDBInterface | $database = null, |
| \ilTermsOfServiceDataGatewayFactory | $dataGatewayFactory = null |
||
| ) |
ilTermsOfServiceHelper constructor.
| \ilDBInterface | null | $database | |
| \ilTermsOfServiceDataGatewayFactory | null | $dataGatewayFactory |
Definition at line 21 of file class.ilTermsOfServiceHelper.php.
References $database, $dataGatewayFactory, and $DIC.
| ilTermsOfServiceHelper::deleteAcceptanceHistoryByUser | ( | int | $userId | ) |
| int | $userId |
ilTermsOfServiceMissingDatabaseAdapterException
Definition at line 63 of file class.ilTermsOfServiceHelper.php.
References getDataGatewayFactory(), and getEntityFactory().
Here is the call graph for this function:| ilTermsOfServiceHelper::getById | ( | int | $id | ) |
| int | $id |
ilTermsOfServiceMissingDatabaseAdapterException
Definition at line 89 of file class.ilTermsOfServiceHelper.php.
References $id, getDataGatewayFactory(), and getEntityFactory().
Here is the call graph for this function:| ilTermsOfServiceHelper::getCurrentAcceptanceForUser | ( | \ilObjUser | $user | ) |
| \ilObjUser | $user |
ilTermsOfServiceMissingDatabaseAdapterException
Definition at line 76 of file class.ilTermsOfServiceHelper.php.
References $user, getDataGatewayFactory(), and getEntityFactory().
Here is the call graph for this function:
|
private |
Definition at line 136 of file class.ilTermsOfServiceHelper.php.
References $dataGatewayFactory.
Referenced by deleteAcceptanceHistoryByUser(), getById(), getCurrentAcceptanceForUser(), and trackAcceptance().
Here is the caller graph for this function:
|
private |
Definition at line 128 of file class.ilTermsOfServiceHelper.php.
Referenced by deleteAcceptanceHistoryByUser(), getById(), getCurrentAcceptanceForUser(), and trackAcceptance().
Here is the caller graph for this function:
|
static |
Definition at line 42 of file class.ilTermsOfServiceHelper.php.
References $DIC.
Referenced by ilAccountRegistrationGUI\__initForm(), ilAwarenessUserCollector\collectUsers(), ilObjUser\hasToAcceptTermsOfService(), ilObjUser\hasToAcceptTermsOfServiceInSession(), ilAccountRegistrationGUI\saveForm(), ilStartUpGUI\showTermsOfService(), ilStartUpGUI\showTermsOfServiceLink(), and ilPersonalProfileGUI\showUserAgreement().
Here is the caller graph for this function:
|
static |
| bool | $status |
Definition at line 52 of file class.ilTermsOfServiceHelper.php.
References $DIC.
Referenced by ilObjTermsOfService\saveStatus().
Here is the caller graph for this function:| ilTermsOfServiceHelper::trackAcceptance | ( | \ilObjUser | $user, |
| \ilTermsOfServiceSignableDocument | $document | ||
| ) |
| \ilObjUser | $user | |
| \ilTermsOfServiceSignableDocument | $document |
ilTermsOfServiceMissingDatabaseAdapterException
Definition at line 102 of file class.ilTermsOfServiceHelper.php.
References $user, ilTermsOfServiceSignableDocument\content(), ilTermsOfServiceSignableDocument\criteria(), getDataGatewayFactory(), getEntityFactory(), ilTermsOfServiceSignableDocument\id(), and ilTermsOfServiceSignableDocument\title().
Here is the call graph for this function:
|
protected |
Definition at line 11 of file class.ilTermsOfServiceHelper.php.
Referenced by __construct().
|
protected |
Definition at line 14 of file class.ilTermsOfServiceHelper.php.
Referenced by __construct(), and getDataGatewayFactory().