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';
39 $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 69 of file class.ilPluginLP.php.
References $DIC, $location, $type, and ilObject\_lookupType().
72 $objDefinition = $DIC[
'objDefinition'];
79 $class_name =
"ilObj" . $objDefinition->getClassName(
$type);
80 include_once
$location .
"/class." . $class_name .
".php";
83 if (method_exists($class_name,
"isLPMember")) {
84 $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: