ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilPageConfig Class Reference

Config class for page editing. More...

+ Inheritance diagram for ilPageConfig:
+ Collaboration diagram for ilPageConfig:

Public Member Functions

 __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 ()
 

Protected Attributes

 $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

Config class for page editing.

Author
Alex Killing <alex.killing.gmx.de>
Version
$Id$

Definition at line 12 of file class.ilPageConfig.php.

Constructor & Destructor Documentation

◆ __construct()

ilPageConfig::__construct ( )
final

Constructor.

Parameters

Definition at line 67 of file class.ilPageConfig.php.

References $def, $DIC, $key, ilCOPagePCDef\getPCDefinitions(), init(), and setEnablePCType().

68  {
69  global $DIC;
70 
71  $this->lng = $DIC->language();
72  // load pc_defs
73  include_once("./Services/COPage/classes/class.ilCOPagePCDef.php");
74  $this->pc_defs = ilCOPagePCDef::getPCDefinitions();
75  foreach ($this->pc_defs as $def) {
76  $this->setEnablePCType($def["name"], (bool) $def["def_enabled"]);
77  }
78 
79  $this->adve_set = new ilSetting("adve");
80 
81  $def = new ilCOPageObjDef();
82  foreach ($def->getDefinitions() as $key => $def) {
83  if (strtolower(get_class($this)) == strtolower($def["class_name"] . "Config")) {
84  $this->page_obj_key = $key;
85  }
86  }
87 
88 
89  $this->init();
90  }
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
global $DIC
Definition: saml.php:7
COPage page object definition handler.
static getPCDefinitions()
Get PC definitions.
$def
Definition: croninfo.php:21
$key
Definition: croninfo.php:18
+ Here is the call graph for this function:

Member Function Documentation

◆ addIntLinkFilter()

ilPageConfig::addIntLinkFilter (   $a_val)

Add internal links filter.

Parameters
stringinternal links filter

Definition at line 228 of file class.ilPageConfig.php.

References $lng, and setLocalizationLanguage().

Referenced by ilSCORM2004PageConfig\configureByObjectId(), ilPortfolioTemplatePageConfig\init(), ilWikiPageConfig\init(), ilSCORM2004PageConfig\init(), and ilPortfolioPageConfig\init().

229  {
230  $lng = $this->lng;
231 
232  $this->setLocalizationLanguage($lng->getLangKey());
233  if (is_array($a_val)) {
234  $this->int_link_filter =
235  array_merge($a_val, $this->int_link_filter);
236  } else {
237  $this->int_link_filter[] = $a_val;
238  }
239  }
setLocalizationLanguage($a_val)
Set localizazion language.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDisableDefaultQuestionFeedback()

ilPageConfig::getDisableDefaultQuestionFeedback ( )

Get disable default question feedback.

Returns
bool disable feedback

Definition at line 533 of file class.ilPageConfig.php.

References $disable_default_qfeedback.

534  {
536  }

◆ getEditLockSupport()

ilPageConfig::getEditLockSupport ( )
Returns
bool get edit lock support for blogs

Definition at line 639 of file class.ilPageConfig.php.

References $edit_lock_support.

640  {
642  }

◆ getEnableActivation()

ilPageConfig::getEnableActivation ( )

Get enabled actication.

Returns
bool page activation enabled?

Definition at line 415 of file class.ilPageConfig.php.

References $activation.

416  {
417  return $this->activation;
418  }

◆ getEnableAnchors()

ilPageConfig::getEnableAnchors ( )

Get enable anchors.

Returns
boolean anchors

Definition at line 158 of file class.ilPageConfig.php.

References $enable_anchors.

159  {
160  return $this->enable_anchors;
161  }

◆ getEnableInternalLinks()

ilPageConfig::getEnableInternalLinks ( )

Get Enable internal links.

Returns
boolean Enable internal links

Definition at line 178 of file class.ilPageConfig.php.

References $enabledinternallinks.

Referenced by getEnableUserLinks().

179  {
181  }
+ Here is the caller graph for this function:

◆ getEnableKeywords()

ilPageConfig::getEnableKeywords ( )

Get enable keywords handling.

Returns
boolean keywords handling

Definition at line 138 of file class.ilPageConfig.php.

References $enable_keywords.

139  {
140  return $this->enable_keywords;
141  }

◆ getEnablePageToc()

ilPageConfig::getEnablePageToc ( )

Get enable page toc.

Returns
bool enable page toc?

Definition at line 455 of file class.ilPageConfig.php.

References $page_toc.

456  {
457  return $this->page_toc;
458  }

◆ getEnablePCType()

ilPageConfig::getEnablePCType (   $a_pc_type)

Get enable pc type.

Returns
boolean enable pc type true/false

Definition at line 118 of file class.ilPageConfig.php.

119  {
120  return $this->pc_enabled[$a_pc_type];
121  }

◆ getEnablePermissionChecks()

ilPageConfig::getEnablePermissionChecks ( )

Get enable permission checks.

Returns
bool enable permission checks

Definition at line 623 of file class.ilPageConfig.php.

References $enable_permission_checks.

624  {
626  }

◆ getEnableScheduledActivation()

ilPageConfig::getEnableScheduledActivation ( )

Get enable scheduled page activation.

Returns
bool scheduled activated enabled?

Definition at line 435 of file class.ilPageConfig.php.

References $scheduled_activation.

436  {
438  }

◆ getEnableSelfAssessment()

ilPageConfig::getEnableSelfAssessment ( )

Get Enable Self Assessment Questions.

Returns
boolean Enable Self Assessment Questions

Definition at line 503 of file class.ilPageConfig.php.

References $enabledselfassessment.

504  {
506  }

◆ getEnableSelfAssessmentScorm()

ilPageConfig::getEnableSelfAssessmentScorm ( )

Is self assessment used in SCORM mode?

Returns
boolean Enable Self Assessment Questions

Definition at line 513 of file class.ilPageConfig.php.

References $enabledselfassessment_scorm.

514  {
516  }

◆ getEnableUserLinks()

ilPageConfig::getEnableUserLinks ( )

Get enable user links.

Returns
boolean enable user links

Definition at line 188 of file class.ilPageConfig.php.

References getEnableInternalLinks(), and getIntLinkFilterWhiteList().

189  {
190  if (!$this->getEnableInternalLinks()) {
191  return false;
192  }
193  if ($this->getIntLinkFilterWhiteList() && in_array("User", $this->int_link_filter)) {
194  return true;
195  }
196  if (!$this->getIntLinkFilterWhiteList() && !in_array("User", $this->int_link_filter)) {
197  return true;
198  }
199 
200  return false;
201  }
getIntLinkFilterWhiteList()
Get internal links filter type list to white list.
getEnableInternalLinks()
Get Enable internal links.
+ Here is the call graph for this function:

◆ getEnableWikiLinks()

ilPageConfig::getEnableWikiLinks ( )

Get Enable Wiki Links.

Returns
boolean Enable Wiki Links

Definition at line 218 of file class.ilPageConfig.php.

References $enablewikilinks.

219  {
220  return $this->enablewikilinks;
221  }

◆ getIntLinkFilters()

ilPageConfig::getIntLinkFilters ( )

Get internal links filter.

Returns
string internal links filter

Definition at line 261 of file class.ilPageConfig.php.

References $int_link_filter.

262  {
263  return $this->int_link_filter;
264  }

◆ getIntLinkFilterWhiteList()

ilPageConfig::getIntLinkFilterWhiteList ( )

Get internal links filter type list to white list.

Returns
boolean white list

Definition at line 284 of file class.ilPageConfig.php.

Referenced by getEnableUserLinks().

285  {
286  return $this->link_filter_white_list;
287  }
+ Here is the caller graph for this function:

◆ getIntLinkHelpDefaultId()

ilPageConfig::getIntLinkHelpDefaultId ( )

Get internal link default id.

Returns
int default object if

Definition at line 385 of file class.ilPageConfig.php.

References $int_link_def_id.

386  {
387  return $this->int_link_def_id;
388  }

◆ getIntLinkHelpDefaultIdIsRef()

ilPageConfig::getIntLinkHelpDefaultIdIsRef ( )

Get internal link default id.

Returns
int default object if

Definition at line 395 of file class.ilPageConfig.php.

396  {
397  return $this->int_link_def_id_is_ref;
398  }

◆ getIntLinkHelpDefaultType()

ilPageConfig::getIntLinkHelpDefaultType ( )

Get internal link default type.

Returns
string type

Definition at line 364 of file class.ilPageConfig.php.

References $int_link_def_type.

365  {
367  }

◆ getLocalizationLanguage()

ilPageConfig::getLocalizationLanguage ( )

Get localizazion language.

Returns
string lang key

Definition at line 324 of file class.ilPageConfig.php.

325  {
326  return $this->localization_lang;
327  }

◆ getMultiLangSupport()

ilPageConfig::getMultiLangSupport ( )

Get multi language support.

Returns
bool general multi language support?

Definition at line 553 of file class.ilPageConfig.php.

References $multi_lang_support.

554  {
556  }

◆ getPreventHTMLUnmasking()

ilPageConfig::getPreventHTMLUnmasking ( )

Get Prevent HTML Unmasking (true/false).

Returns
boolean Prevent HTML Unmasking (true/false)

Definition at line 475 of file class.ilPageConfig.php.

476  {
477  $safe = true;
478  if ($this->adve_set->get("act_html_" . $this->page_obj_key)) {
479  $safe = false;
480  }
481  return $safe;
482  //return $this->preventhtmlunmasking;
483  }

◆ getPreventRteUsage()

ilPageConfig::getPreventRteUsage ( )

Get prevent rte usage.

Returns
boolean prevent rte usage

Definition at line 304 of file class.ilPageConfig.php.

References $prevent_rte_usage.

305  {
307  }

◆ getQuestionHTML()

ilPageConfig::getQuestionHTML ( )

Definition at line 583 of file class.ilPageConfig.php.

References $question_html.

584  {
585  return $this->question_html;
586  }

◆ getSinglePageMode()

ilPageConfig::getSinglePageMode ( )

Get single page mode.

Returns
bool single page mode (only one page per parent_id)

Definition at line 573 of file class.ilPageConfig.php.

References $single_page_mode.

574  {
576  }

◆ getUseAttachedContent()

ilPageConfig::getUseAttachedContent ( )

Get use attached content.

Returns
string use initial attached content

Definition at line 344 of file class.ilPageConfig.php.

References $use_attached_content.

345  {
347  }

◆ getUseStoredQuestionTries()

ilPageConfig::getUseStoredQuestionTries ( )

Get use stored answers/tries.

Returns
bool use stored number of tries and given (correct) answers

Definition at line 603 of file class.ilPageConfig.php.

References $use_stored_tries.

604  {
606  }

◆ init()

ilPageConfig::init ( )

Init.

Parameters

Definition at line 98 of file class.ilPageConfig.php.

Referenced by __construct().

99  {
100  }
+ Here is the caller graph for this function:

◆ removeIntLinkFilter()

ilPageConfig::removeIntLinkFilter (   $a_val)

Remove int link filter.

Parameters
string$a_valinternal link filter

Definition at line 246 of file class.ilPageConfig.php.

Referenced by ilPortfolioTemplatePageConfig\init(), ilLMPageConfig\init(), and ilPortfolioPageConfig\init().

247  {
248  foreach ($this->int_link_filter as $k => $v) {
249  if ($v == $a_val) {
250  unset($this->int_link_filter[$k]);
251  }
252  }
253  }
+ Here is the caller graph for this function:

◆ setDisableDefaultQuestionFeedback()

ilPageConfig::setDisableDefaultQuestionFeedback (   $a_val)

Set disable default question feedback.

Parameters
bool$a_valdisable feedback

Definition at line 523 of file class.ilPageConfig.php.

Referenced by ilLMPageConfig\configureByObjectId().

524  {
525  $this->disable_default_qfeedback = $a_val;
526  }
+ Here is the caller graph for this function:

◆ setEditLockSupport()

ilPageConfig::setEditLockSupport (   $a_val)
Parameters
$a_valbool set edit lock support for blogs

Definition at line 631 of file class.ilPageConfig.php.

Referenced by ilPortfolioPageConfig\init().

632  {
633  $this->edit_lock_support = $a_val;
634  }
+ Here is the caller graph for this function:

◆ setEnableActivation()

ilPageConfig::setEnableActivation (   $a_val)

Set enabled actication.

Parameters
bool$a_valpage activation enabled?

Definition at line 405 of file class.ilPageConfig.php.

Referenced by ilDclDetailedViewDefinitionConfig\init(), ilImprintConfig\init(), ilLMPageConfig\init(), and ilBlogPostingConfig\init().

406  {
407  $this->activation = $a_val;
408  }
+ Here is the caller graph for this function:

◆ setEnableAnchors()

ilPageConfig::setEnableAnchors (   $a_val)

Set enable anchors.

Parameters
booleananchors

Definition at line 148 of file class.ilPageConfig.php.

Referenced by ilLMPageConfig\init(), and ilWikiPageConfig\init().

149  {
150  $this->enable_anchors = $a_val;
151  }
+ Here is the caller graph for this function:

◆ setEnableInternalLinks()

ilPageConfig::setEnableInternalLinks (   $a_enabledinternallinks)

◆ setEnableKeywords()

ilPageConfig::setEnableKeywords (   $a_val)

Set enable keywords handling.

Parameters
booleankeywords handling

Definition at line 128 of file class.ilPageConfig.php.

Referenced by ilGlossaryDefPageConfig\init(), and ilLMPageConfig\init().

129  {
130  $this->enable_keywords = $a_val;
131  }
+ Here is the caller graph for this function:

◆ setEnablePageToc()

ilPageConfig::setEnablePageToc (   $a_val)

Set enable page toc.

Parameters
bool$a_valenable page toc?

Definition at line 445 of file class.ilPageConfig.php.

Referenced by ilWikiPageConfig\configureByObjectId().

446  {
447  $this->page_toc = $a_val;
448  }
+ Here is the caller graph for this function:

◆ setEnablePCType()

ilPageConfig::setEnablePCType (   $a_pc_type,
  $a_val 
)

◆ setEnablePermissionChecks()

ilPageConfig::setEnablePermissionChecks (   $a_val)

Set enable permission checks.

Parameters
bool$a_valenable permission checks

Definition at line 613 of file class.ilPageConfig.php.

Referenced by ilContentPagePageConfig\init(), and ilContainerPageConfig\init().

614  {
615  $this->enable_permission_checks = $a_val;
616  }
+ Here is the caller graph for this function:

◆ setEnableScheduledActivation()

ilPageConfig::setEnableScheduledActivation (   $a_val)

Set enable scheduled page activation.

Parameters
bool$a_valscheduled activated enabled?

Definition at line 425 of file class.ilPageConfig.php.

Referenced by ilLMPageConfig\init().

426  {
427  $this->scheduled_activation = $a_val;
428  }
+ Here is the caller graph for this function:

◆ setEnableSelfAssessment()

ilPageConfig::setEnableSelfAssessment (   $a_enabledselfassessment,
  $a_scorm = true 
)

Set Enable Self Assessment Questions.

Parameters
boolean$a_enabledselfassessmentEnable Self Assessment Questions

Definition at line 490 of file class.ilPageConfig.php.

References setEnablePCType().

Referenced by ilLMPageConfig\configureByObjectId(), ilSCORM2004PageConfig\init(), and ilLMPageConfig\init().

491  {
492  $this->setEnablePCType("Question", (bool) $a_enabledselfassessment);
493  $this->enabledselfassessment = $a_enabledselfassessment;
494  $this->enabledselfassessment_scorm = $a_scorm;
495  }
setEnablePCType($a_pc_type, $a_val)
Set enable pc type.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setEnableWikiLinks()

ilPageConfig::setEnableWikiLinks (   $a_enablewikilinks)

Set Enable Wiki Links.

Parameters
boolean$a_enablewikilinksEnable Wiki Links

Definition at line 208 of file class.ilPageConfig.php.

Referenced by ilDclDetailedViewDefinitionConfig\init(), ilImprintConfig\init(), and ilWikiPageConfig\init().

209  {
210  $this->enablewikilinks = $a_enablewikilinks;
211  }
+ Here is the caller graph for this function:

◆ setIntLinkFilterWhiteList()

ilPageConfig::setIntLinkFilterWhiteList (   $a_white_list)

Set internal links filter type list to white list.

Parameters
booleanwhite list

Definition at line 271 of file class.ilPageConfig.php.

Referenced by ilSCORM2004PageConfig\init(), ilWikiPageConfig\init(), and ilPortfolioPageConfig\init().

272  {
273  $this->link_filter_white_list = $a_white_list;
274  if ($a_white_list) {
275  $this->int_link_filter = array();
276  }
277  }
+ Here is the caller graph for this function:

◆ setIntLinkHelpDefaultId()

ilPageConfig::setIntLinkHelpDefaultId (   $a_val,
  $a_is_ref = true 
)

Set internal link default id.

Parameters
int$a_valdefault object if

Definition at line 374 of file class.ilPageConfig.php.

Referenced by ilPortfolioTemplatePageConfig\init(), ilLMPageConfig\init(), ilGlossaryDefPageConfig\init(), and ilPortfolioPageConfig\init().

375  {
376  $this->int_link_def_id = $a_val;
377  $this->int_link_def_id_is_ref = $a_is_ref;
378  }
+ Here is the caller graph for this function:

◆ setIntLinkHelpDefaultType()

ilPageConfig::setIntLinkHelpDefaultType (   $a_val)

Set internal link default type.

Parameters
string$a_valtype

Definition at line 354 of file class.ilPageConfig.php.

Referenced by ilContentPagePageConfig\init(), ilPortfolioTemplatePageConfig\init(), ilLOPageConfig\init(), ilLMPageConfig\init(), ilSCORM2004PageConfig\init(), ilWikiPageConfig\init(), ilContainerStartObjectsPageConfig\init(), ilGlossaryDefPageConfig\init(), ilContainerPageConfig\init(), and ilPortfolioPageConfig\init().

355  {
356  $this->int_link_def_type = $a_val;
357  }
+ Here is the caller graph for this function:

◆ setLocalizationLanguage()

ilPageConfig::setLocalizationLanguage (   $a_val)

Set localizazion language.

Parameters
string$a_vallang key

Definition at line 314 of file class.ilPageConfig.php.

Referenced by addIntLinkFilter(), and ilSCORM2004PageConfig\configureByObjectId().

315  {
316  $this->localization_lang = $a_val;
317  }
+ Here is the caller graph for this function:

◆ setMultiLangSupport()

ilPageConfig::setMultiLangSupport (   $a_val)

Set multi language support.

Parameters
bool$a_valgeneral multi language support?

Definition at line 543 of file class.ilPageConfig.php.

Referenced by ilLOPageConfig\init(), ilContainerStartObjectsPageConfig\init(), ilLMPageConfig\init(), ilMediaPoolPageConfig\init(), and ilContainerPageConfig\init().

544  {
545  $this->multi_lang_support = $a_val;
546  }
+ Here is the caller graph for this function:

◆ setPreventHTMLUnmasking()

ilPageConfig::setPreventHTMLUnmasking (   $a_preventhtmlunmasking)

Set Prevent HTML Unmasking (true/false).

Parameters
boolean$a_preventhtmlunmaskingPrevent HTML Unmasking (true/false)

Definition at line 465 of file class.ilPageConfig.php.

Referenced by ilDclDetailedViewDefinitionConfig\init(), ilImprintConfig\init(), ilBlogPostingConfig\init(), ilWikiPageConfig\init(), ilSCORM2004PageConfig\init(), ilMediaPoolPageConfig\init(), ilLMPageConfig\init(), ilPageLayoutPageConfig\init(), and ilPortfolioPageConfig\init().

466  {
467  $this->preventhtmlunmasking = $a_preventhtmlunmasking;
468  }
+ Here is the caller graph for this function:

◆ setPreventRteUsage()

ilPageConfig::setPreventRteUsage (   $a_val)

Set prevent rte usage.

Parameters
booleanprevent rte usage

Definition at line 294 of file class.ilPageConfig.php.

Referenced by ilLMPageConfig\init().

295  {
296  $this->prevent_rte_usage = $a_val;
297  }
+ Here is the caller graph for this function:

◆ setQuestionHTML()

ilPageConfig::setQuestionHTML (   $question_html)

Definition at line 578 of file class.ilPageConfig.php.

References $question_html.

579  {
580  $this->question_html = $question_html;
581  }

◆ setSinglePageMode()

ilPageConfig::setSinglePageMode (   $a_val)

Set single page mode.

Parameters
bool$a_valsingle page mode (only one page per parent_id)

Definition at line 563 of file class.ilPageConfig.php.

Referenced by ilContentPagePageConfig\init(), ilContainerStartObjectsPageConfig\init(), ilLOPageConfig\init(), and ilContainerPageConfig\init().

564  {
565  $this->single_page_mode = $a_val;
566  }
+ Here is the caller graph for this function:

◆ setUseAttachedContent()

ilPageConfig::setUseAttachedContent (   $a_val)

Set use attached content.

Parameters
string$a_valuse initial attached content

Definition at line 334 of file class.ilPageConfig.php.

Referenced by ilLMPageConfig\init().

335  {
336  $this->use_attached_content = $a_val;
337  }
+ Here is the caller graph for this function:

◆ setUseStoredQuestionTries()

ilPageConfig::setUseStoredQuestionTries (   $a_val)

Set use stored answers/tries.

Parameters
bool$a_valuse stored number of tries and given (correct) answers

Definition at line 593 of file class.ilPageConfig.php.

594  {
595  $this->use_stored_tries = $a_val;
596  }

Field Documentation

◆ $activation

ilPageConfig::$activation = false
protected

Definition at line 29 of file class.ilPageConfig.php.

Referenced by getEnableActivation().

◆ $adve_set

ilPageConfig::$adve_set
protected

Definition at line 54 of file class.ilPageConfig.php.

◆ $disable_default_qfeedback

ilPageConfig::$disable_default_qfeedback = false
protected

Definition at line 39 of file class.ilPageConfig.php.

Referenced by getDisableDefaultQuestionFeedback().

◆ $edit_lock_support

ilPageConfig::$edit_lock_support = true
protected

Definition at line 44 of file class.ilPageConfig.php.

Referenced by getEditLockSupport().

◆ $enable_anchors

ilPageConfig::$enable_anchors = false
protected

Definition at line 26 of file class.ilPageConfig.php.

Referenced by getEnableAnchors().

◆ $enable_keywords

ilPageConfig::$enable_keywords = false
protected

Definition at line 25 of file class.ilPageConfig.php.

Referenced by getEnableKeywords().

◆ $enable_permission_checks

ilPageConfig::$enable_permission_checks = false
protected

Definition at line 49 of file class.ilPageConfig.php.

Referenced by getEnablePermissionChecks().

◆ $enable_user_links

ilPageConfig::$enable_user_links = false
protected

Definition at line 42 of file class.ilPageConfig.php.

◆ $enabledinternallinks

ilPageConfig::$enabledinternallinks = false
protected

Definition at line 24 of file class.ilPageConfig.php.

Referenced by getEnableInternalLinks().

◆ $enabledselfassessment

ilPageConfig::$enabledselfassessment = false
protected

Definition at line 32 of file class.ilPageConfig.php.

Referenced by getEnableSelfAssessment().

◆ $enabledselfassessment_scorm

ilPageConfig::$enabledselfassessment_scorm = false
protected

Definition at line 33 of file class.ilPageConfig.php.

Referenced by getEnableSelfAssessmentScorm().

◆ $enablewikilinks

ilPageConfig::$enablewikilinks = false
protected

Definition at line 27 of file class.ilPageConfig.php.

Referenced by getEnableWikiLinks().

◆ $int_link_def_id

ilPageConfig::$int_link_def_id = 0
protected

Definition at line 35 of file class.ilPageConfig.php.

Referenced by getIntLinkHelpDefaultId().

◆ $int_link_def_type

ilPageConfig::$int_link_def_type = ""
protected

Definition at line 34 of file class.ilPageConfig.php.

Referenced by getIntLinkHelpDefaultType().

◆ $int_link_filter

ilPageConfig::$int_link_filter = array("File", "PortfolioPage", "PortfolioTemplatePage")
protected

Definition at line 19 of file class.ilPageConfig.php.

Referenced by getIntLinkFilters().

◆ $lng

ilPageConfig::$lng
protected

Definition at line 17 of file class.ilPageConfig.php.

Referenced by addIntLinkFilter().

◆ $multi_lang_support

ilPageConfig::$multi_lang_support = false
protected

Definition at line 36 of file class.ilPageConfig.php.

Referenced by getMultiLangSupport().

◆ $page_obj_key

ilPageConfig::$page_obj_key = ""
protected

Definition at line 60 of file class.ilPageConfig.php.

◆ $page_toc

ilPageConfig::$page_toc = false
protected

Definition at line 28 of file class.ilPageConfig.php.

Referenced by getEnablePageToc().

◆ $pc_defs

ilPageConfig::$pc_defs = array()
protected

Definition at line 22 of file class.ilPageConfig.php.

◆ $pc_enabled

ilPageConfig::$pc_enabled = array()
protected

Definition at line 23 of file class.ilPageConfig.php.

◆ $prevent_rte_usage

ilPageConfig::$prevent_rte_usage = false
protected

Definition at line 20 of file class.ilPageConfig.php.

Referenced by getPreventRteUsage().

◆ $preventhtmlunmasking

ilPageConfig::$preventhtmlunmasking = false
protected

Definition at line 31 of file class.ilPageConfig.php.

◆ $question_html

ilPageConfig::$question_html = array()
protected

Definition at line 40 of file class.ilPageConfig.php.

Referenced by getQuestionHTML(), and setQuestionHTML().

◆ $scheduled_activation

ilPageConfig::$scheduled_activation = false
protected

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

Referenced by getEnableScheduledActivation().

◆ $single_page_mode

ilPageConfig::$single_page_mode = false
protected

Definition at line 37 of file class.ilPageConfig.php.

Referenced by getSinglePageMode().

◆ $use_attached_content

ilPageConfig::$use_attached_content = false
protected

Definition at line 21 of file class.ilPageConfig.php.

Referenced by getUseAttachedContent().

◆ $use_stored_tries

ilPageConfig::$use_stored_tries = false
protected

Definition at line 41 of file class.ilPageConfig.php.

Referenced by getUseStoredQuestionTries().


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