34    protected static function isLPMember(array &$a_res, $a_usr_id, $a_obj_ids)
 
   40        $set = 
$ilDB->query(
"SELECT obj_id" .
 
   42            " WHERE " . 
$ilDB->in(
"obj_id", $a_obj_ids, 
"", 
"integer") .
 
   43            " AND usr_id = " . 
$ilDB->quote($a_usr_id, 
"integer"));
 
   44        while ($row = 
$ilDB->fetchAssoc($set)) {
 
   45            $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