19 include_once
"Services/Object/classes/class.ilObjectLP.php";
52 $this->status = self::INACTIVE_PLUGIN;
76 if ($this->status !== null) {
82 protected static function isLPMember(array &
$res,
int $usr_id, array $obj_ids): bool
85 $objDefinition = $DIC[
'objDefinition'];
92 $class_name =
"ilObj" . $objDefinition->getClassName(
$type);
93 include_once
$location .
"/class." . $class_name .
".php";
96 if (method_exists($class_name,
"isLPMember")) {
97 return $class_name::isLPMember($res, $usr_id, $obj_ids);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$location
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static isLPMember(array &$res, int $usr_id, array $obj_ids)
Interface for plugin classes that want to support Learning Progress.
static isTypePluginWithLP(string $a_type, bool $a_active_status=true)
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
__construct(Container $dic, ilPlugin $plugin)
static _lookupType(int $id, bool $reference=false)