ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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
return
array
(
20
ilLPObjSettings::LP_MODE_DEACTIVATED
21
);
22
}
else
{
23
return
array
(
24
ilLPObjSettings::LP_MODE_DEACTIVATED
,
25
ilLPObjSettings::LP_MODE_MANUAL
26
);
27
}
28
}
29
30
public
function
getDefaultMode
()
31
{
32
return
ilLPObjSettings::LP_MODE_MANUAL
;
33
}
34
35
public
function
getValidModes
()
36
{
37
return
array
(
38
ilLPObjSettings::LP_MODE_DEACTIVATED
,
39
ilLPObjSettings::LP_MODE_MANUAL
40
);
41
}
42
}
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:35
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
ilHTMLLearningModuleLP\getDefaultMode
getDefaultMode()
Definition:
class.ilHTMLLearningModuleLP.php:30
Modules
HTMLLearningModule
classes
class.ilHTMLLearningModuleLP.php
Generated on Sat Jan 18 2025 19:01:17 for ILIAS by
1.8.13 (using
Doxyfile
)