71 $this->lng = $DIC->language();
73 include_once(
"./Services/COPage/classes/class.ilCOPagePCDef.php");
75 foreach ($this->pc_defs as
$def) {
82 foreach($def->getDefinitions() as
$key =>
$def) {
83 if (strtolower(get_class($this)) == strtolower($def[
"class_name"].
"Config")) {
84 $this->page_obj_key =
$key;
110 $this->pc_enabled[$a_pc_type] = $a_val;
120 return $this->pc_enabled[$a_pc_type];
130 $this->enable_keywords = $a_val;
150 $this->enable_anchors = $a_val;
170 $this->enabledinternallinks = $a_enabledinternallinks;
210 $this->enablewikilinks = $a_enablewikilinks;
233 if (is_array($a_val)) {
234 $this->int_link_filter =
235 array_merge($a_val, $this->int_link_filter);
237 $this->int_link_filter[] = $a_val;
248 foreach ($this->int_link_filter as $k => $v) {
250 unset($this->int_link_filter[$k]);
273 $this->link_filter_white_list = $a_white_list;
275 $this->int_link_filter =
array();
286 return $this->link_filter_white_list;
296 $this->prevent_rte_usage = $a_val;
316 $this->localization_lang = $a_val;
326 return $this->localization_lang;
336 $this->use_attached_content = $a_val;
356 $this->int_link_def_type = $a_val;
376 $this->int_link_def_id = $a_val;
377 $this->int_link_def_id_is_ref = $a_is_ref;
397 return $this->int_link_def_id_is_ref;
407 $this->activation = $a_val;
427 $this->scheduled_activation = $a_val;
447 $this->page_toc = $a_val;
467 $this->preventhtmlunmasking = $a_preventhtmlunmasking;
478 if ($this->adve_set->get(
"act_html_".$this->page_obj_key)) {
493 $this->enabledselfassessment = $a_enabledselfassessment;
494 $this->enabledselfassessment_scorm = $a_scorm;
525 $this->disable_default_qfeedback = $a_val;
545 $this->multi_lang_support = $a_val;
565 $this->single_page_mode = $a_val;
595 $this->use_stored_tries = $a_val;
615 $this->enable_permission_checks = $a_val;
633 $this->edit_lock_support = $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.
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.
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.
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.
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.