ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilSCORM2004PageConfig.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5include_once("./Services/COPage/classes/class.ilPageConfig.php");
6
15{
19 function init()
20 {
21 $this->setEnablePCType("Map", false);
22 $this->setEnablePCType("QuestionOverview", true);
23 $this->setPreventHTMLUnmasking(false);
24 $this->setEnableInternalLinks(true);
25 $this->setEnableSelfAssessment(true);
26
27 $this->setIntLinkFilterWhiteList(true);
28 $this->addIntLinkFilter(array("File"));
29 $this->setIntLinkHelpDefaultType("File");
30 }
31
37 function configureByObjectId($a_obj_id)
38 {
39 if ($a_obj_id > 0)
40 {
41 include_once("./Modules/ScormAicc/classes/class.ilObjSAHSLearningModule.php");
45 if ($glo_id > 0)
46 {
47 $this->addIntLinkFilter(array("GlossaryItem"));
48 }
49 }
50 }
51
52}
53
54?>
getAffectiveLocalization($a_id)
Get affective localization.
static lookupAssignedGlossary($a_slm_id)
Get SCORM modules that assign a certain glossary.
Config class for page editing.
setPreventHTMLUnmasking($a_preventhtmlunmasking)
Set Prevent HTML Unmasking (true/false).
setEnableSelfAssessment($a_enabledselfassessment, $a_scorm=true)
Set Enable Self Assessment Questions.
addIntLinkFilter($a_val)
Add internal links filter.
setEnableInternalLinks($a_enabledinternallinks)
Set Enable internal links.
setLocalizationLanguage($a_val)
Set localizazion language.
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
setIntLinkFilterWhiteList($a_white_list)
Set internal links filter type list to white list.
setIntLinkHelpDefaultType($a_val)
Set internal link default type.
SCORM 2004 page configuration.
configureByObjectId($a_obj_id)
Object specific configuration.