ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilPageConfig Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

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

Public Member Functions

 __construct ()
 
 init ()
 
 setEnablePCType (string $a_pc_type, bool $a_val)
 
 getEnablePCType (string $a_pc_type)
 
 getEnabledTopPCTypes ()
 
 setEnableKeywords (bool $a_val)
 
 getEnableKeywords ()
 
 setEnableAnchors (bool $a_val)
 
 getEnableAnchors ()
 
 setEnableInternalLinks (bool $a_enabledinternallinks)
 
 getEnableInternalLinks ()
 
 getEnableUserLinks ()
 
 setEnableWikiLinks (bool $a_enablewikilinks)
 
 getEnableWikiLinks ()
 
 addIntLinkFilter (string $a_val)
 Add internal links filter. More...
 
 removeIntLinkFilter (string $a_val)
 
 getIntLinkFilters ()
 
 setIntLinkFilterWhiteList (bool $a_white_list)
 Set internal links filter type list to white list. More...
 
 getIntLinkFilterWhiteList ()
 
 setPreventRteUsage (bool $a_val)
 
 getPreventRteUsage ()
 
 setLocalizationLanguage (string $a_val)
 
 getLocalizationLanguage ()
 
 setUseAttachedContent (bool $a_val)
 
 getUseAttachedContent ()
 
 setIntLinkHelpDefaultType (string $a_val)
 
 getIntLinkHelpDefaultType ()
 
 setIntLinkHelpDefaultId (int $a_val, bool $a_is_ref=true)
 Set internal link default id. More...
 
 getIntLinkHelpDefaultId ()
 
 getIntLinkHelpDefaultIdIsRef ()
 
 setEnableActivation (bool $a_val)
 Set enabled page activation. More...
 
 getEnableActivation ()
 
 setEnableScheduledActivation (bool $a_val)
 
 getEnableScheduledActivation ()
 
 setEnablePageToc (bool $a_val)
 
 getEnablePageToc ()
 
 setPreventHTMLUnmasking (bool $a_preventhtmlunmasking)
 
 getPreventHTMLUnmasking ()
 
 setEnableSelfAssessment (bool $a_enabledselfassessment, bool $a_scorm=true)
 
 getEnableSelfAssessment ()
 
 getEnableSelfAssessmentScorm ()
 Is self assessment used in SCORM mode? More...
 
 setDisableDefaultQuestionFeedback (bool $a_val)
 Set disable default question feedback. More...
 
 getDisableDefaultQuestionFeedback ()
 
 setMultiLangSupport (bool $a_val)
 
 getMultiLangSupport ()
 
 setSinglePageMode (bool $a_val)
 Set single page mode. More...
 
 getSinglePageMode ()
 
 setQuestionHTML (array $question_html)
 
 getQuestionHTML ()
 
 setUseStoredQuestionTries (bool $a_val)
 Set use stored answers/tries. More...
 
 getUseStoredQuestionTries ()
 
 setEnablePermissionChecks (bool $a_val)
 
 getEnablePermissionChecks ()
 
 setEditLockSupport (bool $a_val)
 
 getEditLockSupport ()
 
 setUsePageContainer (bool $a_val)
 Set if page container css class should be used. More...
 
 getUsePageContainer ()
 
 setSectionProtection (int $a_val)
 
 getSectionProtection ()
 
 setSectionProtectionInfo (string $a_val)
 
 getSectionProtectionInfo ()
 

Data Fields

const SEC_PROTECT_NONE = 0
 
const SEC_PROTECT_EDITABLE = 1
 
const SEC_PROTECT_PROTECTED = 2
 

Protected Attributes

bool $int_link_def_id_is_ref = false
 
ilLanguage $lng
 
array $int_link_filter = array("File", "PortfolioPage", "PortfolioTemplatePage")
 
bool $prevent_rte_usage = false
 
bool $use_attached_content = false
 
array $pc_defs = array()
 
array $pc_enabled = array()
 
bool $enabledinternallinks = false
 
bool $enable_keywords = false
 
bool $enable_anchors = false
 
bool $enablewikilinks = false
 
bool $page_toc = false
 
bool $activation = false
 
bool $scheduled_activation = false
 
bool $preventhtmlunmasking = false
 
bool $enabledselfassessment = false
 
bool $enabledselfassessment_scorm = false
 
string $int_link_def_type = ""
 
int $int_link_def_id = 0
 
bool $multi_lang_support = false
 
bool $single_page_mode = false
 
bool $disable_default_qfeedback = false
 
array $question_html = array()
 
bool $use_stored_tries = false
 
bool $enable_user_links = false
 
bool $edit_lock_support = true
 
bool $use_page_container = true
 
bool $enable_permission_checks = false
 
ilSetting $adve_set
 
string $page_obj_key = ""
 
bool $link_filter_white_list = false
 
string $localization_lang = ""
 
int $section_protection = self::SEC_PROTECT_NONE
 
string $section_protection_info = ""
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Config class for page editing

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Constructor & Destructor Documentation

◆ __construct()

ilPageConfig::__construct ( )
final

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

References $DIC, ILIAS\LTI\ToolProvider\$key, ilCOPagePCDef\getPCDefinitions(), init(), ILIAS\Repository\lng(), and setEnablePCType().

72  {
73  global $DIC;
74 
75  $this->lng = $DIC->language();
76  // load pc_defs
77  $this->pc_defs = ilCOPagePCDef::getPCDefinitions();
78  foreach ($this->pc_defs as $def) {
79  $this->setEnablePCType($def["name"], (bool) $def["def_enabled"]);
80  }
81 
82  $this->adve_set = new ilSetting("adve");
83  $def = new ilCOPageObjDef();
84  foreach ($def->getDefinitions() as $key => $def) {
85  if (strtolower(get_class($this)) == strtolower($def["class_name"] . "Config")) {
86  $this->page_obj_key = $key;
87  }
88  }
89  $this->init();
90  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28
string $key
Consumer key/client ID value.
Definition: System.php:193
setEnablePCType(string $a_pc_type, bool $a_val)
+ Here is the call graph for this function:

Member Function Documentation

◆ addIntLinkFilter()

ilPageConfig::addIntLinkFilter ( string  $a_val)

Add internal links filter.

Parameters
stringinternal links filter

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

References $lng, ilLanguage\getLangKey(), and setLocalizationLanguage().

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

176  : void
177  {
178  $lng = $this->lng;
179 
181  $this->int_link_filter[] = $a_val;
182  }
getLangKey()
Return lang key.
setLocalizationLanguage(string $a_val)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDisableDefaultQuestionFeedback()

ilPageConfig::getDisableDefaultQuestionFeedback ( )

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

References $disable_default_qfeedback.

353  : bool
354  {
356  }
bool $disable_default_qfeedback

◆ getEditLockSupport()

ilPageConfig::getEditLockSupport ( )

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

References $edit_lock_support.

424  : bool
425  {
427  }

◆ getEnableActivation()

ilPageConfig::getEnableActivation ( )

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

References $activation.

287  : bool
288  {
289  return $this->activation;
290  }

◆ getEnableAnchors()

ilPageConfig::getEnableAnchors ( )

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

References $enable_anchors.

132  : bool
133  {
134  return $this->enable_anchors;
135  }

◆ getEnabledTopPCTypes()

ilPageConfig::getEnabledTopPCTypes ( )

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

References getEnablePCType().

106  : array
107  {
108  $types = [];
109  foreach ($this->pc_defs as $def) {
110  if ($def["top_item"] && $this->getEnablePCType($def["name"])) {
111  $types[] = $def;
112  }
113  }
114  return $types;
115  }
getEnablePCType(string $a_pc_type)
+ Here is the call graph for this function:

◆ getEnableInternalLinks()

ilPageConfig::getEnableInternalLinks ( )

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

References $enabledinternallinks.

Referenced by getEnableUserLinks().

142  : bool
143  {
145  }
+ Here is the caller graph for this function:

◆ getEnableKeywords()

ilPageConfig::getEnableKeywords ( )

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

References $enable_keywords.

122  : bool
123  {
124  return $this->enable_keywords;
125  }

◆ getEnablePageToc()

ilPageConfig::getEnablePageToc ( )

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

References $page_toc.

307  : bool
308  {
309  return $this->page_toc;
310  }

◆ getEnablePCType()

ilPageConfig::getEnablePCType ( string  $a_pc_type)

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

Referenced by getEnabledTopPCTypes().

101  : bool
102  {
103  return $this->pc_enabled[$a_pc_type];
104  }
+ Here is the caller graph for this function:

◆ getEnablePermissionChecks()

ilPageConfig::getEnablePermissionChecks ( )

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

References $enable_permission_checks.

411  : bool
412  {
414  }
bool $enable_permission_checks

◆ getEnableScheduledActivation()

ilPageConfig::getEnableScheduledActivation ( )

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

References $scheduled_activation.

297  : bool
298  {
300  }

◆ getEnableSelfAssessment()

ilPageConfig::getEnableSelfAssessment ( )

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

References $enabledselfassessment.

332  : bool
333  {
335  }

◆ getEnableSelfAssessmentScorm()

ilPageConfig::getEnableSelfAssessmentScorm ( )

Is self assessment used in SCORM mode?

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

References $enabledselfassessment_scorm.

340  : bool
341  {
343  }
bool $enabledselfassessment_scorm

◆ getEnableUserLinks()

ilPageConfig::getEnableUserLinks ( )

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

References getEnableInternalLinks(), and getIntLinkFilterWhiteList().

147  : bool
148  {
149  if (!$this->getEnableInternalLinks()) {
150  return false;
151  }
152  if ($this->getIntLinkFilterWhiteList() && in_array("User", $this->int_link_filter)) {
153  return true;
154  }
155  if (!$this->getIntLinkFilterWhiteList() && !in_array("User", $this->int_link_filter)) {
156  return true;
157  }
158 
159  return false;
160  }
+ Here is the call graph for this function:

◆ getEnableWikiLinks()

ilPageConfig::getEnableWikiLinks ( )

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

References $enablewikilinks.

167  : bool
168  {
169  return $this->enablewikilinks;
170  }

◆ getIntLinkFilters()

ilPageConfig::getIntLinkFilters ( )

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

References $int_link_filter.

193  : array
194  {
195  return $this->int_link_filter;
196  }

◆ getIntLinkFilterWhiteList()

ilPageConfig::getIntLinkFilterWhiteList ( )

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

References $link_filter_white_list.

Referenced by getEnableUserLinks().

209  : bool
210  {
212  }
+ Here is the caller graph for this function:

◆ getIntLinkHelpDefaultId()

ilPageConfig::getIntLinkHelpDefaultId ( )

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

References $int_link_def_id.

269  : int
270  {
271  return $this->int_link_def_id;
272  }

◆ getIntLinkHelpDefaultIdIsRef()

ilPageConfig::getIntLinkHelpDefaultIdIsRef ( )

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

References $int_link_def_id_is_ref.

274  : bool
275  {
277  }

◆ getIntLinkHelpDefaultType()

ilPageConfig::getIntLinkHelpDefaultType ( )

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

References $int_link_def_type.

252  : string
253  {
255  }

◆ getLocalizationLanguage()

ilPageConfig::getLocalizationLanguage ( )

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

References $localization_lang.

232  : string
233  {
235  }

◆ getMultiLangSupport()

ilPageConfig::getMultiLangSupport ( )

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

References $multi_lang_support.

363  : bool
364  {
366  }

◆ getPreventHTMLUnmasking()

ilPageConfig::getPreventHTMLUnmasking ( )

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

318  : bool
319  {
320  return true;
321  }

◆ getPreventRteUsage()

ilPageConfig::getPreventRteUsage ( )

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

References $prevent_rte_usage.

219  : bool
220  {
222  }

◆ getQuestionHTML()

ilPageConfig::getQuestionHTML ( )

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

References $question_html.

387  : array
388  {
389  return $this->question_html;
390  }

◆ getSectionProtection()

ilPageConfig::getSectionProtection ( )

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

References $section_protection.

447  : int
448  {
450  }

◆ getSectionProtectionInfo()

ilPageConfig::getSectionProtectionInfo ( )

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

References $section_protection_info.

457  : string
458  {
460  }
string $section_protection_info

◆ getSinglePageMode()

ilPageConfig::getSinglePageMode ( )

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

References $single_page_mode.

377  : bool
378  {
380  }

◆ getUseAttachedContent()

ilPageConfig::getUseAttachedContent ( )

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

References $use_attached_content.

242  : bool
243  {
245  }

◆ getUsePageContainer()

ilPageConfig::getUsePageContainer ( )

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

References $use_page_container.

437  : bool
438  {
440  }

◆ getUseStoredQuestionTries()

ilPageConfig::getUseStoredQuestionTries ( )

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

References $use_stored_tries.

401  : bool
402  {
404  }

◆ init()

ilPageConfig::init ( )

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

Referenced by __construct().

92  : void
93  {
94  }
+ Here is the caller graph for this function:

◆ removeIntLinkFilter()

ilPageConfig::removeIntLinkFilter ( string  $a_val)

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

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

184  : void
185  {
186  foreach ($this->int_link_filter as $k => $v) {
187  if ($v == $a_val) {
188  unset($this->int_link_filter[$k]);
189  }
190  }
191  }
+ Here is the caller graph for this function:

◆ setDisableDefaultQuestionFeedback()

ilPageConfig::setDisableDefaultQuestionFeedback ( bool  $a_val)

Set disable default question feedback.

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

Referenced by ilLMPageConfig\configureByObjectId().

348  : void
349  {
350  $this->disable_default_qfeedback = $a_val;
351  }
+ Here is the caller graph for this function:

◆ setEditLockSupport()

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

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

Referenced by ilPortfolioPageConfig\init().

419  : void
420  {
421  $this->edit_lock_support = $a_val;
422  }
+ Here is the caller graph for this function:

◆ setEnableActivation()

ilPageConfig::setEnableActivation ( bool  $a_val)

Set enabled page activation.

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

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

282  : void
283  {
284  $this->activation = $a_val;
285  }
+ Here is the caller graph for this function:

◆ setEnableAnchors()

ilPageConfig::setEnableAnchors ( bool  $a_val)

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

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

127  : void
128  {
129  $this->enable_anchors = $a_val;
130  }
+ Here is the caller graph for this function:

◆ setEnableInternalLinks()

◆ setEnableKeywords()

ilPageConfig::setEnableKeywords ( bool  $a_val)

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

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

117  : void
118  {
119  $this->enable_keywords = $a_val;
120  }
+ Here is the caller graph for this function:

◆ setEnablePageToc()

ilPageConfig::setEnablePageToc ( bool  $a_val)

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

Referenced by ilWikiPageConfig\configureByObjectId().

302  : void
303  {
304  $this->page_toc = $a_val;
305  }
+ Here is the caller graph for this function:

◆ setEnablePCType()

◆ setEnablePermissionChecks()

ilPageConfig::setEnablePermissionChecks ( bool  $a_val)

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

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

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

◆ setEnableScheduledActivation()

ilPageConfig::setEnableScheduledActivation ( bool  $a_val)

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

Referenced by ilLMPageConfig\init().

292  : void
293  {
294  $this->scheduled_activation = $a_val;
295  }
+ Here is the caller graph for this function:

◆ setEnableSelfAssessment()

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

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

References setEnablePCType().

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

326  : void {
327  $this->setEnablePCType("Question", $a_enabledselfassessment);
328  $this->enabledselfassessment = $a_enabledselfassessment;
329  $this->enabledselfassessment_scorm = $a_scorm;
330  }
setEnablePCType(string $a_pc_type, bool $a_val)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setEnableWikiLinks()

ilPageConfig::setEnableWikiLinks ( bool  $a_enablewikilinks)

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

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

162  : void
163  {
164  $this->enablewikilinks = $a_enablewikilinks;
165  }
+ Here is the caller graph for this function:

◆ setIntLinkFilterWhiteList()

ilPageConfig::setIntLinkFilterWhiteList ( bool  $a_white_list)

Set internal links filter type list to white list.

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

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

201  : void
202  {
203  $this->link_filter_white_list = $a_white_list;
204  if ($a_white_list) {
205  $this->int_link_filter = array();
206  }
207  }
+ Here is the caller graph for this function:

◆ setIntLinkHelpDefaultId()

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

Set internal link default id.

Parameters
int$a_valdefault object id

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

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

264  : void {
265  $this->int_link_def_id = $a_val;
266  $this->int_link_def_id_is_ref = $a_is_ref;
267  }
+ Here is the caller graph for this function:

◆ setIntLinkHelpDefaultType()

ilPageConfig::setIntLinkHelpDefaultType ( string  $a_val)

◆ setLocalizationLanguage()

ilPageConfig::setLocalizationLanguage ( string  $a_val)
Parameters
string$a_vallang key

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

Referenced by addIntLinkFilter().

227  : void
228  {
229  $this->localization_lang = $a_val;
230  }
+ Here is the caller graph for this function:

◆ setMultiLangSupport()

ilPageConfig::setMultiLangSupport ( bool  $a_val)

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

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

358  : void
359  {
360  $this->multi_lang_support = $a_val;
361  }
+ Here is the caller graph for this function:

◆ setPreventHTMLUnmasking()

ilPageConfig::setPreventHTMLUnmasking ( bool  $a_preventhtmlunmasking)

◆ setPreventRteUsage()

ilPageConfig::setPreventRteUsage ( bool  $a_val)

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

Referenced by ilLMPageConfig\init().

214  : void
215  {
216  $this->prevent_rte_usage = $a_val;
217  }
+ Here is the caller graph for this function:

◆ setQuestionHTML()

ilPageConfig::setQuestionHTML ( array  $question_html)

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

References $question_html.

382  : void
383  {
384  $this->question_html = $question_html;
385  }

◆ setSectionProtection()

ilPageConfig::setSectionProtection ( int  $a_val)

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

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

442  : void
443  {
444  $this->section_protection = $a_val;
445  }
+ Here is the caller graph for this function:

◆ setSectionProtectionInfo()

ilPageConfig::setSectionProtectionInfo ( string  $a_val)

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

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

452  : void
453  {
454  $this->section_protection_info = $a_val;
455  }
+ Here is the caller graph for this function:

◆ setSinglePageMode()

ilPageConfig::setSinglePageMode ( bool  $a_val)

Set single page mode.

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

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

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

372  : void
373  {
374  $this->single_page_mode = $a_val;
375  }
+ Here is the caller graph for this function:

◆ setUseAttachedContent()

ilPageConfig::setUseAttachedContent ( bool  $a_val)

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

Referenced by ilLMPageConfig\init().

237  : void
238  {
239  $this->use_attached_content = $a_val;
240  }
+ Here is the caller graph for this function:

◆ setUsePageContainer()

ilPageConfig::setUsePageContainer ( bool  $a_val)

Set if page container css class should be used.

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

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

432  : void
433  {
434  $this->use_page_container = $a_val;
435  }
+ Here is the caller graph for this function:

◆ setUseStoredQuestionTries()

ilPageConfig::setUseStoredQuestionTries ( bool  $a_val)

Set use stored answers/tries.

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

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

396  : void
397  {
398  $this->use_stored_tries = $a_val;
399  }

Field Documentation

◆ $activation

bool ilPageConfig::$activation = false
protected

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

Referenced by getEnableActivation().

◆ $adve_set

ilSetting ilPageConfig::$adve_set
protected

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

◆ $disable_default_qfeedback

bool ilPageConfig::$disable_default_qfeedback = false
protected

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

Referenced by getDisableDefaultQuestionFeedback().

◆ $edit_lock_support

bool ilPageConfig::$edit_lock_support = true
protected

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

Referenced by getEditLockSupport().

◆ $enable_anchors

bool ilPageConfig::$enable_anchors = false
protected

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

Referenced by getEnableAnchors().

◆ $enable_keywords

bool ilPageConfig::$enable_keywords = false
protected

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

Referenced by getEnableKeywords().

◆ $enable_permission_checks

bool ilPageConfig::$enable_permission_checks = false
protected

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

Referenced by getEnablePermissionChecks().

◆ $enable_user_links

bool ilPageConfig::$enable_user_links = false
protected

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

◆ $enabledinternallinks

bool ilPageConfig::$enabledinternallinks = false
protected

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

Referenced by getEnableInternalLinks().

◆ $enabledselfassessment

bool ilPageConfig::$enabledselfassessment = false
protected

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

Referenced by getEnableSelfAssessment().

◆ $enabledselfassessment_scorm

bool ilPageConfig::$enabledselfassessment_scorm = false
protected

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

Referenced by getEnableSelfAssessmentScorm().

◆ $enablewikilinks

bool ilPageConfig::$enablewikilinks = false
protected

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

Referenced by getEnableWikiLinks().

◆ $int_link_def_id

int ilPageConfig::$int_link_def_id = 0
protected

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

Referenced by getIntLinkHelpDefaultId().

◆ $int_link_def_id_is_ref

bool ilPageConfig::$int_link_def_id_is_ref = false
protected

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

Referenced by getIntLinkHelpDefaultIdIsRef().

◆ $int_link_def_type

string ilPageConfig::$int_link_def_type = ""
protected

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

Referenced by getIntLinkHelpDefaultType().

◆ $int_link_filter

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

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

Referenced by getIntLinkFilters().

◆ $link_filter_white_list

bool ilPageConfig::$link_filter_white_list = false
protected

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

Referenced by getIntLinkFilterWhiteList().

◆ $lng

ilLanguage ilPageConfig::$lng
protected

◆ $localization_lang

string ilPageConfig::$localization_lang = ""
protected

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

Referenced by getLocalizationLanguage().

◆ $multi_lang_support

bool ilPageConfig::$multi_lang_support = false
protected

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

Referenced by getMultiLangSupport().

◆ $page_obj_key

string ilPageConfig::$page_obj_key = ""
protected

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

◆ $page_toc

bool ilPageConfig::$page_toc = false
protected

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

Referenced by getEnablePageToc().

◆ $pc_defs

array ilPageConfig::$pc_defs = array()
protected

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

◆ $pc_enabled

array ilPageConfig::$pc_enabled = array()
protected

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

◆ $prevent_rte_usage

bool ilPageConfig::$prevent_rte_usage = false
protected

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

Referenced by getPreventRteUsage().

◆ $preventhtmlunmasking

bool ilPageConfig::$preventhtmlunmasking = false
protected

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

◆ $question_html

array ilPageConfig::$question_html = array()
protected

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

Referenced by getQuestionHTML(), and setQuestionHTML().

◆ $scheduled_activation

bool ilPageConfig::$scheduled_activation = false
protected

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

Referenced by getEnableScheduledActivation().

◆ $section_protection

int ilPageConfig::$section_protection = self::SEC_PROTECT_NONE
protected

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

Referenced by getSectionProtection().

◆ $section_protection_info

string ilPageConfig::$section_protection_info = ""
protected

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

Referenced by getSectionProtectionInfo().

◆ $single_page_mode

bool ilPageConfig::$single_page_mode = false
protected

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

Referenced by getSinglePageMode().

◆ $use_attached_content

bool ilPageConfig::$use_attached_content = false
protected

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

Referenced by getUseAttachedContent().

◆ $use_page_container

bool ilPageConfig::$use_page_container = true
protected

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

Referenced by getUsePageContainer().

◆ $use_stored_tries

bool ilPageConfig::$use_stored_tries = false
protected

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

Referenced by getUseStoredQuestionTries().

◆ SEC_PROTECT_EDITABLE

◆ SEC_PROTECT_NONE

const ilPageConfig::SEC_PROTECT_NONE = 0

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

◆ SEC_PROTECT_PROTECTED


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