ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilPortfolioPageConfig Class Reference

Portfolio page configuration. More...

+ Inheritance diagram for ilPortfolioPageConfig:
+ Collaboration diagram for ilPortfolioPageConfig:

Public Member Functions

 init ()
 Init. More...
 
- Public Member Functions inherited from ilPageConfig
 __construct ()
 Constructor. More...
 
 init ()
 Init. More...
 
 setEnablePCType ($a_pc_type, $a_val)
 Set enable pc type. More...
 
 getEnablePCType ($a_pc_type)
 Get enable pc type. More...
 
 setEnableKeywords ($a_val)
 Set enable keywords handling. More...
 
 getEnableKeywords ()
 Get enable keywords handling. More...
 
 setEnableAnchors ($a_val)
 Set enable anchors. More...
 
 getEnableAnchors ()
 Get enable anchors. More...
 
 setEnableInternalLinks ($a_enabledinternallinks)
 Set Enable internal links. More...
 
 getEnableInternalLinks ()
 Get Enable internal links. More...
 
 setEnableUserLinks ($a_val)
 Set enable user links. More...
 
 getEnableUserLinks ()
 Get enable user links. More...
 
 setEnableWikiLinks ($a_enablewikilinks)
 Set Enable Wiki Links. More...
 
 getEnableWikiLinks ()
 Get Enable Wiki Links. More...
 
 addIntLinkFilter ($a_val)
 Add internal links filter. More...
 
 removeIntLinkFilter ($a_val)
 Remove int link filter. More...
 
 getIntLinkFilters ()
 Get internal links filter. More...
 
 setIntLinkFilterWhiteList ($a_white_list)
 Set internal links filter type list to white list. More...
 
 getIntLinkFilterWhiteList ()
 Get internal links filter type list to white list. More...
 
 setPreventRteUsage ($a_val)
 Set prevent rte usage. More...
 
 getPreventRteUsage ()
 Get prevent rte usage. More...
 
 setLocalizationLanguage ($a_val)
 Set localizazion language. More...
 
 getLocalizationLanguage ()
 Get localizazion language. More...
 
 setUseAttachedContent ($a_val)
 Set use attached content. More...
 
 getUseAttachedContent ()
 Get use attached content. More...
 
 setIntLinkHelpDefaultType ($a_val)
 Set internal link default type. More...
 
 getIntLinkHelpDefaultType ()
 Get internal link default type. More...
 
 setIntLinkHelpDefaultId ($a_val)
 Set internal link default id. More...
 
 getIntLinkHelpDefaultId ()
 Get internal link default id. More...
 
 setEnableActivation ($a_val)
 Set enabled actication. More...
 
 getEnableActivation ()
 Get enabled actication. More...
 
 setEnableScheduledActivation ($a_val)
 Set enable scheduled page activation. More...
 
 getEnableScheduledActivation ()
 Get enable scheduled page activation. More...
 
 setEnablePageToc ($a_val)
 Set enable page toc. More...
 
 getEnablePageToc ()
 Get enable page toc. More...
 
 setPreventHTMLUnmasking ($a_preventhtmlunmasking)
 Set Prevent HTML Unmasking (true/false). More...
 
 getPreventHTMLUnmasking ()
 Get Prevent HTML Unmasking (true/false). More...
 
 setEnableSelfAssessment ($a_enabledselfassessment, $a_scorm=true)
 Set Enable Self Assessment Questions. More...
 
 getEnableSelfAssessment ()
 Get Enable Self Assessment Questions. More...
 
 getEnableSelfAssessmentScorm ()
 Is self assessment used in SCORM mode? More...
 
 setDisableDefaultQuestionFeedback ($a_val)
 Set disable default question feedback. More...
 
 getDisableDefaultQuestionFeedback ()
 Get disable default question feedback. More...
 
 setMultiLangSupport ($a_val)
 Set multi language support. More...
 
 getMultiLangSupport ()
 Get multi language support. More...
 
 setSinglePageMode ($a_val)
 Set single page mode. More...
 
 getSinglePageMode ()
 Get single page mode. More...
 
 setQuestionHTML ($question_html)
 
 getQuestionHTML ()
 
 setUseStoredQuestionTries ($a_val)
 Set use stored answers/tries. More...
 
 getUseStoredQuestionTries ()
 Get use stored answers/tries. More...
 
 setEnablePermissionChecks ($a_val)
 Set enable permission checks. More...
 
 getEnablePermissionChecks ()
 Get enable permission checks. More...
 

Additional Inherited Members

- Protected Attributes inherited from ilPageConfig
 $int_link_filter = array("File")
 
 $prevent_rte_usage = false
 
 $use_attached_content = false
 
 $pc_defs = array()
 
 $pc_enabled = array()
 
 $enabledinternallinks = false
 
 $enable_keywords = false
 
 $enable_anchors = false
 
 $enablewikilinks = false
 
 $page_toc = false
 
 $activation = false
 
 $scheduled_activation = false
 
 $preventhtmlunmasking = false
 
 $enabledselfassessment = false
 
 $enabledselfassessment_scorm = false
 
 $int_link_def_type = ""
 
 $int_link_def_id = 0
 
 $multi_lang_support = false
 
 $single_page_mode = false
 
 $disable_default_qfeedback = false
 
 $question_html = array()
 
 $use_stored_tries = false
 
 $enable_user_links = false
 
 $enable_permission_checks = false
 

Detailed Description

Portfolio page configuration.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 14 of file class.ilPortfolioPageConfig.php.

Member Function Documentation

◆ init()

ilPortfolioPageConfig::init ( )

Init.

Definition at line 19 of file class.ilPortfolioPageConfig.php.

References $ilSetting, ilCalendarSettings\_getInstance(), ilPageConfig\setEnableInternalLinks(), ilPageConfig\setEnablePCType(), and ilPageConfig\setPreventHTMLUnmasking().

20  {
21  global $ilSetting, $rbacsystem;
22 
23  $prfa_set = new ilSetting("prfa");
24  $this->setPreventHTMLUnmasking(!(bool)$prfa_set->get("mask", false));
25 
26  $this->setEnableInternalLinks(false);
27  $this->setEnablePCType("Profile", true);
28 
29  if(!$ilSetting->get('disable_wsp_certificates'))
30  {
31  $this->setEnablePCType("Verification", true);
32  }
33  $skmg_set = new ilSetting("skmg");
34  if($skmg_set->get("enable_skmg"))
35  {
36  $this->setEnablePCType("Skills", true);
37  }
38 
39  include_once './Services/Calendar/classes/class.ilCalendarUserSettings.php';
41  if($settings->isEnabled() &&
42  $rbacsystem->checkAccess('add_consultation_hours', $settings->getCalendarSettingsId()) &&
43  $settings->areConsultationHoursEnabled())
44  {
45  $this->setEnablePCType("ConsultationHours", true);
46  }
47 
48  $prfa_set = new ilSetting("prfa");
49  if($prfa_set->get("mycrs", true))
50  {
51  $this->setEnablePCType("MyCourses", true);
52  }
53 
54  $mset = new ilSetting("mobs");
55  if ($mset->get("mep_activate_pages"))
56  {
57  $this->setEnablePCType("ContentInclude", true);
58  }
59  }
ILIAS Setting Class.
static _getInstance()
get singleton instance
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
setEnableInternalLinks($a_enabledinternallinks)
Set Enable internal links.
global $ilSetting
Definition: privfeed.php:17
setPreventHTMLUnmasking($a_preventhtmlunmasking)
Set Prevent HTML Unmasking (true/false).
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: