ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilLearningModuleLP.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once
"Services/Object/classes/class.ilObjectLP.php"
;
6
14
class
ilLearningModuleLP
extends
ilObjectLP
15
{
16
public
static
function
getDefaultModes
($a_lp_active)
17
{
18
if
(!$a_lp_active) {
19
return
array(
20
ilLPObjSettings::LP_MODE_DEACTIVATED
,
21
ilLPObjSettings::LP_MODE_QUESTIONS
,
22
ilLPObjSettings::LP_MODE_VISITED_PAGES
23
);
24
}
else
{
25
return
array(
26
ilLPObjSettings::LP_MODE_DEACTIVATED
,
27
ilLPObjSettings::LP_MODE_MANUAL
,
28
ilLPObjSettings::LP_MODE_QUESTIONS
,
29
ilLPObjSettings::LP_MODE_VISITED_PAGES
30
);
31
}
32
}
33
34
public
function
getDefaultMode
()
35
{
36
return
ilLPObjSettings::LP_MODE_MANUAL
;
37
}
38
39
public
function
getValidModes
()
40
{
41
return
array(
42
ilLPObjSettings::LP_MODE_DEACTIVATED
,
43
ilLPObjSettings::LP_MODE_MANUAL
,
44
ilLPObjSettings::LP_MODE_COLLECTION_MANUAL
,
45
ilLPObjSettings::LP_MODE_VISITS
,
46
ilLPObjSettings::LP_MODE_TLT
,
47
ilLPObjSettings::LP_MODE_COLLECTION_TLT
,
48
ilLPObjSettings::LP_MODE_QUESTIONS
,
49
ilLPObjSettings::LP_MODE_VISITED_PAGES
50
);
51
}
52
}
ilObjectLP
Definition:
class.ilObjectLP.php:14
ilLPObjSettings\LP_MODE_TLT
const LP_MODE_TLT
Definition:
class.ilLPObjSettings.php:26
ilLPObjSettings\LP_MODE_COLLECTION_MANUAL
const LP_MODE_COLLECTION_MANUAL
Definition:
class.ilLPObjSettings.php:41
ilLPObjSettings\LP_MODE_COLLECTION_TLT
const LP_MODE_COLLECTION_TLT
Definition:
class.ilLPObjSettings.php:40
ilLearningModuleLP
Definition:
class.ilLearningModuleLP.php:14
ilLPObjSettings\LP_MODE_MANUAL
const LP_MODE_MANUAL
Definition:
class.ilLPObjSettings.php:28
ilLPObjSettings\LP_MODE_VISITED_PAGES
const LP_MODE_VISITED_PAGES
Definition:
class.ilLPObjSettings.php:44
ilLPObjSettings\LP_MODE_VISITS
const LP_MODE_VISITS
Definition:
class.ilLPObjSettings.php:27
ilLearningModuleLP\getDefaultMode
getDefaultMode()
Definition:
class.ilLearningModuleLP.php:34
ilLPObjSettings\LP_MODE_QUESTIONS
const LP_MODE_QUESTIONS
Definition:
class.ilLPObjSettings.php:42
ilLPObjSettings\LP_MODE_DEACTIVATED
const LP_MODE_DEACTIVATED
Definition:
class.ilLPObjSettings.php:25
ilLearningModuleLP\getValidModes
getValidModes()
Definition:
class.ilLearningModuleLP.php:39
php
ilLearningModuleLP\getDefaultModes
static getDefaultModes($a_lp_active)
Definition:
class.ilLearningModuleLP.php:16
Modules
LearningModule
classes
class.ilLearningModuleLP.php
Generated on Thu Jan 30 2025 19:01:41 for ILIAS by
1.8.13 (using
Doxyfile
)