5include_once
"Services/Object/classes/class.ilObjectLP.php";
37 protected static function isLPMember(array &$a_res, $a_usr_id, $a_obj_ids)
43 $set =
$ilDB->query(
"SELECT obj_id" .
45 " WHERE " .
$ilDB->in(
"obj_id", $a_obj_ids,
"",
"integer") .
46 " AND usr_id = " .
$ilDB->quote($a_usr_id,
"integer"));
48 $a_res[
$row[
"obj_id"]] =
true;
An exception for terminatinating execution or to throw for unit testing.
static isLPMember(array &$a_res, $a_usr_id, $a_obj_ids)
Find (lp-relevant) members for given object ids.
static getDefaultModes($a_lp_active)
Get available type-specific default modes (no administration needed)
const LP_MODE_DEACTIVATED
const LP_MODE_EXERCISE_RETURNED