|
ILIAS
release_8 Revision v8.24
|
class ilCourseObjectiveMaterials More...
Collaboration diagram for ilCourseObjectiveMaterials:Public Member Functions | |
| __construct (int $a_objective_id=0) | |
| cloneDependencies (int $a_new_objective, int $a_copy_id) | |
| getMaterials () | |
| getChapters () | |
| getLM (int $lm_id) | |
| getObjectiveId () | |
| setLMRefId (int $a_ref_id) | |
| getLMRefId () | |
| setLMObjId (int $a_obj_id) | |
| getLMObjId () | |
| setType (string $a_type) | |
| getType () | |
| isAssigned (int $a_ref_id, bool $a_get_id=false) | |
| isChapterAssigned (int $a_ref_id, int $a_obj_id) | |
| checkExists () | |
| add () | |
| deleteMaterial (int $ref_id, int $obj_id) | |
| isMaterialAssigned (int $ref_id, int $obj_id) | |
| delete (int $lm_id) | |
| deleteAll () | |
| writePosition (int $a_ass_id, int $a_position) | |
| __read () | |
| toXml (ilXmlWriter $writer) | |
Static Public Member Functions | |
| static | _getAssignedMaterials (int $a_objective_id) |
| static | _getAssignableMaterials (int $a_container_id) |
| Get an array of course material ids that can be assigned to learning objectives No tst, fold and grp. More... | |
| static | _getAllAssignedMaterials (int $a_container_id) |
Protected Attributes | |
| ilLogger | $logger |
| ilDBInterface | $db |
| ilObjectDataCache | $objectDataCache |
| ilTree | $tree |
Private Attributes | |
| int | $objective_id = 0 |
| array | $lms = [] |
| int | $lm_ref_id = 0 |
| int | $lm_obj_id = 0 |
| string | $type = '' |
class ilCourseObjectiveMaterials
Definition at line 25 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::__construct | ( | int | $a_objective_id = 0 | ) |
Definition at line 38 of file class.ilCourseObjectiveMaterials.php.
References $DIC, __read(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilCourseObjectiveMaterials::__read | ( | ) |
Definition at line 346 of file class.ilCourseObjectiveMaterials.php.
References $query, $res, ilLMObject\_exists(), ilObject\_getAllReferences(), ilCourseObjective\_lookupContainerIdByObjectiveId(), ilDBConstants\FETCHMODE_OBJECT, getObjectiveId(), and ILIAS\Repository\int().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 151 of file class.ilCourseObjectiveMaterials.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Get an array of course material ids that can be assigned to learning objectives No tst, fold and grp.
Definition at line 112 of file class.ilCourseObjectiveMaterials.php.
References $DIC, $tree, $type, ilObject\_lookupObjId(), ilLOTestAssignments\getInstance(), ilTree\getNodeData(), ilTree\getSubTree(), ilArrayUtil\sortArray(), and ilLOSettings\TYPE_TEST_UNDEFINED.
Referenced by ilCourseObjectivesGUI\materialAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 93 of file class.ilCourseObjectiveMaterials.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by ilContainerObjectiveGUI\buildObjectiveMap(), and ilObjectActivation\getItemsByObjective().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseObjectiveMaterials::add | ( | ) |
Definition at line 282 of file class.ilCourseObjectiveMaterials.php.
References $query, $res, getLMObjId(), getLMRefId(), getObjectiveId(), and getType().
Here is the call graph for this function:| ilCourseObjectiveMaterials::checkExists | ( | ) |
Definition at line 265 of file class.ilCourseObjectiveMaterials.php.
References $query, $res, getLMObjId(), getLMRefId(), and getObjectiveId().
Here is the call graph for this function:| ilCourseObjectiveMaterials::cloneDependencies | ( | int | $a_new_objective, |
| int | $a_copy_id | ||
| ) |
Definition at line 50 of file class.ilCourseObjectiveMaterials.php.
References ilCopyWizardOptions\_getInstance(), getMaterials(), ILIAS\Repository\int(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilCourseObjectiveMaterials::delete | ( | int | $lm_id | ) |
Definition at line 317 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::deleteAll | ( | ) |
Definition at line 329 of file class.ilCourseObjectiveMaterials.php.
References $query, $res, and getObjectiveId().
Here is the call graph for this function:| ilCourseObjectiveMaterials::deleteMaterial | ( | int | $ref_id, |
| int | $obj_id | ||
| ) |
Definition at line 297 of file class.ilCourseObjectiveMaterials.php.
References $query, $ref_id, and getObjectiveId().
Here is the call graph for this function:| ilCourseObjectiveMaterials::getChapters | ( | ) |
Definition at line 176 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::getLM | ( | int | $lm_id | ) |
Definition at line 190 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::getLMObjId | ( | ) |
Definition at line 219 of file class.ilCourseObjectiveMaterials.php.
References $lm_obj_id.
Referenced by add(), and checkExists().
Here is the caller graph for this function:| ilCourseObjectiveMaterials::getLMRefId | ( | ) |
Definition at line 209 of file class.ilCourseObjectiveMaterials.php.
References $lm_ref_id.
Referenced by add(), and checkExists().
Here is the caller graph for this function:| ilCourseObjectiveMaterials::getMaterials | ( | ) |
Definition at line 171 of file class.ilCourseObjectiveMaterials.php.
References $lms.
Referenced by cloneDependencies(), and toXml().
Here is the caller graph for this function:| ilCourseObjectiveMaterials::getObjectiveId | ( | ) |
Definition at line 199 of file class.ilCourseObjectiveMaterials.php.
References $objective_id.
Referenced by __read(), add(), checkExists(), deleteAll(), deleteMaterial(), isAssigned(), isChapterAssigned(), isMaterialAssigned(), and writePosition().
Here is the caller graph for this function:| ilCourseObjectiveMaterials::getType | ( | ) |
Definition at line 229 of file class.ilCourseObjectiveMaterials.php.
References $type.
Referenced by add().
Here is the caller graph for this function:| ilCourseObjectiveMaterials::isAssigned | ( | int | $a_ref_id, |
| bool | $a_get_id = false |
||
| ) |
Definition at line 237 of file class.ilCourseObjectiveMaterials.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, and getObjectiveId().
Here is the call graph for this function:| ilCourseObjectiveMaterials::isChapterAssigned | ( | int | $a_ref_id, |
| int | $a_obj_id | ||
| ) |
Definition at line 254 of file class.ilCourseObjectiveMaterials.php.
References $query, $res, and getObjectiveId().
Here is the call graph for this function:| ilCourseObjectiveMaterials::isMaterialAssigned | ( | int | $ref_id, |
| int | $obj_id | ||
| ) |
Definition at line 307 of file class.ilCourseObjectiveMaterials.php.
References $query, $ref_id, $res, and getObjectiveId().
Here is the call graph for this function:| ilCourseObjectiveMaterials::setLMObjId | ( | int | $a_obj_id | ) |
Definition at line 214 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::setLMRefId | ( | int | $a_ref_id | ) |
Definition at line 204 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::setType | ( | string | $a_type | ) |
Definition at line 224 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::toXml | ( | ilXmlWriter | $writer | ) |
Definition at line 385 of file class.ilCourseObjectiveMaterials.php.
References getMaterials(), and ilXmlWriter\xmlElement().
Here is the call graph for this function:| ilCourseObjectiveMaterials::writePosition | ( | int | $a_ass_id, |
| int | $a_position | ||
| ) |
Definition at line 337 of file class.ilCourseObjectiveMaterials.php.
References $query, and getObjectiveId().
Here is the call graph for this function:
|
protected |
Definition at line 34 of file class.ilCourseObjectiveMaterials.php.
|
private |
Definition at line 30 of file class.ilCourseObjectiveMaterials.php.
Referenced by getLMObjId().
|
private |
Definition at line 29 of file class.ilCourseObjectiveMaterials.php.
Referenced by getLMRefId().
|
private |
Definition at line 28 of file class.ilCourseObjectiveMaterials.php.
Referenced by getMaterials().
|
protected |
Definition at line 33 of file class.ilCourseObjectiveMaterials.php.
|
protected |
Definition at line 35 of file class.ilCourseObjectiveMaterials.php.
|
private |
Definition at line 27 of file class.ilCourseObjectiveMaterials.php.
Referenced by getObjectiveId().
|
protected |
Definition at line 36 of file class.ilCourseObjectiveMaterials.php.
Referenced by _getAssignableMaterials().
|
private |
Definition at line 31 of file class.ilCourseObjectiveMaterials.php.
Referenced by _getAssignableMaterials(), and getType().