ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
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 
5 include_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 ?>
static lookupAssignedGlossary($a_slm_id)
Get SCORM modules that assign a certain glossary.
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
setEnableSelfAssessment($a_enabledselfassessment, $a_scorm=true)
Set Enable Self Assessment Questions.
setIntLinkHelpDefaultType($a_val)
Set internal link default type.
Config class for page editing.
setLocalizationLanguage($a_val)
Set localizazion language.
configureByObjectId($a_obj_id)
Object specific configuration.
setEnableInternalLinks($a_enabledinternallinks)
Set Enable internal links.
getAffectiveLocalization($a_id)
Get affective localization.
SCORM 2004 page configuration.
setPreventHTMLUnmasking($a_preventhtmlunmasking)
Set Prevent HTML Unmasking (true/false).
addIntLinkFilter($a_val)
Add internal links filter.
setIntLinkFilterWhiteList($a_white_list)
Set internal links filter type list to white list.