12require_once(
"Services/Tracking/classes/class.ilLPStatus.php");
17require_once(
"Modules/StudyProgramme/classes/interfaces/interface.ilStudyProgrammeLeaf.php");
18require_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,
63require_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
Mock for ilAppEventHandler.
const LP_STATUS_COMPLETED_NUM
Class ilObject2 This is an intermediate progress of ilObject class.
getInstanceByRefId($a_ref_id, $stop_on_error=true)
Class ilObjectFactoryWrapper.
getInstanceByRefId($a_ref_id, $stop_on_error=true)
static _lookupType($a_id, $a_reference=false)
lookup object type
__construct($a_id=0, $a_call_by_reference=true)
Constructor @access public.
markCompletedFor($a_user_id)
The interface a class has to fullfill if it should be used as leaf in a program.
getId()
Get the ILIAS object id of the leaf.