ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ()
 
 setLayoutTemplateType (int $type)
 
 getLayoutTemplateType ()
 
 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 Member Functions

 loadPCDefs ()
 
 loadParentKey ()
 

Protected Attributes

ILIAS COPage PC PCDefinition $pc_definition
 
int $layout_template_type = 0
 
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 73 of file class.ilPageConfig.php.

74 {
75 global $DIC;
76
77 $this->pc_definition = $DIC
78 ->copage()
79 ->internal()
80 ->domain()
81 ->pc()
82 ->definition();
83 $this->lng = $DIC->language();
84 $this->loadPCDefs();
85 $this->adve_set = new ilSetting("adve");
86 $this->loadParentKey();
87 $this->init();
88 }
ILIAS Setting Class.
global $DIC
Definition: shib_login.php:26

References $DIC, init(), ILIAS\Repository\lng(), loadParentKey(), and loadPCDefs().

+ 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 210 of file class.ilPageConfig.php.

210 : void
211 {
213
215 $this->int_link_filter[] = $a_val;
216 }
getLangKey()
Return lang key.
setLocalizationLanguage(string $a_val)

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

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDisableDefaultQuestionFeedback()

ilPageConfig::getDisableDefaultQuestionFeedback ( )

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

387 : bool
388 {
390 }
bool $disable_default_qfeedback

◆ getEditLockSupport()

ilPageConfig::getEditLockSupport ( )

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

458 : bool
459 {
461 }

◆ getEnableActivation()

ilPageConfig::getEnableActivation ( )

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

321 : bool
322 {
323 return $this->activation;
324 }

◆ getEnableAnchors()

ilPageConfig::getEnableAnchors ( )

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

166 : bool
167 {
169 }

References $enable_anchors.

◆ getEnabledTopPCTypes()

ilPageConfig::getEnabledTopPCTypes ( )

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

140 : array
141 {
142 $types = [];
143 foreach ($this->pc_defs as $def) {
144 if ($def["top_item"] && $this->getEnablePCType($def["name"])) {
145 $types[] = $def;
146 }
147 }
148 return $types;
149 }
getEnablePCType(string $a_pc_type)

References getEnablePCType().

+ Here is the call graph for this function:

◆ getEnableInternalLinks()

ilPageConfig::getEnableInternalLinks ( )

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

176 : bool
177 {
179 }

References $enabledinternallinks.

Referenced by getEnableUserLinks().

+ Here is the caller graph for this function:

◆ getEnableKeywords()

ilPageConfig::getEnableKeywords ( )

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

156 : bool
157 {
159 }

References $enable_keywords.

◆ getEnablePageToc()

ilPageConfig::getEnablePageToc ( )

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

341 : bool
342 {
343 return $this->page_toc;
344 }

◆ getEnablePCType()

ilPageConfig::getEnablePCType ( string  $a_pc_type)

Reimplemented in ilUnitTestPageConfig.

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

135 : bool
136 {
137 return $this->pc_enabled[$a_pc_type];
138 }

Referenced by getEnabledTopPCTypes().

+ Here is the caller graph for this function:

◆ getEnablePermissionChecks()

ilPageConfig::getEnablePermissionChecks ( )

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

445 : bool
446 {
448 }
bool $enable_permission_checks

◆ getEnableScheduledActivation()

ilPageConfig::getEnableScheduledActivation ( )

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

331 : bool
332 {
334 }

◆ getEnableSelfAssessment()

ilPageConfig::getEnableSelfAssessment ( )

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

366 : bool
367 {
369 }

◆ getEnableSelfAssessmentScorm()

ilPageConfig::getEnableSelfAssessmentScorm ( )

Is self assessment used in SCORM mode?

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

374 : bool
375 {
377 }
bool $enabledselfassessment_scorm

◆ getEnableUserLinks()

ilPageConfig::getEnableUserLinks ( )

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

181 : bool
182 {
183 if (!$this->getEnableInternalLinks()) {
184 return false;
185 }
186 if ($this->getIntLinkFilterWhiteList() && in_array("User", $this->int_link_filter)) {
187 return true;
188 }
189 if (!$this->getIntLinkFilterWhiteList() && !in_array("User", $this->int_link_filter)) {
190 return true;
191 }
192
193 return false;
194 }

References getEnableInternalLinks(), and getIntLinkFilterWhiteList().

+ Here is the call graph for this function:

◆ getEnableWikiLinks()

ilPageConfig::getEnableWikiLinks ( )

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

201 : bool
202 {
204 }

References $enablewikilinks.

◆ getIntLinkFilters()

ilPageConfig::getIntLinkFilters ( )

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

227 : array
228 {
230 }

References $int_link_filter.

◆ getIntLinkFilterWhiteList()

ilPageConfig::getIntLinkFilterWhiteList ( )

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

243 : bool
244 {
246 }

References $link_filter_white_list.

Referenced by getEnableUserLinks().

+ Here is the caller graph for this function:

◆ getIntLinkHelpDefaultId()

ilPageConfig::getIntLinkHelpDefaultId ( )

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

303 : int
304 {
306 }

◆ getIntLinkHelpDefaultIdIsRef()

ilPageConfig::getIntLinkHelpDefaultIdIsRef ( )

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

308 : bool
309 {
311 }

◆ getIntLinkHelpDefaultType()

ilPageConfig::getIntLinkHelpDefaultType ( )

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

286 : string
287 {
289 }

References $int_link_def_type.

◆ getLayoutTemplateType()

ilPageConfig::getLayoutTemplateType ( )

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

125 : int
126 {
128 }

References $layout_template_type.

Referenced by loadParentKey().

+ Here is the caller graph for this function:

◆ getLocalizationLanguage()

ilPageConfig::getLocalizationLanguage ( )

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

266 : string
267 {
269 }

References $localization_lang.

◆ getMultiLangSupport()

ilPageConfig::getMultiLangSupport ( )

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

397 : bool
398 {
400 }

◆ getPreventHTMLUnmasking()

ilPageConfig::getPreventHTMLUnmasking ( )

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

352 : bool
353 {
354 return true;
355 }

◆ getPreventRteUsage()

ilPageConfig::getPreventRteUsage ( )

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

253 : bool
254 {
256 }

References $prevent_rte_usage.

◆ getQuestionHTML()

ilPageConfig::getQuestionHTML ( )

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

421 : array
422 {
424 }

◆ getSectionProtection()

ilPageConfig::getSectionProtection ( )

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

481 : int
482 {
484 }

◆ getSectionProtectionInfo()

ilPageConfig::getSectionProtectionInfo ( )

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

491 : string
492 {
494 }
string $section_protection_info

◆ getSinglePageMode()

ilPageConfig::getSinglePageMode ( )

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

411 : bool
412 {
414 }

◆ getUseAttachedContent()

ilPageConfig::getUseAttachedContent ( )

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

276 : bool
277 {
279 }

References $use_attached_content.

◆ getUsePageContainer()

ilPageConfig::getUsePageContainer ( )

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

471 : bool
472 {
474 }

◆ getUseStoredQuestionTries()

ilPageConfig::getUseStoredQuestionTries ( )

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

435 : bool
436 {
438 }

◆ init()

◆ loadParentKey()

ilPageConfig::loadParentKey ( )
protected

Reimplemented in ilUnitTestPageConfig.

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

99 : void
100 {
101 $def = new ilCOPageObjDef();
102 foreach ($def->getDefinitions() as $key => $def) {
103 if (strtolower(get_class($this)) == strtolower($def["class_name"] . "Config")) {
104 $this->page_obj_key = $key;
105 }
106 }
107 $this->init();
108 if ($this->getLayoutTemplateType() > 0) {
110 if (count($templates) > 0) {
111 $this->setEnablePCType("LayoutTemplate", true);
112 }
113 }
114 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setEnablePCType(string $a_pc_type, bool $a_val)
static activeLayouts(int $a_module=0)
Get active layouts.

References ilPageLayout\activeLayouts(), getLayoutTemplateType(), init(), and setEnablePCType().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadPCDefs()

ilPageConfig::loadPCDefs ( )
protected

Reimplemented in ilUnitTestPageConfig.

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

90 : void
91 {
92 // load pc_defs
93 $this->pc_defs = $this->pc_definition->getPCDefinitions();
94 foreach ($this->pc_defs as $def) {
95 $this->setEnablePCType($def["name"], (bool) $def["def_enabled"]);
96 }
97 }

References setEnablePCType().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeIntLinkFilter()

ilPageConfig::removeIntLinkFilter ( string  $a_val)

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

218 : void
219 {
220 foreach ($this->int_link_filter as $k => $v) {
221 if ($v == $a_val) {
222 unset($this->int_link_filter[$k]);
223 }
224 }
225 }

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

+ Here is the caller graph for this function:

◆ setDisableDefaultQuestionFeedback()

ilPageConfig::setDisableDefaultQuestionFeedback ( bool  $a_val)

Set disable default question feedback.

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

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

Referenced by ilLMPageConfig\configureByObjectId().

+ 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 453 of file class.ilPageConfig.php.

453 : void
454 {
455 $this->edit_lock_support = $a_val;
456 }

Referenced by ilPortfolioPageConfig\init().

+ Here is the caller graph for this function:

◆ setEnableActivation()

ilPageConfig::setEnableActivation ( bool  $a_val)

Set enabled page activation.

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

316 : void
317 {
318 $this->activation = $a_val;
319 }

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

+ Here is the caller graph for this function:

◆ setEnableAnchors()

ilPageConfig::setEnableAnchors ( bool  $a_val)

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

161 : void
162 {
163 $this->enable_anchors = $a_val;
164 }

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

+ Here is the caller graph for this function:

◆ setEnableInternalLinks()

◆ setEnableKeywords()

ilPageConfig::setEnableKeywords ( bool  $a_val)

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

151 : void
152 {
153 $this->enable_keywords = $a_val;
154 }

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

+ Here is the caller graph for this function:

◆ setEnablePageToc()

ilPageConfig::setEnablePageToc ( bool  $a_val)

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

336 : void
337 {
338 $this->page_toc = $a_val;
339 }

Referenced by ilWikiPageConfig\configureByObjectId().

+ Here is the caller graph for this function:

◆ setEnablePCType()

◆ setEnablePermissionChecks()

ilPageConfig::setEnablePermissionChecks ( bool  $a_val)

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

440 : void
441 {
442 $this->enable_permission_checks = $a_val;
443 }

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

+ Here is the caller graph for this function:

◆ setEnableScheduledActivation()

ilPageConfig::setEnableScheduledActivation ( bool  $a_val)

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

326 : void
327 {
328 $this->scheduled_activation = $a_val;
329 }

Referenced by ilLMPageConfig\init().

+ Here is the caller graph for this function:

◆ setEnableSelfAssessment()

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

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

360 : void {
361 $this->setEnablePCType("Question", $a_enabledselfassessment);
362 $this->enabledselfassessment = $a_enabledselfassessment;
363 $this->enabledselfassessment_scorm = $a_scorm;
364 }

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

+ Here is the caller graph for this function:

◆ setEnableWikiLinks()

ilPageConfig::setEnableWikiLinks ( bool  $a_enablewikilinks)

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

196 : void
197 {
198 $this->enablewikilinks = $a_enablewikilinks;
199 }

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

+ 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 235 of file class.ilPageConfig.php.

235 : void
236 {
237 $this->link_filter_white_list = $a_white_list;
238 if ($a_white_list) {
239 $this->int_link_filter = array();
240 }
241 }

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

+ 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 295 of file class.ilPageConfig.php.

298 : void {
299 $this->int_link_def_id = $a_val;
300 $this->int_link_def_id_is_ref = $a_is_ref;
301 }

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

+ Here is the caller graph for this function:

◆ setIntLinkHelpDefaultType()

ilPageConfig::setIntLinkHelpDefaultType ( string  $a_val)

◆ setLayoutTemplateType()

ilPageConfig::setLayoutTemplateType ( int  $type)

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

120 : void
121 {
122 $this->layout_template_type = $type;
123 }

Referenced by ilLMPageConfig\init().

+ Here is the caller graph for this function:

◆ setLocalizationLanguage()

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

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

261 : void
262 {
263 $this->localization_lang = $a_val;
264 }

Referenced by addIntLinkFilter().

+ Here is the caller graph for this function:

◆ setMultiLangSupport()

ilPageConfig::setMultiLangSupport ( bool  $a_val)

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

392 : void
393 {
394 $this->multi_lang_support = $a_val;
395 }

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

+ Here is the caller graph for this function:

◆ setPreventHTMLUnmasking()

ilPageConfig::setPreventHTMLUnmasking ( bool  $a_preventhtmlunmasking)

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

348 : void {
349 $this->preventhtmlunmasking = $a_preventhtmlunmasking;
350 }

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

+ Here is the caller graph for this function:

◆ setPreventRteUsage()

ilPageConfig::setPreventRteUsage ( bool  $a_val)

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

248 : void
249 {
250 $this->prevent_rte_usage = $a_val;
251 }

Referenced by ilLMPageConfig\init().

+ Here is the caller graph for this function:

◆ setQuestionHTML()

ilPageConfig::setQuestionHTML ( array  $question_html)

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

416 : void
417 {
418 $this->question_html = $question_html;
419 }

◆ setSectionProtection()

ilPageConfig::setSectionProtection ( int  $a_val)

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

476 : void
477 {
478 $this->section_protection = $a_val;
479 }

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

+ Here is the caller graph for this function:

◆ setSectionProtectionInfo()

ilPageConfig::setSectionProtectionInfo ( string  $a_val)

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

486 : void
487 {
488 $this->section_protection_info = $a_val;
489 }

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

+ 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 406 of file class.ilPageConfig.php.

406 : void
407 {
408 $this->single_page_mode = $a_val;
409 }

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

+ Here is the caller graph for this function:

◆ setUseAttachedContent()

ilPageConfig::setUseAttachedContent ( bool  $a_val)

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

271 : void
272 {
273 $this->use_attached_content = $a_val;
274 }

Referenced by ilLMPageConfig\init().

+ 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 466 of file class.ilPageConfig.php.

466 : void
467 {
468 $this->use_page_container = $a_val;
469 }

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

+ 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 430 of file class.ilPageConfig.php.

430 : void
431 {
432 $this->use_stored_tries = $a_val;
433 }

Field Documentation

◆ $activation

bool ilPageConfig::$activation = false
protected

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

◆ $adve_set

ilSetting ilPageConfig::$adve_set
protected

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

◆ $disable_default_qfeedback

bool ilPageConfig::$disable_default_qfeedback = false
protected

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

◆ $edit_lock_support

bool ilPageConfig::$edit_lock_support = true
protected

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

◆ $enable_anchors

bool ilPageConfig::$enable_anchors = false
protected

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

Referenced by getEnableAnchors().

◆ $enable_keywords

bool ilPageConfig::$enable_keywords = false
protected

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

Referenced by getEnableKeywords().

◆ $enable_permission_checks

bool ilPageConfig::$enable_permission_checks = false
protected

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

◆ $enable_user_links

bool ilPageConfig::$enable_user_links = false
protected

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

◆ $enabledinternallinks

bool ilPageConfig::$enabledinternallinks = false
protected

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

Referenced by getEnableInternalLinks().

◆ $enabledselfassessment

bool ilPageConfig::$enabledselfassessment = false
protected

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

◆ $enabledselfassessment_scorm

bool ilPageConfig::$enabledselfassessment_scorm = false
protected

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

◆ $enablewikilinks

bool ilPageConfig::$enablewikilinks = false
protected

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

Referenced by getEnableWikiLinks().

◆ $int_link_def_id

int ilPageConfig::$int_link_def_id = 0
protected

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

◆ $int_link_def_id_is_ref

bool ilPageConfig::$int_link_def_id_is_ref = false
protected

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

◆ $int_link_def_type

string ilPageConfig::$int_link_def_type = ""
protected

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

Referenced by getIntLinkHelpDefaultType().

◆ $int_link_filter

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

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

Referenced by getIntLinkFilters().

◆ $layout_template_type

int ilPageConfig::$layout_template_type = 0
protected

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

Referenced by getLayoutTemplateType().

◆ $link_filter_white_list

bool ilPageConfig::$link_filter_white_list = false
protected

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

Referenced by getIntLinkFilterWhiteList().

◆ $lng

ilLanguage ilPageConfig::$lng
protected

◆ $localization_lang

string ilPageConfig::$localization_lang = ""
protected

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

Referenced by getLocalizationLanguage().

◆ $multi_lang_support

bool ilPageConfig::$multi_lang_support = false
protected

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

◆ $page_obj_key

string ilPageConfig::$page_obj_key = ""
protected

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

◆ $page_toc

bool ilPageConfig::$page_toc = false
protected

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

◆ $pc_definition

ILIAS COPage PC PCDefinition ilPageConfig::$pc_definition
protected

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

◆ $pc_defs

array ilPageConfig::$pc_defs = array()
protected

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

◆ $pc_enabled

array ilPageConfig::$pc_enabled = array()
protected

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

◆ $prevent_rte_usage

bool ilPageConfig::$prevent_rte_usage = false
protected

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

Referenced by getPreventRteUsage().

◆ $preventhtmlunmasking

bool ilPageConfig::$preventhtmlunmasking = false
protected

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

◆ $question_html

array ilPageConfig::$question_html = array()
protected

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

◆ $scheduled_activation

bool ilPageConfig::$scheduled_activation = false
protected

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

◆ $section_protection

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

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

◆ $section_protection_info

string ilPageConfig::$section_protection_info = ""
protected

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

◆ $single_page_mode

bool ilPageConfig::$single_page_mode = false
protected

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

◆ $use_attached_content

bool ilPageConfig::$use_attached_content = false
protected

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

Referenced by getUseAttachedContent().

◆ $use_page_container

bool ilPageConfig::$use_page_container = true
protected

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

◆ $use_stored_tries

bool ilPageConfig::$use_stored_tries = false
protected

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

◆ SEC_PROTECT_EDITABLE

const ilPageConfig::SEC_PROTECT_EDITABLE = 1

◆ 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: