|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilObj<module_name> More...
Collaboration diagram for ilObjCourseGrouping:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor @access public. More... | |
| setId ($a_id) | |
| getId () | |
| setContainerRefId ($a_ref_id) | |
| getContainerRefId () | |
| setContainerObjId ($a_obj_id) | |
| getContainerObjId () | |
| getContainerType () | |
| setContainerType ($a_type) | |
| setType ($a_type) | |
| getType () | |
| setTitle ($a_title) | |
| getTitle () | |
| setDescription ($a_desc) | |
| getDescription () | |
| setUniqueField ($a_uni) | |
| getUniqueField () | |
| getCountAssignedItems () | |
| getAssignedItems () | |
| delete () | |
| create ($a_course_ref_id, $a_course_id) | |
| update () | |
| isAssigned ($a_course_id) | |
| read () | |
| _checkAccess ($grouping_id) | |
| assign ($a_crs_ref_id, $a_course_id) | |
| deassign ($a_crs_ref_id, $a_course_id) | |
| __addCondition ($a_target_ref_id, $a_target_obj_id) | |
Static Public Member Functions | |
| static | _getVisibleGroupings ($a_obj_id) |
| static | _deleteAll ($a_course_id) |
| static | _getGroupings ($a_course_id) |
| static | _checkCondition ($trigger_obj_id, $operator, $value, $a_usr_id=0) |
| static | _getGroupingCourseIds ($a_course_ref_id, $a_course_id) |
| Get all ids of courses that are grouped with another course @access static. More... | |
| static | getAssignedObjects () |
| Alway call checkGroupingDependencies before. More... | |
| static | _checkGroupingDependencies (&$container_obj, $a_user_id=null) |
| static | _getGroupingItems ($container_obj) |
| Get courses/groups that are assigned to the same membership limitation. More... | |
Data Fields | |
| $db | |
Static Protected Attributes | |
| static | $assignedObjects = array() |
| ilObjCourseGrouping::__construct | ( | $a_id = 0 | ) |
Constructor @access public.
| int | reference_id or object_id |
Definition at line 45 of file class.ilObjCourseGrouping.php.
References $ilDB, read(), setId(), and setType().
Here is the call graph for this function:| ilObjCourseGrouping::__addCondition | ( | $a_target_ref_id, | |
| $a_target_obj_id | |||
| ) |
Definition at line 370 of file class.ilObjCourseGrouping.php.
References getId(), and getUniqueField().
Referenced by assign().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourseGrouping::_checkAccess | ( | $grouping_id | ) |
Definition at line 272 of file class.ilObjCourseGrouping.php.
|
static |
Definition at line 428 of file class.ilObjCourseGrouping.php.
Referenced by ilConditionHandler\_checkCondition().
Here is the caller graph for this function:
|
static |
Definition at line 473 of file class.ilObjCourseGrouping.php.
References $ilUser, $lng, ilConditionHandler\_getConditionsOfTarget(), ilConditionHandler\_getConditionsOfTrigger(), ilCourseParticipants\_getInstanceByObjId(), ilGroupParticipants\_getInstanceByObjId(), ilObjGroup\_isMember(), and ilObjUser\lookupMatriculation().
Referenced by ilRegistrationGUI\fillMembershipLimitation(), ilSubscriberTableGUI\fillRow(), and ilWaitingListTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 395 of file class.ilObjCourseGrouping.php.
References $ilDB, $query, $res, and _getGroupings().
Referenced by ilObjCourse\delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all ids of courses that are grouped with another course @access static.
| integer | object_id of one course |
| array | integer ids of courses or empty array if course is not in grouping |
Definition at line 442 of file class.ilObjCourseGrouping.php.
References ilConditionHandler\_getConditionsOfTarget(), and ilConditionHandler\_getConditionsOfTrigger().
Here is the call graph for this function:
|
static |
Get courses/groups that are assigned to the same membership limitation.
| object | container object |
Definition at line 559 of file class.ilObjCourseGrouping.php.
References ilConditionHandler\_getConditionsOfTarget(), and ilConditionHandler\_getConditionsOfTrigger().
Referenced by ilRegistrationGUI\fillMembershipLimitation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 414 of file class.ilObjCourseGrouping.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by _deleteAll().
Here is the caller graph for this function:
|
static |
| int | $a_obj_id |
Returns a list of all groupings for which the current user hast write permission on all assigned objects. Or groupings the given object id is assigned to.
Definition at line 296 of file class.ilObjCourseGrouping.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCourseGroupingTableGUI\getItems().
Here is the caller graph for this function:| ilObjCourseGrouping::assign | ( | $a_crs_ref_id, | |
| $a_course_id | |||
| ) |
Definition at line 337 of file class.ilObjCourseGrouping.php.
References __addCondition(), getContainerObjId(), and getContainerRefId().
Here is the call graph for this function:| ilObjCourseGrouping::create | ( | $a_course_ref_id, | |
| $a_course_id | |||
| ) |
Definition at line 170 of file class.ilObjCourseGrouping.php.
References $ilDB, $ilUser, $query, $res, getDescription(), getId(), getTitle(), getUniqueField(), and setId().
Here is the call graph for this function:| ilObjCourseGrouping::deassign | ( | $a_crs_ref_id, | |
| $a_course_id | |||
| ) |
Definition at line 346 of file class.ilObjCourseGrouping.php.
References ilConditionHandler\_getConditionsOfTrigger(), and getId().
Here is the call graph for this function:| ilObjCourseGrouping::delete | ( | ) |
Definition at line 147 of file class.ilObjCourseGrouping.php.
References $ilDB, $query, $res, getId(), and getType().
Here is the call graph for this function:| ilObjCourseGrouping::getAssignedItems | ( | ) |
Definition at line 131 of file class.ilObjCourseGrouping.php.
References ilConditionHandler\_getConditionsOfTrigger(), getId(), and getType().
Referenced by getCountAssignedItems(), and isAssigned().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Alway call checkGroupingDependencies before.
Definition at line 468 of file class.ilObjCourseGrouping.php.
References $assignedObjects.
Referenced by ilSubscriberTableGUI\fillRow(), and ilWaitingListTableGUI\fillRow().
Here is the caller graph for this function:| ilObjCourseGrouping::getContainerObjId | ( | ) |
Definition at line 79 of file class.ilObjCourseGrouping.php.
Referenced by assign().
Here is the caller graph for this function:| ilObjCourseGrouping::getContainerRefId | ( | ) |
Definition at line 71 of file class.ilObjCourseGrouping.php.
Referenced by assign().
Here is the caller graph for this function:| ilObjCourseGrouping::getContainerType | ( | ) |
Definition at line 83 of file class.ilObjCourseGrouping.php.
| ilObjCourseGrouping::getCountAssignedItems | ( | ) |
Definition at line 126 of file class.ilObjCourseGrouping.php.
References getAssignedItems().
Here is the call graph for this function:| ilObjCourseGrouping::getDescription | ( | ) |
Definition at line 113 of file class.ilObjCourseGrouping.php.
References $description.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjCourseGrouping::getId | ( | ) |
Definition at line 62 of file class.ilObjCourseGrouping.php.
References $id.
Referenced by __addCondition(), create(), deassign(), delete(), getAssignedItems(), read(), and update().
Here is the caller graph for this function:| ilObjCourseGrouping::getTitle | ( | ) |
Definition at line 105 of file class.ilObjCourseGrouping.php.
References $title.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjCourseGrouping::getType | ( | ) |
Definition at line 96 of file class.ilObjCourseGrouping.php.
References $type.
Referenced by delete(), getAssignedItems(), and update().
Here is the caller graph for this function:| ilObjCourseGrouping::getUniqueField | ( | ) |
Definition at line 121 of file class.ilObjCourseGrouping.php.
Referenced by __addCondition(), create(), and update().
Here is the caller graph for this function:| ilObjCourseGrouping::isAssigned | ( | $a_course_id | ) |
Definition at line 235 of file class.ilObjCourseGrouping.php.
References getAssignedItems().
Here is the call graph for this function:| ilObjCourseGrouping::read | ( | ) |
Definition at line 245 of file class.ilObjCourseGrouping.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, getId(), setContainerObjId(), setContainerRefId(), setContainerType(), setDescription(), setTitle(), and setUniqueField().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourseGrouping::setContainerObjId | ( | $a_obj_id | ) |
Definition at line 75 of file class.ilObjCourseGrouping.php.
Referenced by read().
Here is the caller graph for this function:| ilObjCourseGrouping::setContainerRefId | ( | $a_ref_id | ) |
Definition at line 67 of file class.ilObjCourseGrouping.php.
Referenced by read().
Here is the caller graph for this function:| ilObjCourseGrouping::setContainerType | ( | $a_type | ) |
Definition at line 87 of file class.ilObjCourseGrouping.php.
References $a_type.
Referenced by read().
Here is the caller graph for this function:| ilObjCourseGrouping::setDescription | ( | $a_desc | ) |
Definition at line 109 of file class.ilObjCourseGrouping.php.
Referenced by read().
Here is the caller graph for this function:| ilObjCourseGrouping::setId | ( | $a_id | ) |
Definition at line 58 of file class.ilObjCourseGrouping.php.
Referenced by __construct(), and create().
Here is the caller graph for this function:| ilObjCourseGrouping::setTitle | ( | $a_title | ) |
Definition at line 101 of file class.ilObjCourseGrouping.php.
Referenced by read().
Here is the caller graph for this function:| ilObjCourseGrouping::setType | ( | $a_type | ) |
Definition at line 92 of file class.ilObjCourseGrouping.php.
References $a_type.
Referenced by __construct().
Here is the caller graph for this function:| ilObjCourseGrouping::setUniqueField | ( | $a_uni | ) |
Definition at line 117 of file class.ilObjCourseGrouping.php.
Referenced by read().
Here is the caller graph for this function:| ilObjCourseGrouping::update | ( | ) |
Definition at line 204 of file class.ilObjCourseGrouping.php.
References $ilDB, $query, $res, getDescription(), getId(), getTitle(), getType(), and getUniqueField().
Here is the call graph for this function:
|
staticprotected |
Definition at line 38 of file class.ilObjCourseGrouping.php.
Referenced by getAssignedObjects().
| ilObjCourseGrouping::$db |
Definition at line 36 of file class.ilObjCourseGrouping.php.