|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
class ilCourseObjectiveMaterials More...
Collaboration diagram for ilCourseObjectiveMaterials:Public Member Functions | |
| __construct ($a_objective_id) | |
| cloneDependencies ($a_new_objective, $a_copy_id) | |
| clone objective materials More... | |
| getMaterials () | |
| getChapters () | |
| getLM ($lm_id) | |
| getObjectiveId () | |
| setLMRefId ($a_ref_id) | |
| getLMRefId () | |
| setLMObjId ($a_obj_id) | |
| getLMObjId () | |
| setType ($a_type) | |
| getType () | |
| isAssigned ($a_ref_id, $a_get_id=false) | |
| Check if material is assigned. More... | |
| isChapterAssigned ($a_ref_id, $a_obj_id) | |
| Check if chapter is assigned. More... | |
| checkExists () | |
| add () | |
| delete ($lm_id) | |
| deleteAll () | |
| writePosition ($a_ass_id, $a_position) | |
| write position More... | |
| __read () | |
| toXml (ilXmlWriter $writer) | |
Static Public Member Functions | |
| static | _getAssignedMaterials ($a_objective_id) |
| get assigned materials More... | |
| static | _getAssignableMaterials ($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 ($a_container_id) |
| Get all assigned materials. More... | |
Data Fields | |
| $db = null | |
| $objective_id = null | |
| $lms | |
class ilCourseObjectiveMaterials
Definition at line 33 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::__construct | ( | $a_objective_id | ) |
| ilCourseObjectiveMaterials::__read | ( | ) |
Definition at line 431 of file class.ilCourseObjectiveMaterials.php.
References $ilDB, $query, $res, $row, ilObject\_getAllReferences(), ilCourseObjective\_lookupContainerIdByObjectiveId(), ilDBConstants\FETCHMODE_OBJECT, and getObjectiveId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all assigned materials.
@access public
| in |
Definition at line 216 of file class.ilCourseObjectiveMaterials.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Get an array of course material ids that can be assigned to learning objectives No tst, fold and grp.
@access public
| int | obj id of course |
Definition at line 167 of file class.ilCourseObjectiveMaterials.php.
References $ilDB, ilObject\_lookupObjId(), ilLOTestAssignments\getInstance(), ilUtil\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 |
get assigned materials
@access public
| int | objective_id |
Definition at line 141 of file class.ilCourseObjectiveMaterials.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilContainerObjectiveGUI\buildObjectiveMap(), and ilObjectActivation\getItemsByObjective().
Here is the caller graph for this function:| ilCourseObjectiveMaterials::add | ( | ) |
Definition at line 365 of file class.ilCourseObjectiveMaterials.php.
References $ilDB, $query, $res, getLMObjId(), getLMRefId(), getObjectiveId(), and getType().
Here is the call graph for this function:| ilCourseObjectiveMaterials::checkExists | ( | ) |
Definition at line 342 of file class.ilCourseObjectiveMaterials.php.
References $ilDB, $query, $res, getLMObjId(), getLMRefId(), and getObjectiveId().
Here is the call graph for this function:| ilCourseObjectiveMaterials::cloneDependencies | ( | $a_new_objective, | |
| $a_copy_id | |||
| ) |
clone objective materials
@access public
| int | source objective |
| int | target objective |
| int | copy id |
Definition at line 60 of file class.ilCourseObjectiveMaterials.php.
References $ilLog, ilCopyWizardOptions\_getInstance(), and getMaterials().
Here is the call graph for this function:| ilCourseObjectiveMaterials::delete | ( | $lm_id | ) |
Definition at line 382 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::deleteAll | ( | ) |
Definition at line 398 of file class.ilCourseObjectiveMaterials.php.
References $ilDB, $query, $res, and getObjectiveId().
Here is the call graph for this function:| ilCourseObjectiveMaterials::getChapters | ( | ) |
Definition at line 240 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::getLM | ( | $lm_id | ) |
Definition at line 256 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::getLMObjId | ( | ) |
Definition at line 278 of file class.ilCourseObjectiveMaterials.php.
Referenced by add(), and checkExists().
Here is the caller graph for this function:| ilCourseObjectiveMaterials::getLMRefId | ( | ) |
Definition at line 270 of file class.ilCourseObjectiveMaterials.php.
Referenced by add(), and checkExists().
Here is the caller graph for this function:| ilCourseObjectiveMaterials::getMaterials | ( | ) |
Definition at line 235 of file class.ilCourseObjectiveMaterials.php.
Referenced by cloneDependencies(), and toXml().
Here is the caller graph for this function:| ilCourseObjectiveMaterials::getObjectiveId | ( | ) |
Definition at line 261 of file class.ilCourseObjectiveMaterials.php.
References $objective_id.
Referenced by __read(), add(), checkExists(), deleteAll(), isAssigned(), isChapterAssigned(), and writePosition().
Here is the caller graph for this function:| ilCourseObjectiveMaterials::getType | ( | ) |
Definition at line 286 of file class.ilCourseObjectiveMaterials.php.
Referenced by add().
Here is the caller graph for this function:| ilCourseObjectiveMaterials::isAssigned | ( | $a_ref_id, | |
$a_get_id = false |
|||
| ) |
Check if material is assigned.
@access public
| int | ref id |
Definition at line 299 of file class.ilCourseObjectiveMaterials.php.
References $ilDB, $query, $res, $row, and getObjectiveId().
Here is the call graph for this function:| ilCourseObjectiveMaterials::isChapterAssigned | ( | $a_ref_id, | |
| $a_obj_id | |||
| ) |
Check if chapter is assigned.
@access public
| int | ref id |
Definition at line 330 of file class.ilCourseObjectiveMaterials.php.
References $ilDB, $query, $res, and getObjectiveId().
Here is the call graph for this function:| ilCourseObjectiveMaterials::setLMObjId | ( | $a_obj_id | ) |
Definition at line 274 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::setLMRefId | ( | $a_ref_id | ) |
Definition at line 266 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::setType | ( | $a_type | ) |
Definition at line 282 of file class.ilCourseObjectiveMaterials.php.
References $a_type.
| ilCourseObjectiveMaterials::toXml | ( | ilXmlWriter | $writer | ) |
| ilXmlWriter | $writer |
Definition at line 477 of file class.ilCourseObjectiveMaterials.php.
References getMaterials(), and ilXmlWriter\xmlElement().
Here is the call graph for this function:| ilCourseObjectiveMaterials::writePosition | ( | $a_ass_id, | |
| $a_position | |||
| ) |
write position
@access public
| int | new position |
Definition at line 417 of file class.ilCourseObjectiveMaterials.php.
References $ilDB, $query, $res, and getObjectiveId().
Here is the call graph for this function:| ilCourseObjectiveMaterials::$db = null |
Definition at line 35 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::$lms |
Definition at line 38 of file class.ilCourseObjectiveMaterials.php.
| ilCourseObjectiveMaterials::$objective_id = null |
Definition at line 37 of file class.ilCourseObjectiveMaterials.php.
Referenced by getObjectiveId().