45 include_once(
"./Services/COPage/classes/class.ilCOPagePCDef.php");
47 foreach ($this->pc_defs as $def)
73 $this->pc_enabled[$a_pc_type] = $a_val;
83 return $this->pc_enabled[$a_pc_type];
93 $this->enable_keywords = $a_val;
113 $this->enable_anchors = $a_val;
133 $this->enabledinternallinks = $a_enabledinternallinks;
153 $this->enablewikilinks = $a_enablewikilinks;
176 if (is_array($a_val))
178 $this->int_link_filter =
179 array_merge($a_val, $this->int_link_filter);
183 $this->int_link_filter[] = $a_val;
194 foreach ($this->int_link_filter as $k => $v)
198 unset($this->int_link_filter[$k]);
221 $this->link_filter_white_list = $a_white_list;
231 return $this->link_filter_white_list;
241 $this->prevent_rte_usage = $a_val;
261 $this->localization_lang = $a_val;
271 return $this->localization_lang;
281 $this->use_attached_content = $a_val;
301 $this->int_link_def_type = $a_val;
321 $this->int_link_def_id = $a_val;
341 $this->activation = $a_val;
361 $this->scheduled_activation = $a_val;
381 $this->page_toc = $a_val;
401 $this->preventhtmlunmasking = $a_preventhtmlunmasking;
422 $this->enabledselfassessment = $a_enabledselfassessment;
423 $this->enabledselfassessment_scorm = $a_scorm;
454 $this->disable_default_qfeedback = $a_val;
474 $this->multi_lang_support = $a_val;
494 $this->single_page_mode = $a_val;
getEnableSelfAssessment()
Get Enable Self Assessment Questions.
setUseAttachedContent($a_val)
Set use attached content.
getPCDefinitions()
Get PC definitions.
getEnablePageToc()
Get enable page toc.
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
setEnableSelfAssessment($a_enabledselfassessment, $a_scorm=true)
Set Enable Self Assessment Questions.
getLocalizationLanguage()
Get localizazion language.
setEnableWikiLinks($a_enablewikilinks)
Set Enable Wiki Links.
setEnableKeywords($a_val)
Set enable keywords handling.
setIntLinkHelpDefaultType($a_val)
Set internal link default type.
setEnableAnchors($a_val)
Set enable anchors.
getIntLinkFilterWhiteList()
Get internal links filter type list to white list.
getMultiLangSupport()
Get multi language support.
setEnableScheduledActivation($a_val)
Set enable scheduled page activation.
getIntLinkFilters()
Get internal links filter.
getEnableWikiLinks()
Get Enable Wiki Links.
$disable_default_qfeedback
setMultiLangSupport($a_val)
Set multi language support.
setSinglePageMode($a_val)
Set single page mode.
getEnableScheduledActivation()
Get enable scheduled page activation.
removeIntLinkFilter($a_val)
Remove int link filter.
setEnablePageToc($a_val)
Set enable page toc.
Config class for page editing.
$enabledselfassessment_scorm
setLocalizationLanguage($a_val)
Set localizazion language.
getEnableKeywords()
Get enable keywords handling.
getEnableAnchors()
Get enable anchors.
getEnablePCType($a_pc_type)
Get enable pc type.
setIntLinkHelpDefaultId($a_val)
Set internal link default id.
getUseAttachedContent()
Get use attached content.
getDisableDefaultQuestionFeedback()
Get disable default question feedback.
getEnableSelfAssessmentScorm()
Is self assessment used in SCORM mode?
setEnableInternalLinks($a_enabledinternallinks)
Set Enable internal links.
getIntLinkHelpDefaultType()
Get internal link default type.
setEnableActivation($a_val)
Set enabled actication.
setDisableDefaultQuestionFeedback($a_val)
Set disable default question feedback.
getIntLinkHelpDefaultId()
Get internal link default id.
getPreventRteUsage()
Get prevent rte usage.
getSinglePageMode()
Get single page mode.
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.
getEnableActivation()
Get enabled actication.
getPreventHTMLUnmasking()
Get Prevent HTML Unmasking (true/false).
__construct()
Constructor.
setPreventRteUsage($a_val)
Set prevent rte usage.
getEnableInternalLinks()
Get Enable internal links.