ILIAS
release_8 Revision v8.23
|
Class ilECSUserConsents. More...
Public Member Functions | |
getUserId () | |
hasConsented (int $server_id, int $a_mid) | |
delete () | |
add (int $server_id, int $a_mid) | |
Static Public Member Functions | |
static | getInstanceByUserId (int $a_usr_id) |
Protected Member Functions | |
__construct (int $a_usr_id) | |
read () | |
Protected Attributes | |
ilDBInterface | $db |
Private Attributes | |
int | $usr_id |
array | $consents = [] |
Static Private Attributes | |
static array | $instances = [] |
Class ilECSUserConsents.
Definition at line 24 of file class.ilECSUserConsents.php.
|
protected |
Definition at line 39 of file class.ilECSUserConsents.php.
ilECSUserConsents::add | ( | int | $server_id, |
int | $a_mid | ||
) |
Definition at line 76 of file class.ilECSUserConsents.php.
References getUserId(), and hasConsented().
ilECSUserConsents::delete | ( | ) |
Definition at line 68 of file class.ilECSUserConsents.php.
|
static |
Definition at line 50 of file class.ilECSUserConsents.php.
Referenced by ilECSUserConsentModalGUI\__construct().
ilECSUserConsents::getUserId | ( | ) |
Definition at line 58 of file class.ilECSUserConsents.php.
References $usr_id.
Referenced by add(), and read().
ilECSUserConsents::hasConsented | ( | int | $server_id, |
int | $a_mid | ||
) |
Definition at line 63 of file class.ilECSUserConsents.php.
Referenced by add().
|
protected |
Definition at line 85 of file class.ilECSUserConsents.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, getUserId(), and ilDBConstants\T_INTEGER.
Referenced by __construct().
|
private |
Definition at line 35 of file class.ilECSUserConsents.php.
|
protected |
Definition at line 37 of file class.ilECSUserConsents.php.
|
staticprivate |
Definition at line 29 of file class.ilECSUserConsents.php.
|
private |
Definition at line 31 of file class.ilECSUserConsents.php.
Referenced by getUserId().