ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilHTMLLearningModuleLP.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
ilHTMLLearningModuleLP
extends
ilObjectLP
15
{
16
public
static
function
getDefaultModes
($a_lp_active)
17
{
18
if
(!$a_lp_active)
19
{
20
return
array
(
21
ilLPObjSettings::LP_MODE_DEACTIVATED
22
);
23
}
24
else
25
{
26
return
array
(
27
ilLPObjSettings::LP_MODE_DEACTIVATED
,
28
ilLPObjSettings::LP_MODE_MANUAL
29
);
30
}
31
}
32
33
public
function
getDefaultMode
()
34
{
35
return
ilLPObjSettings::LP_MODE_MANUAL
;
36
}
37
38
public
function
getValidModes
()
39
{
40
return
array
(
41
ilLPObjSettings::LP_MODE_DEACTIVATED
,
42
ilLPObjSettings::LP_MODE_MANUAL
43
);
44
}
45
}
46
47
?>
ilObjectLP
Definition:
class.ilObjectLP.php:14
ilLPObjSettings\LP_MODE_MANUAL
const LP_MODE_MANUAL
Definition:
class.ilLPObjSettings.php:28
ilHTMLLearningModuleLP\getValidModes
getValidModes()
Definition:
class.ilHTMLLearningModuleLP.php:38
ilHTMLLearningModuleLP
Definition:
class.ilHTMLLearningModuleLP.php:14
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilLPObjSettings\LP_MODE_DEACTIVATED
const LP_MODE_DEACTIVATED
Definition:
class.ilLPObjSettings.php:25
ilHTMLLearningModuleLP\getDefaultModes
static getDefaultModes($a_lp_active)
Definition:
class.ilHTMLLearningModuleLP.php:16
php
ilHTMLLearningModuleLP\getDefaultMode
getDefaultMode()
Definition:
class.ilHTMLLearningModuleLP.php:33
Modules
HTMLLearningModule
classes
class.ilHTMLLearningModuleLP.php
Generated on Fri Jan 17 2025 19:00:59 for ILIAS by
1.8.13 (using
Doxyfile
)