|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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 23 of file class.ilECSCourseMemberAssignment.php.
| ilECSCourseMemberAssignment::__construct | ( | int | $a_id = 0 | ) |
Constructor.
Definition at line 43 of file class.ilECSCourseMemberAssignment.php.
Here is the call graph for this function:| ilECSCourseMemberAssignment::delete | ( | ) |
Delete entry.
Definition at line 294 of file class.ilECSCourseMemberAssignment.php.
References getId().
Here is the call graph for this function:
|
static |
|
static |
|
private |
Definition at line 243 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 198 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 208 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 162 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 188 of file class.ilECSCourseMemberAssignment.php.
References $mid.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getObjId | ( | ) |
Definition at line 218 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 178 of file class.ilECSCourseMemberAssignment.php.
References $server.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getStatus | ( | ) |
Definition at line 238 of file class.ilECSCourseMemberAssignment.php.
References $status.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getUid | ( | ) |
Definition at line 228 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 137 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:
|
static |
Lookup missing assignments;.
| string | $a_usr_id | account |
Definition at line 59 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 109 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 307 of file class.ilECSCourseMemberAssignment.php.
References $r, 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 259 of file class.ilECSCourseMemberAssignment.php.
References getArrayForDatabase(), getCmsId(), getCmsSubId(), getObjId(), and getUid().
Here is the call graph for this function:| ilECSCourseMemberAssignment::setCmsId | ( | int | $a_id | ) |
Definition at line 193 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setCmsSubId | ( | ?int | $a_id | ) |
Definition at line 203 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setMid | ( | int | $a_mid | ) |
Definition at line 183 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setObjId | ( | int | $a_id | ) |
Definition at line 213 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 170 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setStatus | ( | bool | $a_status | ) |
Definition at line 233 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setUid | ( | string | $a_id | ) |
Definition at line 223 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::update | ( | ) |
Update assignemt.
Definition at line 280 of file class.ilECSCourseMemberAssignment.php.
References getArrayForDatabase(), and getId().
Here is the call graph for this function:
|
private |
Definition at line 33 of file class.ilECSCourseMemberAssignment.php.
Referenced by getCmsId().
|
private |
Definition at line 34 of file class.ilECSCourseMemberAssignment.php.
Referenced by getCmsSubId().
|
private |
Definition at line 28 of file class.ilECSCourseMemberAssignment.php.
|
private |
Definition at line 30 of file class.ilECSCourseMemberAssignment.php.
Referenced by getId().
|
private |
Definition at line 32 of file class.ilECSCourseMemberAssignment.php.
Referenced by getMid().
|
private |
Definition at line 35 of file class.ilECSCourseMemberAssignment.php.
Referenced by getObjId().
|
private |
Definition at line 31 of file class.ilECSCourseMemberAssignment.php.
Referenced by getServer().
|
private |
Definition at line 37 of file class.ilECSCourseMemberAssignment.php.
Referenced by getStatus().
|
private |
Definition at line 36 of file class.ilECSCourseMemberAssignment.php.
Referenced by getUid().
| const ilECSCourseMemberAssignment::STATUS_ASSIGNED = 0 |
Definition at line 25 of file class.ilECSCourseMemberAssignment.php.
| const ilECSCourseMemberAssignment::STATUS_LOCAL_DELETED = 1 |
Definition at line 26 of file class.ilECSCourseMemberAssignment.php.