ILIAS
Release_5_0_x_branch Revision 61816
|
Storage of ecs remote user. More...
Public Member Functions | |
__construct ($a_eru_id=0) | |
Constructor. | |
exists () | |
Check if entry exists for user. | |
getId () | |
setServerId ($a_sid) | |
getServerId () | |
setMid ($a_mid) | |
getMid () | |
setUserId ($a_usr_id) | |
getUserId () | |
setRemoteUserId ($a_remote_id) | |
getRemoteUserId () | |
update () | |
Update remote user entry. | |
create () | |
Create nerw remote user entry. |
Static Public Member Functions | |
static | factory ($a_usr_id) |
Get instance for usr_id. |
Protected Member Functions | |
read () | |
Read data set. |
Private Attributes | |
$eru_id = 0 | |
$sid = 0 | |
$mid = 0 | |
$usr_id = 0 | |
$remote_usr_id = '' |
Storage of ecs remote user.
Definition at line 8 of file class.ilECSRemoteUser.php.
ilECSRemoteUser::__construct | ( | $a_eru_id = 0 | ) |
Constructor.
Definition at line 20 of file class.ilECSRemoteUser.php.
References read().
ilECSRemoteUser::create | ( | ) |
Create nerw remote user entry.
Definition at line 130 of file class.ilECSRemoteUser.php.
References $GLOBALS, $query, getMid(), getRemoteUserId(), getServerId(), and getUserId().
ilECSRemoteUser::exists | ( | ) |
Check if entry exists for user.
Definition at line 48 of file class.ilECSRemoteUser.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, getMid(), getServerId(), and getUserId().
|
static |
Get instance for usr_id.
type | $a_usr_id |
Definition at line 31 of file class.ilECSRemoteUser.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSAppEventListener\updateEnrolmentStatus().
ilECSRemoteUser::getId | ( | ) |
Definition at line 65 of file class.ilECSRemoteUser.php.
References $eru_id.
Referenced by read(), and update().
ilECSRemoteUser::getMid | ( | ) |
ilECSRemoteUser::getRemoteUserId | ( | ) |
Definition at line 106 of file class.ilECSRemoteUser.php.
References $remote_usr_id.
Referenced by create(), and update().
ilECSRemoteUser::getServerId | ( | ) |
ilECSRemoteUser::getUserId | ( | ) |
|
protected |
Read data set.
Definition at line 149 of file class.ilECSRemoteUser.php.
References $GLOBALS, $query, $res, $row, DB_FETCHMODE_OBJECT, getId(), setMid(), setRemoteUserId(), setServerId(), and setUserId().
Referenced by __construct().
ilECSRemoteUser::setMid | ( | $a_mid | ) |
Definition at line 80 of file class.ilECSRemoteUser.php.
Referenced by read().
ilECSRemoteUser::setRemoteUserId | ( | $a_remote_id | ) |
Definition at line 101 of file class.ilECSRemoteUser.php.
Referenced by read().
ilECSRemoteUser::setServerId | ( | $a_sid | ) |
Definition at line 70 of file class.ilECSRemoteUser.php.
Referenced by read().
ilECSRemoteUser::setUserId | ( | $a_usr_id | ) |
Definition at line 91 of file class.ilECSRemoteUser.php.
Referenced by read().
ilECSRemoteUser::update | ( | ) |
Update remote user entry.
Definition at line 115 of file class.ilECSRemoteUser.php.
References $GLOBALS, $query, getId(), getMid(), getRemoteUserId(), getServerId(), and getUserId().
|
private |
Definition at line 10 of file class.ilECSRemoteUser.php.
Referenced by getId().
|
private |
Definition at line 12 of file class.ilECSRemoteUser.php.
Referenced by getMid().
|
private |
Definition at line 14 of file class.ilECSRemoteUser.php.
Referenced by getRemoteUserId().
|
private |
Definition at line 11 of file class.ilECSRemoteUser.php.
Referenced by getServerId().
|
private |
Definition at line 13 of file class.ilECSRemoteUser.php.
Referenced by getUserId().