54 protected static function isLPMember(array &$a_res,
int $a_usr_id, array $a_obj_ids): bool
60 $set =
$ilDB->query(
"SELECT obj_id" .
62 " WHERE " .
$ilDB->in(
"obj_id", $a_obj_ids,
"",
"integer") .
63 " AND usr_id = " .
$ilDB->quote($a_usr_id,
"integer"));
64 while ($row =
$ilDB->fetchAssoc($set)) {
65 $a_res[$row[
"obj_id"]] =
true;
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getDefaultModes(bool $a_lp_active)
static isLPMember(array &$a_res, int $a_usr_id, array $a_obj_ids)
Find (lp-relevant) members for given object ids.
const LP_MODE_DEACTIVATED
const LP_MODE_EXERCISE_RETURNED
Base class for object lp connectors.