|
ILIAS
Release_3_10_x_branch Revision 61812
|
Collaboration diagram for ilCourseItems:Public Member Functions | |
| ilCourseItems (&$course_obj, $a_parent=0, $user_id=0) | |
| cloneDependencies ($a_target_id, $a_copy_id) | |
| Clone dependencies. | |
| setItemId ($a_item_id) | |
| getItemId () | |
| getUserId () | |
| _hasCollectionTimings ($a_ref_id) | |
| _hasTimings ($a_ref_id) | |
| check if there is any active timing | |
| _hasChangeableTimings ($a_ref_id) | |
| setParentId ($a_parent=0) | |
| getParentId () | |
| setTimingType ($a_type) | |
| getTimingType () | |
| setTimingStart ($a_start) | |
| getTimingStart () | |
| setTimingEnd ($a_end) | |
| getTimingEnd () | |
| setSuggestionStart ($a_start) | |
| getSuggestionStart () | |
| setSuggestionEnd ($a_end) | |
| getSuggestionEnd () | |
| setEarliestStart ($a_start) | |
| getEarliestStart () | |
| setLatestEnd ($a_end) | |
| getLatestEnd () | |
| toggleVisible ($a_status) | |
| enabledVisible () | |
| toggleChangeable ($a_status) | |
| enabledChangeable () | |
| setPosition ($a_pos) | |
| getAllItems () | |
| getFilteredItems ($a_container_ref_id) | |
| Get all items. | |
| getItemsByEvent ($a_event_id) | |
| getItemsByObjective ($a_objective_id) | |
| getItems () | |
| getItem ($a_item_id) | |
| validateActivation () | |
| save () | |
| Save. | |
| update ($a_item_id) | |
| moveUp ($item_id) | |
| moveDown ($item_id) | |
| deleteAllEntries () | |
| __read () | |
| __purgeDeleted () | |
| __delete ($a_obj_id) | |
| __getItemData ($a_item) | |
| createDefaultEntry ($a_item) | |
| __getLastPosition () | |
| __isMovable ($a_ref_id) | |
| __switchNodes ($node_a, $node_b) | |
| __sort () | |
| __splitByActivation () | |
| _getItem ($a_item_id) | |
| _isActivated ($a_item_id) | |
| addAdditionalSubItemInformation (&$a_item) | |
| Adds information to object/item array needed to be displayed in repository. | |
Static Public Member Functions | |
| static | _sort ($a_sort_mode, $a_items) |
| sort items | |
| static | _readActivationTimes ($a_ref_ids) |
| read activation times | |
Data Fields | |
| $course_obj | |
| $ilErr | |
| $ilDB | |
| $tree | |
| $lng | |
| $items | |
| $parent | |
| $timing_type | |
| $timing_start | |
| $timing_end | |
Definition at line 39 of file class.ilCourseItems.php.
| ilCourseItems::__delete | ( | $a_obj_id | ) |
Definition at line 610 of file class.ilCourseItems.php.
References $ilDB, $res, and getParentId().
Referenced by __purgeDeleted().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::__getItemData | ( | $a_item | ) |
Definition at line 624 of file class.ilCourseItems.php.
References $data, $ilBench, $ilDB, $res, ilTimingPlaned\_getPlanedTimings(), ilSessionAppointment\_lookupAppointment(), createDefaultEntry(), DB_FETCHMODE_OBJECT, getUserId(), IL_CRS_TIMINGS_ACTIVATION, IL_CRS_TIMINGS_FIXED, and IL_CRS_TIMINGS_PRESETTING.
Referenced by __read(), getItemsByEvent(), and getItemsByObjective().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::__getLastPosition | ( | ) |
Definition at line 768 of file class.ilCourseItems.php.
References $ilDB, $res, DB_FETCHMODE_OBJECT, and getParentId().
Here is the call graph for this function:| ilCourseItems::__isMovable | ( | $a_ref_id | ) |
Definition at line 785 of file class.ilCourseItems.php.
References ilEventItems\_isAssigned().
Here is the call graph for this function:| ilCourseItems::__purgeDeleted | ( | ) |
Definition at line 591 of file class.ilCourseItems.php.
References $ilDB, $res, $tree, __delete(), DB_FETCHMODE_OBJECT, and getParentId().
Referenced by __read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::__read | ( | ) |
Definition at line 547 of file class.ilCourseItems.php.
References $ilBench, $test, __getItemData(), __purgeDeleted(), and __sort().
Referenced by moveDown(), moveUp(), setParentId(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::__sort | ( | ) |
Definition at line 869 of file class.ilCourseItems.php.
References __splitByActivation(), ilContainer\SORT_ACTIVATION, and ilUtil\sortArray().
Referenced by __read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::__splitByActivation | ( | ) |
Definition at line 890 of file class.ilCourseItems.php.
References IL_CRS_TIMINGS_DEACTIVATED.
Referenced by __sort().
Here is the caller graph for this function:| ilCourseItems::__switchNodes | ( | $node_a, | |
| $node_b | |||
| ) |
Definition at line 802 of file class.ilCourseItems.php.
References $ilDB, $res, and getParentId().
Here is the call graph for this function:| ilCourseItems::_getItem | ( | $a_item_id | ) |
Definition at line 907 of file class.ilCourseItems.php.
References $data, $ilDB, $res, ilTimingPlaned\_getPlanedTimings(), DB_FETCHMODE_OBJECT, IL_CRS_TIMINGS_ACTIVATION, and IL_CRS_TIMINGS_PRESETTING.
Referenced by ilTimingCache\_getTimings(), and ilTimingPlaned\validate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::_hasChangeableTimings | ( | $a_ref_id | ) |
Definition at line 216 of file class.ilCourseItems.php.
References $ilDB, $res, $tree, IL_CRS_TIMINGS_PRESETTING, and ilUtil\quoteArray().
Referenced by ilCourseContentGUI\__renderUserItem(), ilCourseContentGUI\editUserTimings(), and ilCourseContentGUI\showUserTimings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::_hasCollectionTimings | ( | $a_ref_id | ) |
Definition at line 157 of file class.ilCourseItems.php.
References $ilDB, $res, $tree, ilLPCollectionCache\_getItems(), ilLPObjSettings\_lookupMode(), IL_CRS_TIMINGS_PRESETTING, LP_MODE_COLLECTION, LP_MODE_MANUAL_BY_TUTOR, and ilUtil\quoteArray().
Referenced by ilLPListOfProgressGUI\__showContainerList(), ilPDFPresentation\__showItems(), and ilLPListOfObjectsGUI\__showUsersList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::_hasTimings | ( | $a_ref_id | ) |
check if there is any active timing
public
| int | ref_id |
Definition at line 196 of file class.ilCourseItems.php.
References $ilDB, $res, $tree, IL_CRS_TIMINGS_PRESETTING, and ilUtil\quoteArray().
Referenced by ilObjCourseGUI\membersObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::_isActivated | ( | $a_item_id | ) |
Definition at line 974 of file class.ilCourseItems.php.
References $ilDB, $res, and DB_FETCHMODE_OBJECT.
Referenced by ilRepositoryExplorer\isVisible(), and ilObjectGUI\isVisible().
Here is the caller graph for this function:
|
static |
read activation times
public
| array | array(int) ref_ids |
Definition at line 1003 of file class.ilCourseItems.php.
References $ilDB, $res, DB_FETCHMODE_OBJECT, and ilUtil\quoteArray().
Referenced by ilAccessHandler\doActivationCheck(), and ilAccessHandler\preloadActivationTimes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
sort items
public
| @return |
Definition at line 836 of file class.ilCourseItems.php.
References IL_CRS_TIMINGS_DEACTIVATED, ilContainer\SORT_ACTIVATION, and ilUtil\sortArray().
Referenced by ilCourseContentGUI\__showMaterials().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::addAdditionalSubItemInformation | ( | & | $a_item | ) |
Adds information to object/item array needed to be displayed in repository.
Definition at line 1030 of file class.ilCourseItems.php.
| ilCourseItems::cloneDependencies | ( | $a_target_id, | |
| $a_copy_id | |||
| ) |
Clone dependencies.
public
| int | target ref_id |
| int | copy id |
Definition at line 80 of file class.ilCourseItems.php.
References $ilLog, $res, ilCopyWizardOptions\_getInstance(), DB_FETCHMODE_OBJECT, ilObjectFactory\getInstanceByRefId(), getParentId(), and ilCourseItems().
Here is the call graph for this function:| ilCourseItems::createDefaultEntry | ( | $a_item | ) |
Definition at line 731 of file class.ilCourseItems.php.
References $ilDB, $res, and IL_CRS_TIMINGS_DEACTIVATED.
Referenced by __getItemData().
Here is the caller graph for this function:| ilCourseItems::deleteAllEntries | ( | ) |
Definition at line 525 of file class.ilCourseItems.php.
References $ilDB.
| ilCourseItems::enabledChangeable | ( | ) |
Definition at line 319 of file class.ilCourseItems.php.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCourseItems::enabledVisible | ( | ) |
Definition at line 311 of file class.ilCourseItems.php.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCourseItems::getAllItems | ( | ) |
Definition at line 329 of file class.ilCourseItems.php.
| ilCourseItems::getEarliestStart | ( | ) |
Definition at line 295 of file class.ilCourseItems.php.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCourseItems::getFilteredItems | ( | $a_container_ref_id | ) |
Get all items.
(No events, no side blocks)
Definition at line 337 of file class.ilCourseItems.php.
References ilEventItems\_getItemsOfContainer().
Referenced by ilCourseContentGUI\__editUserTimings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::getItem | ( | $a_item_id | ) |
Definition at line 408 of file class.ilCourseItems.php.
Referenced by ilCourseContentGUI\updateTimings().
Here is the caller graph for this function:| ilCourseItems::getItemId | ( | ) |
Definition at line 146 of file class.ilCourseItems.php.
Referenced by save().
Here is the caller graph for this function:| ilCourseItems::getItems | ( | ) |
Definition at line 390 of file class.ilCourseItems.php.
Referenced by ilCourseContentGUI\__editAdvancedUserTimings(), and ilCourseContentGUI\showUserTimings().
Here is the caller graph for this function:| ilCourseItems::getItemsByEvent | ( | $a_event_id | ) |
Definition at line 355 of file class.ilCourseItems.php.
References $items, and __getItemData().
Here is the call graph for this function:| ilCourseItems::getItemsByObjective | ( | $a_objective_id | ) |
Definition at line 373 of file class.ilCourseItems.php.
References $items, $ref_id, __getItemData(), and ilCourseObjectiveMaterials\_getAssignedMaterials().
Here is the call graph for this function:| ilCourseItems::getLatestEnd | ( | ) |
Definition at line 303 of file class.ilCourseItems.php.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCourseItems::getParentId | ( | ) |
Definition at line 245 of file class.ilCourseItems.php.
References $parent.
Referenced by __delete(), __getLastPosition(), __purgeDeleted(), __switchNodes(), cloneDependencies(), save(), and update().
Here is the caller graph for this function:| ilCourseItems::getSuggestionEnd | ( | ) |
Definition at line 287 of file class.ilCourseItems.php.
Referenced by save(), update(), and validateActivation().
Here is the caller graph for this function:| ilCourseItems::getSuggestionStart | ( | ) |
Definition at line 279 of file class.ilCourseItems.php.
Referenced by save(), update(), and validateActivation().
Here is the caller graph for this function:| ilCourseItems::getTimingEnd | ( | ) |
Definition at line 271 of file class.ilCourseItems.php.
References $timing_end.
Referenced by save(), update(), and validateActivation().
Here is the caller graph for this function:| ilCourseItems::getTimingStart | ( | ) |
Definition at line 263 of file class.ilCourseItems.php.
References $timing_start.
Referenced by save(), update(), and validateActivation().
Here is the caller graph for this function:| ilCourseItems::getTimingType | ( | ) |
Definition at line 254 of file class.ilCourseItems.php.
References $timing_type.
Referenced by save(), update(), and validateActivation().
Here is the caller graph for this function:| ilCourseItems::getUserId | ( | ) |
Definition at line 150 of file class.ilCourseItems.php.
Referenced by __getItemData().
Here is the caller graph for this function:| ilCourseItems::ilCourseItems | ( | & | $course_obj, |
$a_parent = 0, |
|||
$user_id = 0 |
|||
| ) |
Definition at line 55 of file class.ilCourseItems.php.
References $course_obj, $ilDB, $ilErr, $lng, $tree, and setParentId().
Referenced by cloneDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::moveDown | ( | $item_id | ) |
Definition at line 518 of file class.ilCourseItems.php.
References __read().
Here is the call graph for this function:| ilCourseItems::moveUp | ( | $item_id | ) |
Definition at line 512 of file class.ilCourseItems.php.
References __read().
Here is the call graph for this function:| ilCourseItems::save | ( | ) |
Save.
public
Definition at line 466 of file class.ilCourseItems.php.
References $ilLog, $res, enabledChangeable(), enabledVisible(), getEarliestStart(), getItemId(), getLatestEnd(), getParentId(), getSuggestionEnd(), getSuggestionStart(), getTimingEnd(), getTimingStart(), and getTimingType().
Here is the call graph for this function:| ilCourseItems::setEarliestStart | ( | $a_start | ) |
Definition at line 291 of file class.ilCourseItems.php.
| ilCourseItems::setItemId | ( | $a_item_id | ) |
Definition at line 141 of file class.ilCourseItems.php.
| ilCourseItems::setLatestEnd | ( | $a_end | ) |
Definition at line 299 of file class.ilCourseItems.php.
| ilCourseItems::setParentId | ( | $a_parent = 0 | ) |
Definition at line 237 of file class.ilCourseItems.php.
References __read().
Referenced by ilCourseItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseItems::setPosition | ( | $a_pos | ) |
Definition at line 324 of file class.ilCourseItems.php.
| ilCourseItems::setSuggestionEnd | ( | $a_end | ) |
Definition at line 283 of file class.ilCourseItems.php.
| ilCourseItems::setSuggestionStart | ( | $a_start | ) |
Definition at line 275 of file class.ilCourseItems.php.
| ilCourseItems::setTimingEnd | ( | $a_end | ) |
Definition at line 267 of file class.ilCourseItems.php.
| ilCourseItems::setTimingStart | ( | $a_start | ) |
Definition at line 259 of file class.ilCourseItems.php.
| ilCourseItems::setTimingType | ( | $a_type | ) |
Definition at line 250 of file class.ilCourseItems.php.
| ilCourseItems::toggleChangeable | ( | $a_status | ) |
Definition at line 315 of file class.ilCourseItems.php.
| ilCourseItems::toggleVisible | ( | $a_status | ) |
Definition at line 307 of file class.ilCourseItems.php.
| ilCourseItems::update | ( | $a_item_id | ) |
Definition at line 488 of file class.ilCourseItems.php.
References $ilDB, $res, __read(), enabledChangeable(), enabledVisible(), getEarliestStart(), getLatestEnd(), getParentId(), getSuggestionEnd(), getSuggestionStart(), getTimingEnd(), getTimingStart(), and getTimingType().
Here is the call graph for this function:| ilCourseItems::validateActivation | ( | ) |
Definition at line 420 of file class.ilCourseItems.php.
References $ilErr, getSuggestionEnd(), getSuggestionStart(), getTimingEnd(), getTimingStart(), getTimingType(), IL_CRS_TIMINGS_ACTIVATION, and IL_CRS_TIMINGS_PRESETTING.
Here is the call graph for this function:| ilCourseItems::$course_obj |
Definition at line 41 of file class.ilCourseItems.php.
Referenced by ilCourseItems().
| ilCourseItems::$ilDB |
Definition at line 43 of file class.ilCourseItems.php.
Referenced by __delete(), __getItemData(), __getLastPosition(), __purgeDeleted(), __switchNodes(), _getItem(), _hasChangeableTimings(), _hasCollectionTimings(), _hasTimings(), _isActivated(), _readActivationTimes(), createDefaultEntry(), deleteAllEntries(), ilCourseItems(), and update().
| ilCourseItems::$ilErr |
Definition at line 42 of file class.ilCourseItems.php.
Referenced by ilCourseItems(), and validateActivation().
| ilCourseItems::$items |
Definition at line 47 of file class.ilCourseItems.php.
Referenced by getItemsByEvent(), and getItemsByObjective().
| ilCourseItems::$lng |
Definition at line 45 of file class.ilCourseItems.php.
Referenced by ilCourseItems().
| ilCourseItems::$parent |
Definition at line 48 of file class.ilCourseItems.php.
Referenced by getParentId().
| ilCourseItems::$timing_end |
Definition at line 52 of file class.ilCourseItems.php.
Referenced by getTimingEnd().
| ilCourseItems::$timing_start |
Definition at line 51 of file class.ilCourseItems.php.
Referenced by getTimingStart().
| ilCourseItems::$timing_type |
Definition at line 50 of file class.ilCourseItems.php.
Referenced by getTimingType().
| ilCourseItems::$tree |
Definition at line 44 of file class.ilCourseItems.php.
Referenced by __purgeDeleted(), _hasChangeableTimings(), _hasCollectionTimings(), _hasTimings(), and ilCourseItems().