ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilStudyProgrammeLP Class Reference

Class ilObjStudyProgramme. More...

+ Inheritance diagram for ilStudyProgrammeLP:
+ Collaboration diagram for ilStudyProgrammeLP:

Public Member Functions

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

Static Public Member Functions

static getDefaultModes ($a_lp_active)
 
- Static Public Member Functions inherited from ilObjectLP
static getInstance ($a_obj_id)
 
static getTypeClass ($a_type)
 
static isSupportedObjectType ($a_type)
 
static handleMove ($a_source_ref_id)
 
static getLPMemberships ($a_usr_id, array $a_obj_ids, $a_parent_ref_id=null, $a_mapped_ref_ids=false)
 Get all objects where given user is member (from LP POV) More...
 
static supportsSpentSeconds ($a_obj_type)
 
static supportsMark ($a_obj_type)
 
static supportsMatrixView ($a_obj_type)
 
static getDefaultModes ($a_lp_active)
 Get available type-specific default modes (no administration needed) More...
 
static saveTypeDefaults (array $a_data)
 
static getTypeDefault ($a_type)
 Get current type default. More...
 

Protected Attributes

 $prg = null
 
- Protected Attributes inherited from ilObjectLP
 $tree
 
 $db
 
 $obj_id
 
 $collection_instance
 
 $mode
 

Additional Inherited Members

- Protected Member Functions inherited from ilObjectLP
 __construct ($a_obj_id)
 
 resetCustomLPDataForUserIds (array $a_user_ids, $a_recursive=true)
 
 gatherLPUsers ()
 
 updateParentCollections ()
 
- Static Protected Member Functions inherited from ilObjectLP
static isLPMember (array &$a_res, $a_usr_id, $a_obj_ids)
 Find (lp-relevant) members for given object ids. More...
 
static findMembershipsByPath (array &$a_res, $a_usr_id, $a_parent_ref_id, array $a_obj_ids, $a_mapped_ref_ids=false)
 Find (lp-relevant) memberships by path. More...
 
static getTypeDefaultFromDB ($a_type)
 
- Static Protected Attributes inherited from ilObjectLP
static $type_defaults
 

Detailed Description

Member Function Documentation

◆ getDefaultMode()

ilStudyProgrammeLP::getDefaultMode ( )

◆ getDefaultModes()

static ilStudyProgrammeLP::getDefaultModes (   $a_lp_active)
static

Definition at line 19 of file class.ilStudyProgrammeLP.php.

References ilLPObjSettings\LP_MODE_DEACTIVATED.

20  {
21  return array(
23  );
24  }

◆ getMembers()

ilStudyProgrammeLP::getMembers (   $a_search = true)

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

39  {
40  if ($this->prg === null) {
41  require_once("Modules/StudyProgramme/classes/class.ilObjStudyProgramme.php");
42  $this->prg = new ilObjStudyProgramme($this->obj_id, false);
43  }
44  return $this->prg->getIdsOfUsersWithRelevantProgress();
45  }
Class ilObjStudyProgramme.

◆ getValidModes()

ilStudyProgrammeLP::getValidModes ( )

Field Documentation

◆ $prg

ilStudyProgrammeLP::$prg = null
protected

Definition at line 17 of file class.ilStudyProgrammeLP.php.


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