|
ILIAS
release_4-3 Revision
|
Class ilLPObjSettings. More...
Collaboration diagram for ilLPCollections:Public Member Functions | |
| ilLPCollections ($a_obj_id) | |
| cloneCollections ($a_target_id, $a_copy_id) | |
| Clone collections. | |
| getObjId () | |
| getItems () | |
| isAssigned ($a_ref_id) | |
| add ($item_id) | |
| delete ($item_id) | |
| _getCountPossibleSAHSItems ($a_target_id) | |
| _getPossibleSAHSItems ($target_id) | |
| get all tracking items of scorm or aicc object | |
| deleteAll () | |
| & | _getItems ($a_obj_id, $a_use_subtree_by_id=false) |
| __deleteEntry ($a_obj_id, $a_item_id) | |
| __read () | |
| _getScoresForUserAndCP_Node_Id ($target_id, $item_id, $user_id) | |
Static Public Member Functions | |
| static | deactivate ($a_obj_id, array $a_item_ids) |
| Deactivate assignments. | |
| static | activate ($a_obj_id, array $a_item_ids) |
| Activate assignment. | |
| static | createNewGrouping ($a_obj_id, array $a_ids) |
| Create new grouping ilDB. | |
| static | saveObligatoryMaterials ($a_obj_id, array $a_obl) |
| static | releaseGrouping ($a_obj_id, array $a_ids) |
| Release grouping of materials. | |
| static | hasGroupedItems ($a_obj_id) |
| Check if there is any grouped material assigned. | |
| static | lookupGroupedItems ($a_obj_id, $item_id) |
| Lookup grouped items ilDB $ilDB. | |
| static | _getPossibleItems ($a_target_id, $a_collection=null) |
| static | _getCountPossibleItems ($a_target_id) |
| static | _deleteAll ($a_obj_id) |
| static | getGroupedItems ($a_obj_id, $a_use_subtree_by_id=false) |
| Get groped items. | |
Data Fields | |
| $db = null | |
| $obj_id = null | |
| $items = array() | |
| ilLPCollections::__deleteEntry | ( | $a_obj_id, | |
| $a_item_id | |||
| ) |
Definition at line 633 of file class.ilLPCollections.php.
Referenced by __read(), and _getItems().
Here is the caller graph for this function:| ilLPCollections::__read | ( | ) |
Definition at line 645 of file class.ilLPCollections.php.
References $query, $res, $row, __deleteEntry(), ilObject\_getAllReferences(), _getPossibleItems(), ilObjTest\_lookupAnonymity(), DB_FETCHMODE_OBJECT, and getObjId().
Referenced by add(), delete(), and ilLPCollections().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 522 of file class.ilLPCollections.php.
Referenced by deleteAll(), ilTrackingAppEventListener\handleDelete(), and ilTrackingTest\testLPCollections().
Here is the caller graph for this function:
|
static |
Definition at line 462 of file class.ilLPCollections.php.
References _getPossibleItems().
Here is the call graph for this function:| ilLPCollections::_getCountPossibleSAHSItems | ( | $a_target_id | ) |
Definition at line 467 of file class.ilLPCollections.php.
References _getPossibleSAHSItems().
Referenced by ilLPObjSettings\getValidModes().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilLPCollections::_getItems | ( | $a_obj_id, | |
$a_use_subtree_by_id = false |
|||
| ) |
Definition at line 561 of file class.ilLPCollections.php.
References $items, $query, $res, $row, __deleteEntry(), ilObject\_getAllReferences(), ilCourseObjective\_getObjectiveIds(), _getPossibleItems(), ilObjTest\_lookupAnonymity(), ilLPObjSettings\_lookupMode(), DB_FETCHMODE_OBJECT, LP_MODE_COLLECTION, LP_MODE_MANUAL_BY_TUTOR, LP_MODE_OBJECTIVES, and LP_MODE_SCORM.
Referenced by getGroupedItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 410 of file class.ilLPCollections.php.
References ilRepositoryObjectPluginSlot\isTypePluginWithLP().
Referenced by __read(), _getCountPossibleItems(), _getItems(), and ilLPCollectionSettingsTableGUI\parseCollection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPCollections::_getPossibleSAHSItems | ( | $target_id | ) |
get all tracking items of scorm or aicc object
Definition at line 477 of file class.ilLPCollections.php.
References $items, $target_id, ilObjSCORMLearningModule\_getTrackingItems(), ilObjAICCLearningModule\_getTrackingItems(), ilObjSCORM2004LearningModule\_getTrackingItems(), and ilObjSAHSLearningModule\_lookupSubType().
Referenced by _getCountPossibleSAHSItems(), ilSCORMCertificateAdapter\getCertificateVariablesDescription(), ilSCORMCertificateAdapter\getCertificateVariablesForPresentation(), ilSCORMCertificateAdapter\getCertificateVariablesForPreview(), ilConditionHandlerInterface\initFormCondition(), and ilLPCollectionSettingsTableGUI\parseScormCollection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPCollections::_getScoresForUserAndCP_Node_Id | ( | $target_id, | |
| $item_id, | |||
| $user_id | |||
| ) |
Definition at line 693 of file class.ilLPCollections.php.
References $target_id, ilObjSCORM2004LearningModule\_getScores2004ForUser(), ilObjSCORMLearningModule\_getScoresForUser(), and ilObjSAHSLearningModule\_lookupSubType().
Referenced by ilSCORMCertificateAdapter\getCertificateVariablesForPresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Activate assignment.
| int | $a_obj_id | |
| array | $a_item_ids |
Definition at line 142 of file class.ilLPCollections.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilLPListOfSettingsGUI\assign(), and createNewGrouping().
Here is the caller graph for this function:| ilLPCollections::add | ( | $item_id | ) |
Definition at line 78 of file class.ilLPCollections.php.
References $query, $res, __read(), and getObjId().
Here is the call graph for this function:| ilLPCollections::cloneCollections | ( | $a_target_id, | |
| $a_copy_id | |||
| ) |
Clone collections.
public
Definition at line 40 of file class.ilLPCollections.php.
References $ilLog, ilCopyWizardOptions\_getInstance(), and ilLPCollections().
Here is the call graph for this function:
|
static |
Create new grouping ilDB.
Definition at line 211 of file class.ilLPCollections.php.
References $query, $res, $row, activate(), DB_FETCHMODE_OBJECT, and releaseGrouping().
Referenced by ilLPListOfSettingsGUI\groupMaterials().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Deactivate assignments.
Definition at line 106 of file class.ilLPCollections.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilLPListOfSettingsGUI\deassign().
Here is the caller graph for this function:| ilLPCollections::delete | ( | $item_id | ) |
Definition at line 394 of file class.ilLPCollections.php.
References $query, $res, and __read().
Here is the call graph for this function:| ilLPCollections::deleteAll | ( | ) |
Definition at line 516 of file class.ilLPCollections.php.
References _deleteAll(), and getObjId().
Referenced by ilConditionHandlerInterface\assign().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get groped items.
| int | $a_obj_id |
Definition at line 538 of file class.ilLPCollections.php.
References $items, $query, $res, $row, _getItems(), and DB_FETCHMODE_OBJECT.
Here is the call graph for this function:| ilLPCollections::getItems | ( | ) |
Definition at line 68 of file class.ilLPCollections.php.
References $items.
| ilLPCollections::getObjId | ( | ) |
Definition at line 63 of file class.ilLPCollections.php.
References $obj_id.
Referenced by __read(), add(), and deleteAll().
Here is the caller graph for this function:
|
static |
Check if there is any grouped material assigned.
ilDB $ilDB
| int | $a_obj_id |
Definition at line 345 of file class.ilLPCollections.php.
Referenced by ilLPCollectionSettingsTableGUI\initTable().
Here is the caller graph for this function:| ilLPCollections::ilLPCollections | ( | $a_obj_id | ) |
Definition at line 22 of file class.ilLPCollections.php.
References __read().
Referenced by cloneCollections().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLPCollections::isAssigned | ( | $a_ref_id | ) |
Definition at line 73 of file class.ilLPCollections.php.
|
static |
Lookup grouped items ilDB $ilDB.
| int | $a_obj_id | |
| int | $item_id |
Definition at line 363 of file class.ilLPCollections.php.
References $items, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilLPCollectionSettingsTableGUI\parseCollection().
Here is the caller graph for this function:
|
static |
Release grouping of materials.
| int | obj_id | |
| array | $a_ids |
Definition at line 311 of file class.ilLPCollections.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by createNewGrouping(), and ilLPListOfSettingsGUI\releaseMaterials().
Here is the caller graph for this function:
|
static |
| <type> | $a_obj_id | |
| array | $a_obl | throws UnexpectedValueException |
Definition at line 277 of file class.ilLPCollections.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
| ilLPCollections::$db = null |
Definition at line 17 of file class.ilLPCollections.php.
| ilLPCollections::$items = array() |
Definition at line 20 of file class.ilLPCollections.php.
Referenced by _getItems(), _getPossibleSAHSItems(), getGroupedItems(), getItems(), and lookupGroupedItems().
| ilLPCollections::$obj_id = null |
Definition at line 19 of file class.ilLPCollections.php.
Referenced by getObjId().