5 include_once
"Services/Object/classes/class.ilObjectLP.php";
22 parent::__construct($a_obj_id);
30 include_once
'Services/Repository/classes/class.ilRepositoryObjectPluginSlot.php';
42 $this->status = self::INACTIVE_PLUGIN;
66 if($this->status !== null)
75 global $objDefinition;
78 $type = array_shift($type);
81 $location = $objDefinition->getLocation($type);
82 $class_name =
"ilObj".$objDefinition->getClassName($type);
83 include_once
$location.
"/class.".$class_name.
".php";
86 if(method_exists($class_name,
"isLPMember"))
88 $class_name::isLPMember($a_res, $a_usr_id, $a_obj_ids);
static isTypePluginWithLP($a_type, $a_active_status=true)
Check whether a repository type is a plugin which has active learning progress.
Interface for plugin classes that want to support Learning Progress.
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
Create styles array
The data for the language used.
static _lookupType($a_id, $a_reference=false)
lookup object type
static isLPMember(array &$a_res, $a_usr_id, $a_obj_ids)