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);
49 global $ilAppEventHandler;
51 $ilAppEventHandler->raise(
"Services/Tracking",
"updateStatus", array(
52 "obj_id" => $this->
getId(),
53 "usr_id" => $a_user_id,
63 require_once(
"Modules/StudyProgramme/classes/class.ilObjectFactoryWrapper.php");
85 $this->events = array();
88 public function raise($a_component, $a_event, $a_parameters)
90 $this->events[] = array(
"component" => $a_component
92 ,
"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.
Class ilObject2 This is an intermediate progress of ilObject class.
getInstanceByRefId($a_ref_id, $stop_on_error=true)
getId()
Get the ILIAS object id of the leaf.