| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Storage of ecs course assignments. More...
 Collaboration diagram for ilECSCourseMemberAssignment:
 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 | 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:
 Here is the call graph for this function:| ilECSCourseMemberAssignment::delete | ( | ) | 
| 
 | static | 
Delete by obj_id.
Definition at line 37 of file class.ilECSCourseMemberAssignment.php.
References $query.
| 
 | static | 
Delete by server id type $ilDB.
| type | $a_server_id | 
Definition at line 53 of file class.ilECSCourseMemberAssignment.php.
References $query.
| ilECSCourseMemberAssignment::getCmsId | ( | ) | 
Definition at line 152 of file class.ilECSCourseMemberAssignment.php.
References $cms_id.
Referenced by save(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::getCmsSubId | ( | ) | 
Definition at line 162 of file class.ilECSCourseMemberAssignment.php.
References $cms_sub_id.
Referenced by save(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::getId | ( | ) | 
| ilECSCourseMemberAssignment::getMid | ( | ) | 
Definition at line 142 of file class.ilECSCourseMemberAssignment.php.
References $mid.
Referenced by save(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::getObjId | ( | ) | 
Definition at line 172 of file class.ilECSCourseMemberAssignment.php.
References $obj_id.
Referenced by save(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::getServer | ( | ) | 
Get server.
Definition at line 132 of file class.ilECSCourseMemberAssignment.php.
References $server.
Referenced by save(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::getStatus | ( | ) | 
Definition at line 192 of file class.ilECSCourseMemberAssignment.php.
References $status.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::getUid | ( | ) | 
Definition at line 182 of file class.ilECSCourseMemberAssignment.php.
References $uid.
Referenced by save(), and update().
 Here is the caller graph for this function:
 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 96 of file class.ilECSCourseMemberAssignment.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus().
 Here is the caller graph for this function:
 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 70 of file class.ilECSCourseMemberAssignment.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Read from db.
Definition at line 264 of file class.ilECSCourseMemberAssignment.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, getId(), setCmsId(), setCmsSubId(), setMid(), setObjId(), setServer(), and setStatus().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::save | ( | ) | 
Save new entry type $ilDB.
Definition at line 201 of file class.ilECSCourseMemberAssignment.php.
References $query, getCmsId(), getCmsSubId(), getId(), getMid(), getObjId(), getServer(), getStatus(), and getUid().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilECSCourseMemberAssignment::setCmsId | ( | $a_id | ) | 
Definition at line 147 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::setCmsSubId | ( | $a_id | ) | 
Definition at line 157 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::setMid | ( | $a_mid | ) | 
Definition at line 137 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::setObjId | ( | $a_id | ) | 
Definition at line 167 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::setServer | ( | $a_server | ) | 
Set server.
| int | server_id | 
Definition at line 123 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::setStatus | ( | $a_status | ) | 
Definition at line 187 of file class.ilECSCourseMemberAssignment.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilECSCourseMemberAssignment::setUid | ( | $a_id | ) | 
Definition at line 177 of file class.ilECSCourseMemberAssignment.php.
| ilECSCourseMemberAssignment::update | ( | ) | 
Update assignemt type $ilDB.
Definition at line 227 of file class.ilECSCourseMemberAssignment.php.
References $query, getCmsId(), getCmsSubId(), getId(), getMid(), getObjId(), getServer(), and getUid().
 Here is the call graph for this function:
 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.