ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Config class for page editing. More...
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... | |
setEnableUserLinks ($a_val) | |
Set enable user 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) | |
Set internal link default id. More... | |
getIntLinkHelpDefaultId () | |
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... | |
Protected Attributes | |
$int_link_filter = array("File") | |
$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 | |
$enable_permission_checks = false | |
|
final |
Constructor.
Definition at line 50 of file class.ilPageConfig.php.
References ilCOPagePCDef\getPCDefinitions(), init(), and setEnablePCType().
ilPageConfig::addIntLinkFilter | ( | $a_val | ) |
Add internal links filter.
string | internal links filter |
Definition at line 199 of file class.ilPageConfig.php.
References $lng, and setLocalizationLanguage().
Referenced by ilSCORM2004PageConfig\configureByObjectId(), ilWikiPageConfig\init(), and ilSCORM2004PageConfig\init().
ilPageConfig::getDisableDefaultQuestionFeedback | ( | ) |
Get disable default question feedback.
Definition at line 490 of file class.ilPageConfig.php.
References $disable_default_qfeedback.
ilPageConfig::getEnableActivation | ( | ) |
Get enabled actication.
Definition at line 377 of file class.ilPageConfig.php.
References $activation.
ilPageConfig::getEnableAnchors | ( | ) |
Get enable anchors.
Definition at line 129 of file class.ilPageConfig.php.
References $enable_anchors.
ilPageConfig::getEnableInternalLinks | ( | ) |
Get Enable internal links.
Definition at line 149 of file class.ilPageConfig.php.
References $enabledinternallinks.
ilPageConfig::getEnableKeywords | ( | ) |
Get enable keywords handling.
Definition at line 109 of file class.ilPageConfig.php.
References $enable_keywords.
ilPageConfig::getEnablePageToc | ( | ) |
Get enable page toc.
Definition at line 417 of file class.ilPageConfig.php.
References $page_toc.
ilPageConfig::getEnablePCType | ( | $a_pc_type | ) |
Get enable pc type.
Definition at line 89 of file class.ilPageConfig.php.
ilPageConfig::getEnablePermissionChecks | ( | ) |
Get enable permission checks.
Definition at line 580 of file class.ilPageConfig.php.
References $enable_permission_checks.
ilPageConfig::getEnableScheduledActivation | ( | ) |
Get enable scheduled page activation.
Definition at line 397 of file class.ilPageConfig.php.
References $scheduled_activation.
ilPageConfig::getEnableSelfAssessment | ( | ) |
Get Enable Self Assessment Questions.
Definition at line 460 of file class.ilPageConfig.php.
References $enabledselfassessment.
ilPageConfig::getEnableSelfAssessmentScorm | ( | ) |
Is self assessment used in SCORM mode?
Definition at line 470 of file class.ilPageConfig.php.
References $enabledselfassessment_scorm.
ilPageConfig::getEnableUserLinks | ( | ) |
Get enable user links.
Definition at line 169 of file class.ilPageConfig.php.
References $enable_user_links.
ilPageConfig::getEnableWikiLinks | ( | ) |
Get Enable Wiki Links.
Definition at line 189 of file class.ilPageConfig.php.
References $enablewikilinks.
ilPageConfig::getIntLinkFilters | ( | ) |
Get internal links filter.
Definition at line 237 of file class.ilPageConfig.php.
References $int_link_filter.
ilPageConfig::getIntLinkFilterWhiteList | ( | ) |
Get internal links filter type list to white list.
Definition at line 257 of file class.ilPageConfig.php.
ilPageConfig::getIntLinkHelpDefaultId | ( | ) |
Get internal link default id.
Definition at line 357 of file class.ilPageConfig.php.
References $int_link_def_id.
ilPageConfig::getIntLinkHelpDefaultType | ( | ) |
Get internal link default type.
Definition at line 337 of file class.ilPageConfig.php.
References $int_link_def_type.
ilPageConfig::getLocalizationLanguage | ( | ) |
Get localizazion language.
Definition at line 297 of file class.ilPageConfig.php.
ilPageConfig::getMultiLangSupport | ( | ) |
Get multi language support.
Definition at line 510 of file class.ilPageConfig.php.
References $multi_lang_support.
ilPageConfig::getPreventHTMLUnmasking | ( | ) |
Get Prevent HTML Unmasking (true/false).
Definition at line 437 of file class.ilPageConfig.php.
References $preventhtmlunmasking.
ilPageConfig::getPreventRteUsage | ( | ) |
Get prevent rte usage.
Definition at line 277 of file class.ilPageConfig.php.
References $prevent_rte_usage.
ilPageConfig::getQuestionHTML | ( | ) |
ilPageConfig::getSinglePageMode | ( | ) |
Get single page mode.
Definition at line 530 of file class.ilPageConfig.php.
References $single_page_mode.
ilPageConfig::getUseAttachedContent | ( | ) |
Get use attached content.
Definition at line 317 of file class.ilPageConfig.php.
References $use_attached_content.
ilPageConfig::getUseStoredQuestionTries | ( | ) |
Get use stored answers/tries.
Definition at line 560 of file class.ilPageConfig.php.
References $use_stored_tries.
ilPageConfig::init | ( | ) |
Init.
Definition at line 69 of file class.ilPageConfig.php.
Referenced by __construct().
ilPageConfig::removeIntLinkFilter | ( | $a_val | ) |
Remove int link filter.
string | $a_val | internal link filter |
Definition at line 220 of file class.ilPageConfig.php.
Referenced by ilLMPageConfig\init().
ilPageConfig::setDisableDefaultQuestionFeedback | ( | $a_val | ) |
Set disable default question feedback.
bool | $a_val | disable feedback |
Definition at line 480 of file class.ilPageConfig.php.
Referenced by ilLMPageConfig\configureByObjectId().
ilPageConfig::setEnableActivation | ( | $a_val | ) |
Set enabled actication.
bool | $a_val | page activation enabled? |
Definition at line 367 of file class.ilPageConfig.php.
Referenced by ilBlogPostingConfig\init(), ilImprintConfig\init(), ilLMPageConfig\init(), and ilDclDetailedViewDefinitionConfig\init().
ilPageConfig::setEnableAnchors | ( | $a_val | ) |
Set enable anchors.
boolean | anchors |
Definition at line 119 of file class.ilPageConfig.php.
Referenced by ilLMPageConfig\init(), and ilWikiPageConfig\init().
ilPageConfig::setEnableInternalLinks | ( | $a_enabledinternallinks | ) |
Set Enable internal links.
boolean | $a_enabledinternallinks | Enable internal links |
Definition at line 139 of file class.ilPageConfig.php.
Referenced by ilBlogPostingConfig\init(), ilImprintConfig\init(), ilPageLayoutPageConfig\init(), ilContainerStartObjectsPageConfig\init(), ilContainerPageConfig\init(), ilLoginPageConfig\init(), ilWikiPageConfig\init(), ilLOPageConfig\init(), ilGlossaryDefPageConfig\init(), ilPortfolioPageConfig\init(), ilMediaPoolPageConfig\init(), ilLMPageConfig\init(), ilSCORM2004PageConfig\init(), ilDclDetailedViewDefinitionConfig\init(), and ilAssQuestionPageConfig\init().
ilPageConfig::setEnableKeywords | ( | $a_val | ) |
Set enable keywords handling.
boolean | keywords handling |
Definition at line 99 of file class.ilPageConfig.php.
Referenced by ilGlossaryDefPageConfig\init(), and ilLMPageConfig\init().
ilPageConfig::setEnablePageToc | ( | $a_val | ) |
Set enable page toc.
bool | $a_val | enable page toc? |
Definition at line 407 of file class.ilPageConfig.php.
Referenced by ilWikiPageConfig\configureByObjectId().
ilPageConfig::setEnablePCType | ( | $a_pc_type, | |
$a_val | |||
) |
Set enable pc type.
boolean | $a_val | enable pc type true/false |
Definition at line 79 of file class.ilPageConfig.php.
Referenced by __construct(), ilPortfolioTemplatePageConfig\init(), ilBlogPostingConfig\init(), ilPortfolioPageConfig\init(), ilContainerStartObjectsPageConfig\init(), ilContainerPageConfig\init(), ilWikiPageConfig\init(), ilLoginPageConfig\init(), ilPageLayoutPageConfig\init(), ilSCORM2004PageConfig\init(), ilLOPageConfig\init(), ilLMPageConfig\init(), ilAssQuestionPageConfig\init(), and setEnableSelfAssessment().
ilPageConfig::setEnablePermissionChecks | ( | $a_val | ) |
Set enable permission checks.
bool | $a_val | enable permission checks |
Definition at line 570 of file class.ilPageConfig.php.
Referenced by ilContainerPageConfig\init().
ilPageConfig::setEnableScheduledActivation | ( | $a_val | ) |
Set enable scheduled page activation.
bool | $a_val | scheduled activated enabled? |
Definition at line 387 of file class.ilPageConfig.php.
Referenced by ilLMPageConfig\init().
ilPageConfig::setEnableSelfAssessment | ( | $a_enabledselfassessment, | |
$a_scorm = true |
|||
) |
Set Enable Self Assessment Questions.
boolean | $a_enabledselfassessment | Enable Self Assessment Questions |
Definition at line 447 of file class.ilPageConfig.php.
References setEnablePCType().
Referenced by ilLMPageConfig\configureByObjectId(), ilSCORM2004PageConfig\init(), and ilLMPageConfig\init().
ilPageConfig::setEnableUserLinks | ( | $a_val | ) |
Set enable user links.
boolean | $a_val | enable user links |
Definition at line 159 of file class.ilPageConfig.php.
Referenced by ilWikiPageConfig\init().
ilPageConfig::setEnableWikiLinks | ( | $a_enablewikilinks | ) |
Set Enable Wiki Links.
boolean | $a_enablewikilinks | Enable Wiki Links |
Definition at line 179 of file class.ilPageConfig.php.
Referenced by ilDclDetailedViewDefinitionConfig\init(), ilImprintConfig\init(), and ilWikiPageConfig\init().
ilPageConfig::setIntLinkFilterWhiteList | ( | $a_white_list | ) |
Set internal links filter type list to white list.
boolean | white list |
Definition at line 247 of file class.ilPageConfig.php.
Referenced by ilSCORM2004PageConfig\init(), and ilWikiPageConfig\init().
ilPageConfig::setIntLinkHelpDefaultId | ( | $a_val | ) |
Set internal link default id.
int | $a_val | default object if |
Definition at line 347 of file class.ilPageConfig.php.
Referenced by ilGlossaryDefPageConfig\init(), and ilLMPageConfig\init().
ilPageConfig::setIntLinkHelpDefaultType | ( | $a_val | ) |
Set internal link default type.
string | $a_val | type |
Definition at line 327 of file class.ilPageConfig.php.
Referenced by ilLOPageConfig\init(), ilContainerStartObjectsPageConfig\init(), ilContainerPageConfig\init(), ilWikiPageConfig\init(), ilSCORM2004PageConfig\init(), ilLMPageConfig\init(), and ilGlossaryDefPageConfig\init().
ilPageConfig::setLocalizationLanguage | ( | $a_val | ) |
Set localizazion language.
string | $a_val | lang key |
Definition at line 287 of file class.ilPageConfig.php.
Referenced by addIntLinkFilter(), and ilSCORM2004PageConfig\configureByObjectId().
ilPageConfig::setMultiLangSupport | ( | $a_val | ) |
Set multi language support.
bool | $a_val | general multi language support? |
Definition at line 500 of file class.ilPageConfig.php.
Referenced by ilLOPageConfig\init(), ilContainerStartObjectsPageConfig\init(), ilContainerPageConfig\init(), ilMediaPoolPageConfig\init(), and ilLMPageConfig\init().
ilPageConfig::setPreventHTMLUnmasking | ( | $a_preventhtmlunmasking | ) |
Set Prevent HTML Unmasking (true/false).
boolean | $a_preventhtmlunmasking | Prevent HTML Unmasking (true/false) |
Definition at line 427 of file class.ilPageConfig.php.
Referenced by ilBlogPostingConfig\init(), ilImprintConfig\init(), ilPageLayoutPageConfig\init(), ilWikiPageConfig\init(), ilSCORM2004PageConfig\init(), ilPortfolioPageConfig\init(), ilMediaPoolPageConfig\init(), ilLMPageConfig\init(), and ilDclDetailedViewDefinitionConfig\init().
ilPageConfig::setPreventRteUsage | ( | $a_val | ) |
Set prevent rte usage.
boolean | prevent rte usage |
Definition at line 267 of file class.ilPageConfig.php.
Referenced by ilLMPageConfig\init().
ilPageConfig::setQuestionHTML | ( | $question_html | ) |
ilPageConfig::setSinglePageMode | ( | $a_val | ) |
Set single page mode.
bool | $a_val | single page mode (only one page per parent_id) |
Definition at line 520 of file class.ilPageConfig.php.
Referenced by ilLOPageConfig\init(), ilContainerStartObjectsPageConfig\init(), and ilContainerPageConfig\init().
ilPageConfig::setUseAttachedContent | ( | $a_val | ) |
Set use attached content.
string | $a_val | use initial attached content |
Definition at line 307 of file class.ilPageConfig.php.
Referenced by ilLMPageConfig\init().
ilPageConfig::setUseStoredQuestionTries | ( | $a_val | ) |
Set use stored answers/tries.
bool | $a_val | use stored number of tries and given (correct) answers |
Definition at line 550 of file class.ilPageConfig.php.
|
protected |
Definition at line 24 of file class.ilPageConfig.php.
Referenced by getEnableActivation().
|
protected |
Definition at line 34 of file class.ilPageConfig.php.
Referenced by getDisableDefaultQuestionFeedback().
|
protected |
Definition at line 21 of file class.ilPageConfig.php.
Referenced by getEnableAnchors().
|
protected |
Definition at line 20 of file class.ilPageConfig.php.
Referenced by getEnableKeywords().
|
protected |
Definition at line 42 of file class.ilPageConfig.php.
Referenced by getEnablePermissionChecks().
|
protected |
Definition at line 37 of file class.ilPageConfig.php.
Referenced by getEnableUserLinks().
|
protected |
Definition at line 19 of file class.ilPageConfig.php.
Referenced by getEnableInternalLinks().
|
protected |
Definition at line 27 of file class.ilPageConfig.php.
Referenced by getEnableSelfAssessment().
|
protected |
Definition at line 28 of file class.ilPageConfig.php.
Referenced by getEnableSelfAssessmentScorm().
|
protected |
Definition at line 22 of file class.ilPageConfig.php.
Referenced by getEnableWikiLinks().
|
protected |
Definition at line 30 of file class.ilPageConfig.php.
Referenced by getIntLinkHelpDefaultId().
|
protected |
Definition at line 29 of file class.ilPageConfig.php.
Referenced by getIntLinkHelpDefaultType().
|
protected |
Definition at line 14 of file class.ilPageConfig.php.
Referenced by getIntLinkFilters().
|
protected |
Definition at line 31 of file class.ilPageConfig.php.
Referenced by getMultiLangSupport().
|
protected |
Definition at line 23 of file class.ilPageConfig.php.
Referenced by getEnablePageToc().
|
protected |
Definition at line 17 of file class.ilPageConfig.php.
|
protected |
Definition at line 18 of file class.ilPageConfig.php.
|
protected |
Definition at line 15 of file class.ilPageConfig.php.
Referenced by getPreventRteUsage().
|
protected |
Definition at line 26 of file class.ilPageConfig.php.
Referenced by getPreventHTMLUnmasking().
|
protected |
Definition at line 35 of file class.ilPageConfig.php.
Referenced by getQuestionHTML(), and setQuestionHTML().
|
protected |
Definition at line 25 of file class.ilPageConfig.php.
Referenced by getEnableScheduledActivation().
|
protected |
Definition at line 32 of file class.ilPageConfig.php.
Referenced by getSinglePageMode().
|
protected |
Definition at line 16 of file class.ilPageConfig.php.
Referenced by getUseAttachedContent().
|
protected |
Definition at line 36 of file class.ilPageConfig.php.
Referenced by getUseStoredQuestionTries().