ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilPortfolioTemplatePageConfig Class Reference

Portfolio template page configuration. More...

+ Inheritance diagram for ilPortfolioTemplatePageConfig:
+ Collaboration diagram for ilPortfolioTemplatePageConfig:

Public Member Functions

 init ()
 
 getAvailablePlaceholderTypes ()
 
- Public Member Functions inherited from ilPortfolioPageConfig
 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...
 
 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, $a_is_ref=true)
 Set internal link default id. More...
 
 getIntLinkHelpDefaultId ()
 Get internal link default id. More...
 
 getIntLinkHelpDefaultIdIsRef ()
 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...
 
 setEditLockSupport ($a_val)
 
 getEditLockSupport ()
 

Additional Inherited Members

- Protected Attributes inherited from ilPortfolioPageConfig
 $settings
 
 $rbacsystem
 
- Protected Attributes inherited from ilPageConfig
 $lng
 
 $int_link_filter = array("File", "PortfolioPage", "PortfolioTemplatePage")
 
 $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
 
 $edit_lock_support = true
 
 $enable_permission_checks = false
 
 $adve_set
 
 $page_obj_key = ""
 

Detailed Description

Portfolio template page configuration.

Author
Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 13 of file class.ilPortfolioTemplatePageConfig.php.

Member Function Documentation

◆ getAvailablePlaceholderTypes()

ilPortfolioTemplatePageConfig::getAvailablePlaceholderTypes ( )

Definition at line 30 of file class.ilPortfolioTemplatePageConfig.php.

References $ilSetting, ilPortfolioPageConfig\$settings, array, ilPCPlaceHolderGUI\TYPE_MEDIA, ilPCPlaceHolderGUI\TYPE_TEXT, and ilPCPlaceHolderGUI\TYPE_VERIFICATION.

31  {
33 
34  // no questions
35  $all = array(
38  );
39 
40  if (!$ilSetting->get('disable_wsp_certificates')) {
42  }
43 
44  return $all;
45  }
Create styles array
The data for the language used.
global $ilSetting
Definition: privfeed.php:17

◆ init()

ilPortfolioTemplatePageConfig::init ( )

Definition at line 15 of file class.ilPortfolioTemplatePageConfig.php.

References $_GET, $DIC, ilPageConfig\addIntLinkFilter(), ilPageConfig\removeIntLinkFilter(), ilPageConfig\setEnablePCType(), ilPageConfig\setIntLinkHelpDefaultId(), ilPageConfig\setIntLinkHelpDefaultType(), and settings().

16  {
17  global $DIC;
18 
19  $this->settings = $DIC->settings();
20  parent::init();
21  $this->setIntLinkHelpDefaultId($_GET["ref_id"]);
22  $this->addIntLinkFilter("PortfolioTemplatePage");
23  $this->removeIntLinkFilter("PortfolioPage");
24  $this->setIntLinkHelpDefaultType("PortfolioTemplatePage");
25 
26  $this->setEnablePCType("Verification", false);
27  $this->setEnablePCType("PlaceHolder", true);
28  }
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
global $DIC
Definition: saml.php:7
setIntLinkHelpDefaultType($a_val)
Set internal link default type.
$_GET["client_id"]
removeIntLinkFilter($a_val)
Remove int link filter.
settings()
Definition: settings.php:2
addIntLinkFilter($a_val)
Add internal links filter.
setIntLinkHelpDefaultId($a_val, $a_is_ref=true)
Set internal link default id.
+ Here is the call graph for this function:

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