ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
ilCourseLP Class Reference
+ Inheritance diagram for ilCourseLP:
+ Collaboration diagram for ilCourseLP:

Public Member Functions

 getDefaultMode ()
 
 getValidModes ()
 
 getCurrentMode ()
 
 getMembers ($a_search=true)
 
- Public Member Functions inherited from ilObjectLP
 resetCaches ()
 
 isAnonymized ()
 
 getDefaultMode ()
 
 getValidModes ()
 
 getCurrentMode ()
 
 isActive ()
 
 getModeText ($a_mode)
 
 getModeInfoText ($a_mode)
 
 getCollectionInstance ()
 
 getMembers ($a_search=true)
 
 resetLPDataForCompleteObject ($a_recursive=true)
 
 resetLPDataForUserIds (array $a_user_ids, $a_recursive=true)
 
 handleToTrash ()
 
 handleDelete ()
 

Protected Member Functions

 checkObjectives ()
 
- Protected Member Functions inherited from ilObjectLP
 __construct ($a_obj_id)
 
 resetCustomLPDataForUserIds (array $a_user_ids, $a_recursive=true)
 
 gatherLPUsers ()
 
 updateParentCollections ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ilObjectLP
static getInstance ($a_obj_id)
 
static isSupportedObjectType ($a_type)
 
static handleMove ($a_source_ref_id)
 
- Protected Attributes inherited from ilObjectLP
 $obj_id
 
 $collection_instance
 
 $mode
 

Detailed Description

Definition at line 14 of file class.ilCourseLP.php.

Member Function Documentation

◆ checkObjectives()

ilCourseLP::checkObjectives ( )
protected

Definition at line 47 of file class.ilCourseLP.php.

References ilObjCourse\_lookupViewMode(), and IL_CRS_VIEW_OBJECTIVE.

Referenced by getCurrentMode(), getDefaultMode(), and getValidModes().

48  {
49  include_once "Modules/Course/classes/class.ilObjCourse.php";
51  {
52  return true;
53  }
54  return false;
55  }
const IL_CRS_VIEW_OBJECTIVE
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCurrentMode()

ilCourseLP::getCurrentMode ( )

Definition at line 38 of file class.ilCourseLP.php.

References checkObjectives(), and ilLPObjSettings\LP_MODE_OBJECTIVES.

39  {
40  if($this->checkObjectives())
41  {
43  }
44  return parent::getCurrentMode();
45  }
+ Here is the call graph for this function:

◆ getDefaultMode()

ilCourseLP::getDefaultMode ( )

Definition at line 16 of file class.ilCourseLP.php.

References checkObjectives(), ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, and ilLPObjSettings\LP_MODE_OBJECTIVES.

17  {
18  if($this->checkObjectives())
19  {
21  }
23  }
+ Here is the call graph for this function:

◆ getMembers()

ilCourseLP::getMembers (   $a_search = true)

Definition at line 57 of file class.ilCourseLP.php.

References ilCourseParticipants\_getInstanceByObjId().

58  {
59  include_once "Modules/Course/classes/class.ilCourseParticipants.php";
60  $member_obj = ilCourseParticipants::_getInstanceByObjId($this->obj_id);
61  return $member_obj->getMembers();
62  }
static _getInstanceByObjId($a_obj_id)
Get singleton instance.
+ Here is the call graph for this function:

◆ getValidModes()


The documentation for this class was generated from the following file: