Definition at line 14 of file class.ilPluginLP.php.
◆ __construct()
ilPluginLP::__construct |
( |
|
$a_obj_id | ) |
|
|
protected |
◆ getCurrentMode()
ilPluginLP::getCurrentMode |
( |
| ) |
|
◆ getDefaultMode()
ilPluginLP::getDefaultMode |
( |
| ) |
|
◆ getPluginInstance()
ilPluginLP::getPluginInstance |
( |
| ) |
|
◆ getValidModes()
ilPluginLP::getValidModes |
( |
| ) |
|
◆ initPlugin()
ilPluginLP::initPlugin |
( |
| ) |
|
|
protected |
Definition at line 27 of file class.ilPluginLP.php.
References ilObject\_lookupType(), ilObjectFactory\getInstanceByObjId(), and ilRepositoryObjectPluginSlot\isTypePluginWithLP().
Referenced by __construct().
30 include_once
'Services/Repository/classes/class.ilRepositoryObjectPluginSlot.php';
42 $this->status = self::INACTIVE_PLUGIN;
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.
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
◆ isLPMember()
static ilPluginLP::isLPMember |
( |
array & |
$a_res, |
|
|
|
$a_usr_id, |
|
|
|
$a_obj_ids |
|
) |
| |
|
staticprotected |
Definition at line 73 of file class.ilPluginLP.php.
References $location, and ilObject\_lookupType().
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);
static _lookupType($a_id, $a_reference=false)
lookup object type
◆ $status
◆ INACTIVE_PLUGIN
const ilPluginLP::INACTIVE_PLUGIN = -1 |
The documentation for this class was generated from the following file: