74 if ($this->status !==
null) {
80 protected static function isLPMember(array &
$res,
int $usr_id, array $obj_ids): bool
83 $objDefinition =
$DIC[
'objDefinition'];
86 $type = array_shift($type);
89 $location = $objDefinition->getLocation($type);
90 $class_name =
"ilObj" . $objDefinition->getClassName($type);
91 include_once
$location .
"/class." . $class_name .
".php";
94 if (method_exists($class_name,
"isLPMember")) {
95 return $class_name::isLPMember(
$res, $usr_id, $obj_ids);
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
Base class for object lp connectors.
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)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc