ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
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 25 of file class.ilECSUserConsents.php.
|
protected |
Definition at line 40 of file class.ilECSUserConsents.php.
ilECSUserConsents::add | ( | int | $server_id, |
int | $a_mid | ||
) |
Definition at line 77 of file class.ilECSUserConsents.php.
References getUserId(), and hasConsented().
ilECSUserConsents::delete | ( | ) |
Definition at line 69 of file class.ilECSUserConsents.php.
|
static |
Definition at line 51 of file class.ilECSUserConsents.php.
Referenced by ilECSUserConsentModalGUI\__construct().
ilECSUserConsents::getUserId | ( | ) |
Definition at line 59 of file class.ilECSUserConsents.php.
References $usr_id.
Referenced by add(), and read().
ilECSUserConsents::hasConsented | ( | int | $server_id, |
int | $a_mid | ||
) |
Definition at line 64 of file class.ilECSUserConsents.php.
Referenced by add().
|
protected |
Definition at line 86 of file class.ilECSUserConsents.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, getUserId(), and ilDBConstants\T_INTEGER.
Referenced by __construct().
|
private |
Definition at line 36 of file class.ilECSUserConsents.php.
|
protected |
Definition at line 38 of file class.ilECSUserConsents.php.
|
staticprivate |
Definition at line 30 of file class.ilECSUserConsents.php.
|
private |
Definition at line 32 of file class.ilECSUserConsents.php.
Referenced by getUserId().