5include_once 
"Services/Object/classes/class.ilObjectLP.php";
 
   22                parent::__construct($a_obj_id);
 
   30                include_once 
'Services/Repository/classes/class.ilRepositoryObjectPluginSlot.php';      
 
   66                if($this->status !== 
null)
 
   73        protected static function isLPMember(array &$a_res, $a_usr_id,  $a_obj_ids)
 
   75                global $objDefinition;
 
   78                $type = array_shift($type);
 
   81                $location = $objDefinition->getLocation($type);
 
   82                $class_name = 
"ilObj".$objDefinition->getClassName($type);
 
   83                include_once 
$location.
"/class.".$class_name.
".php";
 
   86                if(method_exists($class_name, 
"isLPMember"))
 
   88                        $class_name::isLPMember($a_res, $a_usr_id, $a_obj_ids);
 
An exception for terminatinating execution or to throw for unit testing.
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
static _lookupType($a_id, $a_reference=false)
lookup object type
static isLPMember(array &$a_res, $a_usr_id, $a_obj_ids)
Find (lp-relevant) members for given object ids.
static isTypePluginWithLP($a_type, $a_active_status=true)
Check whether a repository type is a plugin which has active learning progress.
Interface for plugin classes that want to support Learning Progress.