|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Storage of ecs course assignments. More...
Collaboration diagram for ilECSCourseMemberAssignment:Public Member Functions | |
| __construct (int $a_id=0) | |
| Constructor. More... | |
| getId () | |
| setServer (int $a_server) | |
| Set server. More... | |
| getServer () | |
| Get server. More... | |
| setMid (int $a_mid) | |
| getMid () | |
| setCmsId (int $a_id) | |
| getCmsId () | |
| setCmsSubId (?int $a_id) | |
| getCmsSubId () | |
| setObjId (int $a_id) | |
| getObjId () | |
| setUid (string $a_id) | |
| getUid () | |
| setStatus (bool $a_status) | |
| getStatus () | |
| save () | |
| Save new entry. More... | |
| update () | |
| Update assignemt. More... | |
| delete () | |
| Delete entry. More... | |
Static Public Member Functions | |
| static | lookupMissingAssignmentsOfUser (string $a_usr_id) |
| Lookup missing assignments;. More... | |
| static | deleteByObjId (int $a_obj_id) |
| Delete by obj_id. More... | |
| static | deleteByServerId (int $a_server_id) |
| Delete by server id. More... | |
| static | lookupUserIds (int $a_cms_id, ?int $a_cms_sub_id, int $a_obj_id) |
| Lookup user ids. More... | |
| static | lookupAssignment (int $a_cms_id, ?int $a_cms_sub_id, int $a_obj_id, string $a_usr_id) |
| Lookup assignment of user. More... | |
Data Fields | |
| const | STATUS_ASSIGNED = 0 |
| const | STATUS_LOCAL_DELETED = 1 |
Protected Member Functions | |
| read () | |
| Read from db. More... | |
Private Member Functions | |
| getArrayForDatabase () | |
Private Attributes | |
| ilDBInterface | $db |
| int | $id |
| int | $server |
| int | $mid |
| int | $cms_id |
| int | $cms_sub_id = null |
| int | $obj_id |
| string | $uid |
| bool | $status = false |
Storage of ecs course assignments.
Definition at line 24 of file class.ilECSCourseMemberAssignment.php.
| ilECSCourseMemberAssignment::__construct | ( | int | $a_id = 0 | ) |
Constructor.
Definition at line 44 of file class.ilECSCourseMemberAssignment.php.
Here is the call graph for this function:| ilECSCourseMemberAssignment::delete | ( | ) |
Delete entry.
Definition at line 295 of file class.ilECSCourseMemberAssignment.php.
References getId().
Here is the call graph for this function:
|
static |
Delete by obj_id.
Definition at line 80 of file class.ilECSCourseMemberAssignment.php.
|
static |
Delete by server id.
Definition at line 95 of file class.ilECSCourseMemberAssignment.php.
|
private |
Definition at line 244 of file class.ilECSCourseMemberAssignment.php.
References getCmsId(), getCmsSubId(), getId(), getMid(), getObjId(), getServer(), getStatus(), and getUid().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getCmsId | ( | ) |
Definition at line 199 of file class.ilECSCourseMemberAssignment.php.
References $cms_id.
Referenced by getArrayForDatabase(), and save().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getCmsSubId | ( | ) |
Definition at line 209 of file class.ilECSCourseMemberAssignment.php.
References $cms_sub_id.
Referenced by getArrayForDatabase(), and save().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getId | ( | ) |
Definition at line 163 of file class.ilECSCourseMemberAssignment.php.
References $id.
Referenced by delete(), getArrayForDatabase(), read(), and update().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getMid | ( | ) |
Definition at line 189 of file class.ilECSCourseMemberAssignment.php.
References $mid.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getObjId | ( | ) |
Definition at line 219 of file class.ilECSCourseMemberAssignment.php.
References $obj_id.
Referenced by getArrayForDatabase(), and save().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getServer | ( | ) |
Get server.
Definition at line 179 of file class.ilECSCourseMemberAssignment.php.
References $server.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getStatus | ( | ) |
Definition at line 239 of file class.ilECSCourseMemberAssignment.php.
References $status.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getUid | ( | ) |
Definition at line 229 of file class.ilECSCourseMemberAssignment.php.
References $uid.
Referenced by getArrayForDatabase(), and save().
Here is the caller graph for this function:
|
static |
Lookup assignment of user.
Definition at line 138 of file class.ilECSCourseMemberAssignment.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus(), and save().
Here is the caller graph for this function:
|
static |
Lookup missing assignments;.
| string | $a_usr_id | account |
Definition at line 60 of file class.ilECSCourseMemberAssignment.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by ilECSAppEventListener\handleMembership().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup user ids.
Definition at line 110 of file class.ilECSCourseMemberAssignment.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus().
Here is the caller graph for this function:
|
protected |
Read from db.
Definition at line 308 of file class.ilECSCourseMemberAssignment.php.
References getId(), setCmsId(), setCmsSubId(), setMid(), setObjId(), setServer(), setStatus(), and setUid().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSCourseMemberAssignment::save | ( | ) |
Save new entry.
Definition at line 260 of file class.ilECSCourseMemberAssignment.php.
References getArrayForDatabase(), getCmsId(), getCmsSubId(), getObjId(), getUid(), and lookupAssignment().
Here is the call graph for this function:| ilECSCourseMemberAssignment::setCmsId | ( | int | $a_id | ) |
Definition at line 194 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setCmsSubId | ( | ?int | $a_id | ) |
Definition at line 204 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setMid | ( | int | $a_mid | ) |
Definition at line 184 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setObjId | ( | int | $a_id | ) |
Definition at line 214 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setServer | ( | int | $a_server | ) |
Set server.
Definition at line 171 of file class.ilECSCourseMemberAssignment.php.
References ILIAS\UI\examples\Progress\Bar\server().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setStatus | ( | bool | $a_status | ) |
Definition at line 234 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setUid | ( | string | $a_id | ) |
Definition at line 224 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::update | ( | ) |
Update assignemt.
Definition at line 281 of file class.ilECSCourseMemberAssignment.php.
References getArrayForDatabase(), and getId().
Here is the call graph for this function:
|
private |
Definition at line 34 of file class.ilECSCourseMemberAssignment.php.
Referenced by getCmsId().
|
private |
Definition at line 35 of file class.ilECSCourseMemberAssignment.php.
Referenced by getCmsSubId().
|
private |
Definition at line 29 of file class.ilECSCourseMemberAssignment.php.
|
private |
Definition at line 31 of file class.ilECSCourseMemberAssignment.php.
Referenced by getId().
|
private |
Definition at line 33 of file class.ilECSCourseMemberAssignment.php.
Referenced by getMid().
|
private |
Definition at line 36 of file class.ilECSCourseMemberAssignment.php.
Referenced by getObjId().
|
private |
Definition at line 32 of file class.ilECSCourseMemberAssignment.php.
Referenced by getServer().
|
private |
Definition at line 38 of file class.ilECSCourseMemberAssignment.php.
Referenced by getStatus().
|
private |
Definition at line 37 of file class.ilECSCourseMemberAssignment.php.
Referenced by getUid().
| const ilECSCourseMemberAssignment::STATUS_ASSIGNED = 0 |
Definition at line 26 of file class.ilECSCourseMemberAssignment.php.
| const ilECSCourseMemberAssignment::STATUS_LOCAL_DELETED = 1 |
Definition at line 27 of file class.ilECSCourseMemberAssignment.php.