53 include_once(
"./Services/COPage/classes/class.ilCOPagePCDef.php");
55 foreach ($this->pc_defs as $def)
81 $this->pc_enabled[$a_pc_type] = $a_val;
91 return $this->pc_enabled[$a_pc_type];
101 $this->enable_keywords = $a_val;
121 $this->enable_anchors = $a_val;
141 $this->enabledinternallinks = $a_enabledinternallinks;
161 $this->enable_user_links = $a_val;
181 $this->enablewikilinks = $a_enablewikilinks;
204 if (is_array($a_val))
206 $this->int_link_filter =
207 array_merge($a_val, $this->int_link_filter);
211 $this->int_link_filter[] = $a_val;
222 foreach ($this->int_link_filter as $k => $v)
226 unset($this->int_link_filter[$k]);
249 $this->link_filter_white_list = $a_white_list;
259 return $this->link_filter_white_list;
269 $this->prevent_rte_usage = $a_val;
289 $this->localization_lang = $a_val;
299 return $this->localization_lang;
309 $this->use_attached_content = $a_val;
329 $this->int_link_def_type = $a_val;
349 $this->int_link_def_id = $a_val;
369 $this->activation = $a_val;
389 $this->scheduled_activation = $a_val;
409 $this->page_toc = $a_val;
429 $this->preventhtmlunmasking = $a_preventhtmlunmasking;
450 $this->enabledselfassessment = $a_enabledselfassessment;
451 $this->enabledselfassessment_scorm = $a_scorm;
482 $this->disable_default_qfeedback = $a_val;
502 $this->multi_lang_support = $a_val;
522 $this->single_page_mode = $a_val;
552 $this->use_stored_tries = $a_val;
572 $this->enable_permission_checks = $a_val;
getEnableSelfAssessment()
Get Enable Self Assessment Questions.
setUseAttachedContent($a_val)
Set use attached content.
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.
$enable_permission_checks
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.
static getPCDefinitions()
Get PC definitions.
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.
getUseStoredQuestionTries()
Get use stored answers/tries.
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.
setQuestionHTML($question_html)
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.
getEnablePermissionChecks()
Get enable permission checks.
setDisableDefaultQuestionFeedback($a_val)
Set disable default question feedback.
setEnableUserLinks($a_val)
Set enable user links.
Create styles array
The data for the language used.
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.
getEnableUserLinks()
Get enable user links.
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.
setUseStoredQuestionTries($a_val)
Set use stored answers/tries.
setPreventRteUsage($a_val)
Set prevent rte usage.
setEnablePermissionChecks($a_val)
Set enable permission checks.
getEnableInternalLinks()
Get Enable internal links.