19include_once
"Services/Object/classes/class.ilObjectLP.php";
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);
$location
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _lookupType(int $id, bool $reference=false)
static isLPMember(array &$res, int $usr_id, array $obj_ids)
Find (lp-relevant) members for given object ids.
static isTypePluginWithLP(string $a_type, bool $a_active_status=true)
Interface for plugin classes that want to support Learning Progress.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc