76 $this->lng = $DIC->language();
78 include_once(
"./Services/COPage/classes/class.ilCOPagePCDef.php");
80 foreach ($this->pc_defs as $def) {
87 foreach ($def->getDefinitions() as $key => $def) {
88 if (strtolower(get_class($this)) == strtolower($def[
"class_name"] .
"Config")) {
89 $this->page_obj_key = $key;
115 $this->pc_enabled[$a_pc_type] = $a_val;
125 return $this->pc_enabled[$a_pc_type];
136 foreach ($this->pc_defs as $def) {
151 $this->enable_keywords = $a_val;
171 $this->enable_anchors = $a_val;
191 $this->enabledinternallinks = $a_enabledinternallinks;
231 $this->enablewikilinks = $a_enablewikilinks;
254 if (is_array($a_val)) {
255 $this->int_link_filter =
256 array_merge($a_val, $this->int_link_filter);
258 $this->int_link_filter[] = $a_val;
269 foreach ($this->int_link_filter as $k => $v) {
271 unset($this->int_link_filter[$k]);
294 $this->link_filter_white_list = $a_white_list;
296 $this->int_link_filter = array();
307 return $this->link_filter_white_list;
317 $this->prevent_rte_usage = $a_val;
337 $this->localization_lang = $a_val;
347 return $this->localization_lang;
357 $this->use_attached_content = $a_val;
377 $this->int_link_def_type = $a_val;
397 $this->int_link_def_id = $a_val;
398 $this->int_link_def_id_is_ref = $a_is_ref;
418 return $this->int_link_def_id_is_ref;
428 $this->activation = $a_val;
448 $this->scheduled_activation = $a_val;
468 $this->page_toc = $a_val;
488 $this->preventhtmlunmasking = $a_preventhtmlunmasking;
499 if ($this->adve_set->get(
"act_html_" . $this->page_obj_key)) {
514 $this->enabledselfassessment = $a_enabledselfassessment;
515 $this->enabledselfassessment_scorm = $a_scorm;
546 $this->disable_default_qfeedback = $a_val;
566 $this->multi_lang_support = $a_val;
586 $this->single_page_mode = $a_val;
616 $this->use_stored_tries = $a_val;
636 $this->enable_permission_checks = $a_val;
654 $this->edit_lock_support = $a_val;
671 $this->use_page_container = $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.
COPage page object definition handler.
$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.
getUsePageContainer()
Get if page container css class should be used.
setUsePageContainer($a_val)
Set if page container css class should be used.
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.
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.
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.
setEditLockSupport($a_val)
getIntLinkHelpDefaultIdIsRef()
Get internal link default id.
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.
getEnabledTopPCTypes()
Get enable pc type.
setPreventRteUsage($a_val)
Set prevent rte usage.
setEnablePermissionChecks($a_val)
Set enable permission checks.
setIntLinkHelpDefaultId($a_val, $a_is_ref=true)
Set internal link default id.
getEnableInternalLinks()
Get Enable internal links.