ILIAS
Release_5_0_x_branch Revision 61816
|
Config class for page editing. More...
Public Member Functions | |
__construct () | |
Constructor. | |
init () | |
Init. | |
setEnablePCType ($a_pc_type, $a_val) | |
Set enable pc type. | |
getEnablePCType ($a_pc_type) | |
Get enable pc type. | |
setEnableKeywords ($a_val) | |
Set enable keywords handling. | |
getEnableKeywords () | |
Get enable keywords handling. | |
setEnableAnchors ($a_val) | |
Set enable anchors. | |
getEnableAnchors () | |
Get enable anchors. | |
setEnableInternalLinks ($a_enabledinternallinks) | |
Set Enable internal links. | |
getEnableInternalLinks () | |
Get Enable internal links. | |
setEnableWikiLinks ($a_enablewikilinks) | |
Set Enable Wiki Links. | |
getEnableWikiLinks () | |
Get Enable Wiki Links. | |
addIntLinkFilter ($a_val) | |
Add internal links filter. | |
removeIntLinkFilter ($a_val) | |
Remove int link filter. | |
getIntLinkFilters () | |
Get internal links filter. | |
setIntLinkFilterWhiteList ($a_white_list) | |
Set internal links filter type list to white list. | |
getIntLinkFilterWhiteList () | |
Get internal links filter type list to white list. | |
setPreventRteUsage ($a_val) | |
Set prevent rte usage. | |
getPreventRteUsage () | |
Get prevent rte usage. | |
setLocalizationLanguage ($a_val) | |
Set localizazion language. | |
getLocalizationLanguage () | |
Get localizazion language. | |
setUseAttachedContent ($a_val) | |
Set use attached content. | |
getUseAttachedContent () | |
Get use attached content. | |
setIntLinkHelpDefaultType ($a_val) | |
Set internal link default type. | |
getIntLinkHelpDefaultType () | |
Get internal link default type. | |
setIntLinkHelpDefaultId ($a_val) | |
Set internal link default id. | |
getIntLinkHelpDefaultId () | |
Get internal link default id. | |
setEnableActivation ($a_val) | |
Set enabled actication. | |
getEnableActivation () | |
Get enabled actication. | |
setEnableScheduledActivation ($a_val) | |
Set enable scheduled page activation. | |
getEnableScheduledActivation () | |
Get enable scheduled page activation. | |
setEnablePageToc ($a_val) | |
Set enable page toc. | |
getEnablePageToc () | |
Get enable page toc. | |
setPreventHTMLUnmasking ($a_preventhtmlunmasking) | |
Set Prevent HTML Unmasking (true/false). | |
getPreventHTMLUnmasking () | |
Get Prevent HTML Unmasking (true/false). | |
setEnableSelfAssessment ($a_enabledselfassessment, $a_scorm=true) | |
Set Enable Self Assessment Questions. | |
getEnableSelfAssessment () | |
Get Enable Self Assessment Questions. | |
getEnableSelfAssessmentScorm () | |
Is self assessment used in SCORM mode? | |
setDisableDefaultQuestionFeedback ($a_val) | |
Set disable default question feedback. | |
getDisableDefaultQuestionFeedback () | |
Get disable default question feedback. | |
setMultiLangSupport ($a_val) | |
Set multi language support. | |
getMultiLangSupport () | |
Get multi language support. | |
setSinglePageMode ($a_val) | |
Set single page mode. | |
getSinglePageMode () | |
Get single page mode. | |
setQuestionHTML ($question_html) | |
getQuestionHTML () | |
setUseStoredQuestionTries ($a_val) | |
Set use stored answers/tries. | |
getUseStoredQuestionTries () | |
Get use stored answers/tries. |
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 |
|
final |
Constructor.
@return |
Definition at line 44 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 173 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 464 of file class.ilPageConfig.php.
References $disable_default_qfeedback.
ilPageConfig::getEnableActivation | ( | ) |
Get enabled actication.
Definition at line 351 of file class.ilPageConfig.php.
References $activation.
ilPageConfig::getEnableAnchors | ( | ) |
Get enable anchors.
Definition at line 123 of file class.ilPageConfig.php.
References $enable_anchors.
ilPageConfig::getEnableInternalLinks | ( | ) |
Get Enable internal links.
Definition at line 143 of file class.ilPageConfig.php.
References $enabledinternallinks.
ilPageConfig::getEnableKeywords | ( | ) |
Get enable keywords handling.
Definition at line 103 of file class.ilPageConfig.php.
References $enable_keywords.
ilPageConfig::getEnablePageToc | ( | ) |
Get enable page toc.
Definition at line 391 of file class.ilPageConfig.php.
References $page_toc.
ilPageConfig::getEnablePCType | ( | $a_pc_type | ) |
Get enable pc type.
Definition at line 83 of file class.ilPageConfig.php.
ilPageConfig::getEnableScheduledActivation | ( | ) |
Get enable scheduled page activation.
Definition at line 371 of file class.ilPageConfig.php.
References $scheduled_activation.
ilPageConfig::getEnableSelfAssessment | ( | ) |
Get Enable Self Assessment Questions.
Definition at line 434 of file class.ilPageConfig.php.
References $enabledselfassessment.
ilPageConfig::getEnableSelfAssessmentScorm | ( | ) |
Is self assessment used in SCORM mode?
Definition at line 444 of file class.ilPageConfig.php.
References $enabledselfassessment_scorm.
ilPageConfig::getEnableWikiLinks | ( | ) |
Get Enable Wiki Links.
Definition at line 163 of file class.ilPageConfig.php.
References $enablewikilinks.
ilPageConfig::getIntLinkFilters | ( | ) |
Get internal links filter.
Definition at line 211 of file class.ilPageConfig.php.
References $int_link_filter.
ilPageConfig::getIntLinkFilterWhiteList | ( | ) |
Get internal links filter type list to white list.
Definition at line 231 of file class.ilPageConfig.php.
ilPageConfig::getIntLinkHelpDefaultId | ( | ) |
Get internal link default id.
Definition at line 331 of file class.ilPageConfig.php.
References $int_link_def_id.
ilPageConfig::getIntLinkHelpDefaultType | ( | ) |
Get internal link default type.
Definition at line 311 of file class.ilPageConfig.php.
References $int_link_def_type.
ilPageConfig::getLocalizationLanguage | ( | ) |
Get localizazion language.
Definition at line 271 of file class.ilPageConfig.php.
ilPageConfig::getMultiLangSupport | ( | ) |
Get multi language support.
Definition at line 484 of file class.ilPageConfig.php.
References $multi_lang_support.
ilPageConfig::getPreventHTMLUnmasking | ( | ) |
Get Prevent HTML Unmasking (true/false).
Definition at line 411 of file class.ilPageConfig.php.
References $preventhtmlunmasking.
ilPageConfig::getPreventRteUsage | ( | ) |
Get prevent rte usage.
Definition at line 251 of file class.ilPageConfig.php.
References $prevent_rte_usage.
ilPageConfig::getQuestionHTML | ( | ) |
Definition at line 514 of file class.ilPageConfig.php.
References $question_html.
ilPageConfig::getSinglePageMode | ( | ) |
Get single page mode.
Definition at line 504 of file class.ilPageConfig.php.
References $single_page_mode.
ilPageConfig::getUseAttachedContent | ( | ) |
Get use attached content.
Definition at line 291 of file class.ilPageConfig.php.
References $use_attached_content.
ilPageConfig::getUseStoredQuestionTries | ( | ) |
Get use stored answers/tries.
Definition at line 534 of file class.ilPageConfig.php.
References $use_stored_tries.
ilPageConfig::init | ( | ) |
Init.
@return |
Reimplemented in ilAssQuestionPageConfig, ilBlogPostingConfig, ilLOPageConfig, ilDataCollectionRecordViewViewdefinitionConfig, ilGlossaryDefPageConfig, ilLMPageConfig, ilMediaPoolPageConfig, ilPortfolioPageConfig, ilSCORM2004PageConfig, ilWikiPageConfig, ilLoginPageConfig, ilContainerPageConfig, ilContainerStartObjectsPageConfig, ilImprintConfig, ilShopPageConfig, ilPageLayoutPageConfig, ilAssHintPageConfig, ilAssGenFeedbackPageConfig, ilAssSpecFeedbackPageConfig, and ilPortfolioTemplatePageConfig.
Definition at line 63 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 194 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 454 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 341 of file class.ilPageConfig.php.
Referenced by ilBlogPostingConfig\init(), ilImprintConfig\init(), ilLMPageConfig\init(), and ilDataCollectionRecordViewViewdefinitionConfig\init().
ilPageConfig::setEnableAnchors | ( | $a_val | ) |
Set enable anchors.
boolean | anchors |
Definition at line 113 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 133 of file class.ilPageConfig.php.
Referenced by ilBlogPostingConfig\init(), ilPageLayoutPageConfig\init(), ilImprintConfig\init(), ilContainerStartObjectsPageConfig\init(), ilContainerPageConfig\init(), ilLoginPageConfig\init(), ilWikiPageConfig\init(), ilLOPageConfig\init(), ilGlossaryDefPageConfig\init(), ilPortfolioPageConfig\init(), ilMediaPoolPageConfig\init(), ilLMPageConfig\init(), ilSCORM2004PageConfig\init(), ilDataCollectionRecordViewViewdefinitionConfig\init(), and ilAssQuestionPageConfig\init().
ilPageConfig::setEnableKeywords | ( | $a_val | ) |
Set enable keywords handling.
boolean | keywords handling |
Definition at line 93 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 381 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 73 of file class.ilPageConfig.php.
Referenced by __construct(), ilPortfolioTemplatePageConfig\init(), ilBlogPostingConfig\init(), ilPortfolioPageConfig\init(), ilSCORM2004PageConfig\init(), ilContainerStartObjectsPageConfig\init(), ilContainerPageConfig\init(), ilWikiPageConfig\init(), ilLoginPageConfig\init(), ilShopPageConfig\init(), ilLMPageConfig\init(), ilLOPageConfig\init(), ilPageLayoutPageConfig\init(), ilAssQuestionPageConfig\init(), and setEnableSelfAssessment().
ilPageConfig::setEnableScheduledActivation | ( | $a_val | ) |
Set enable scheduled page activation.
bool | $a_val | scheduled activated enabled? |
Definition at line 361 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 421 of file class.ilPageConfig.php.
References setEnablePCType().
Referenced by ilLMPageConfig\configureByObjectId(), ilSCORM2004PageConfig\init(), and ilLMPageConfig\init().
ilPageConfig::setEnableWikiLinks | ( | $a_enablewikilinks | ) |
Set Enable Wiki Links.
boolean | $a_enablewikilinks | Enable Wiki Links |
Definition at line 153 of file class.ilPageConfig.php.
Referenced by ilDataCollectionRecordViewViewdefinitionConfig\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 221 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 321 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 301 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 261 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 474 of file class.ilPageConfig.php.
Referenced by ilLOPageConfig\init(), ilContainerStartObjectsPageConfig\init(), ilContainerPageConfig\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 401 of file class.ilPageConfig.php.
Referenced by ilBlogPostingConfig\init(), ilPageLayoutPageConfig\init(), ilImprintConfig\init(), ilWikiPageConfig\init(), ilSCORM2004PageConfig\init(), ilPortfolioPageConfig\init(), ilMediaPoolPageConfig\init(), ilLMPageConfig\init(), and ilDataCollectionRecordViewViewdefinitionConfig\init().
ilPageConfig::setPreventRteUsage | ( | $a_val | ) |
Set prevent rte usage.
boolean | prevent rte usage |
Definition at line 241 of file class.ilPageConfig.php.
Referenced by ilLMPageConfig\init().
ilPageConfig::setQuestionHTML | ( | $question_html | ) |
Definition at line 509 of file class.ilPageConfig.php.
References $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 494 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 281 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 524 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 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().