12 require_once(
"Services/Tracking/classes/class.ilLPStatus.php");
17 require_once(
"Modules/StudyProgramme/classes/interfaces/interface.ilStudyProgrammeLeaf.php");
18 require_once(
"Services/Object/classes/class.ilObject2.php");
22 public function __construct($a_id = 0, $a_call_by_reference =
true)
24 parent::__construct($a_id, $a_call_by_reference);
52 $ilAppEventHandler = $DIC[
'ilAppEventHandler'];
54 $ilAppEventHandler->raise(
"Services/Tracking",
"updateStatus", array(
55 "obj_id" => $this->
getId(),
56 "usr_id" => $a_user_id,
66 require_once(
"Modules/StudyProgramme/classes/class.ilObjectFactoryWrapper.php");
88 $this->events = array();
91 public function raise($a_component, $a_event, $a_parameters)
93 $this->events[] = array(
"component" => $a_component
95 ,
"parameters" => $a_parameters
const LP_STATUS_COMPLETED_NUM
The interface a class has to fullfill if it should be used as leaf in a program.
getInstanceByRefId($a_ref_id, $stop_on_error=true)
markCompletedFor($a_user_id)
__construct($a_id=0, $a_call_by_reference=true)
static _lookupType($a_id, $a_reference=false)
lookup object type
Class ilObjectFactoryWrapper.
Mock for ilAppEventHandler.
getId()
Get the ILIAS object id of the leaf.