|
ILIAS
Release_5_0_x_branch Revision 61816
|
Storage of ecs course assignments. More...
Collaboration diagram for ilECSCourseMemberAssignment:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. | |
| getId () | |
| setServer ($a_server) | |
| Set server. | |
| getServer () | |
| Get server. | |
| setMid ($a_mid) | |
| getMid () | |
| setCmsId ($a_id) | |
| getCmsId () | |
| setCmsSubId ($a_id) | |
| getCmsSubId () | |
| setObjId ($a_id) | |
| getObjId () | |
| setUid ($a_id) | |
| getUid () | |
| setStatus ($a_status) | |
| getStatus () | |
| save () | |
| Save new entry type $ilDB. | |
| update () | |
| Update assignemt type $ilDB. | |
| delete () | |
| Delete entry. | |
Static Public Member Functions | |
| static | lookupMissingAssignmentsOfUser ($a_usr_id) |
| Lookup missing assignments; type $ilDB. | |
| static | deleteByObjId ($a_obj_id) |
| Delete by obj_id. | |
| static | deleteByServerId ($a_server_id) |
| Delete by server id type $ilDB. | |
| static | lookupUserIds ($a_cms_id, $a_cms_sub_id, $a_obj_id) |
| Lookup user ids type $ilDB. | |
| static | lookupAssignment ($a_cms_id, $a_cms_sub_id, $a_obj_id, $a_usr_id) |
| Lookup assignment of user type $ilDB. | |
Data Fields | |
| const | STATUS_ASSIGNED = 0 |
| const | STATUS_LOCAL_DELETED = 1 |
Protected Member Functions | |
| read () | |
| Read from db. | |
Private Attributes | |
| $id | |
| $server | |
| $mid | |
| $cms_id | |
| $cms_sub_id = 0 | |
| $obj_id | |
| $uid | |
| $status = 0 | |
Storage of ecs course assignments.
Definition at line 9 of file class.ilECSCourseMemberAssignment.php.
| ilECSCourseMemberAssignment::__construct | ( | $a_id = 0 | ) |
Constructor.
Definition at line 27 of file class.ilECSCourseMemberAssignment.php.
References read().
Here is the call graph for this function:| ilECSCourseMemberAssignment::delete | ( | ) |
|
static |
|
static |
Delete by server id type $ilDB.
| type | $a_server_id |
Definition at line 75 of file class.ilECSCourseMemberAssignment.php.
| ilECSCourseMemberAssignment::getCmsId | ( | ) |
Definition at line 174 of file class.ilECSCourseMemberAssignment.php.
References $cms_id.
Referenced by save(), and update().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getCmsSubId | ( | ) |
Definition at line 184 of file class.ilECSCourseMemberAssignment.php.
References $cms_sub_id.
Referenced by save(), and update().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getId | ( | ) |
| ilECSCourseMemberAssignment::getMid | ( | ) |
Definition at line 164 of file class.ilECSCourseMemberAssignment.php.
References $mid.
Referenced by save(), and update().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getObjId | ( | ) |
Definition at line 194 of file class.ilECSCourseMemberAssignment.php.
References $obj_id.
Referenced by save(), and update().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getServer | ( | ) |
Get server.
Definition at line 154 of file class.ilECSCourseMemberAssignment.php.
References $server.
Referenced by save(), and update().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getStatus | ( | ) |
Definition at line 214 of file class.ilECSCourseMemberAssignment.php.
References $status.
Referenced by save(), and update().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::getUid | ( | ) |
Definition at line 204 of file class.ilECSCourseMemberAssignment.php.
References $uid.
Referenced by save(), and update().
Here is the caller graph for this function:
|
static |
Lookup assignment of user type $ilDB.
| type | $a_cms_id | |
| type | $a_obj_id | |
| type | $a_usr_id |
Definition at line 118 of file class.ilECSCourseMemberAssignment.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus(), and save().
Here is the caller graph for this function:
|
static |
Lookup missing assignments; type $ilDB.
| type | $a_usr_id |
Definition at line 40 of file class.ilECSCourseMemberAssignment.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSAppEventListener\handleMembership().
Here is the caller graph for this function:
|
static |
Lookup user ids type $ilDB.
| type | $a_cms_id | |
| type | $a_obj_id |
Definition at line 92 of file class.ilECSCourseMemberAssignment.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus().
Here is the caller graph for this function:
|
protected |
Read from db.
Definition at line 299 of file class.ilECSCourseMemberAssignment.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, 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 type $ilDB.
Definition at line 223 of file class.ilECSCourseMemberAssignment.php.
References $ilDB, $query, getCmsId(), getCmsSubId(), getId(), getMid(), getObjId(), getServer(), getStatus(), getUid(), and lookupAssignment().
Here is the call graph for this function:| ilECSCourseMemberAssignment::setCmsId | ( | $a_id | ) |
Definition at line 169 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setCmsSubId | ( | $a_id | ) |
Definition at line 179 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setMid | ( | $a_mid | ) |
Definition at line 159 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setObjId | ( | $a_id | ) |
Definition at line 189 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setServer | ( | $a_server | ) |
Set server.
| int | server_id |
Definition at line 145 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setStatus | ( | $a_status | ) |
Definition at line 209 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::setUid | ( | $a_id | ) |
Definition at line 199 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
Here is the caller graph for this function:| ilECSCourseMemberAssignment::update | ( | ) |
Update assignemt type $ilDB.
Definition at line 262 of file class.ilECSCourseMemberAssignment.php.
References $ilDB, $query, getCmsId(), getCmsSubId(), getId(), getMid(), getObjId(), getServer(), getStatus(), and getUid().
Here is the call graph for this function:
|
private |
Definition at line 17 of file class.ilECSCourseMemberAssignment.php.
Referenced by getCmsId().
|
private |
Definition at line 18 of file class.ilECSCourseMemberAssignment.php.
Referenced by getCmsSubId().
|
private |
Definition at line 14 of file class.ilECSCourseMemberAssignment.php.
Referenced by getId().
|
private |
Definition at line 16 of file class.ilECSCourseMemberAssignment.php.
Referenced by getMid().
|
private |
Definition at line 19 of file class.ilECSCourseMemberAssignment.php.
Referenced by getObjId().
|
private |
Definition at line 15 of file class.ilECSCourseMemberAssignment.php.
Referenced by getServer().
|
private |
Definition at line 21 of file class.ilECSCourseMemberAssignment.php.
Referenced by getStatus().
|
private |
Definition at line 20 of file class.ilECSCourseMemberAssignment.php.
Referenced by getUid().
| const ilECSCourseMemberAssignment::STATUS_ASSIGNED = 0 |
Definition at line 11 of file class.ilECSCourseMemberAssignment.php.
| const ilECSCourseMemberAssignment::STATUS_LOCAL_DELETED = 1 |
Definition at line 12 of file class.ilECSCourseMemberAssignment.php.