ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilPageObjectGUI. More...
Public Member Functions | |
ilPageObjectGUI ($a_parent_type, $a_id=0, $a_old_nr=0) | |
Constructor public. | |
initPageObject ($a_parent_type, $a_id, $a_old_nr) | |
setBibId ($a_id) | |
Set Bib Id. | |
getBibId () | |
Get Bib Id. | |
setPageObject ($a_pg_obj) | |
Set Page Object. | |
getPageObject () | |
Get Page Object. | |
setOutputMode ($a_mode=IL_PAGE_PRESENTATION) | |
Set Output Mode. | |
getOutputMode () | |
setTemplateOutput ($a_output=true) | |
outputToTemplate () | |
setPresentationTitle ($a_title="") | |
getPresentationTitle () | |
setHeader ($a_title="") | |
getHeader () | |
setLinkParams ($l_params="") | |
getLinkParams () | |
setLinkFrame ($l_frame="") | |
getLinkFrame () | |
setLinkXML ($link_xml) | |
getLinkXML () | |
setQuestionXML ($question_xml) | |
setQuestionHTML ($question_html) | |
getQuestionXML () | |
getQuestionHTML () | |
setTemplateTargetVar ($a_variable) | |
getTemplateTargetVar () | |
setTemplateOutputVar ($a_value) | |
getTemplateOutputVar () | |
setOutputSubmode ($a_mode) | |
getOutputSubmode () | |
setSourcecodeDownloadScript ($script_name) | |
getSourcecodeDownloadScript () | |
enableCitation ($a_enabled) | |
isEnabledCitation () | |
setLocator (&$a_locator) | |
setTabs ($a_tabs) | |
setPageBackTitle ($a_title) | |
setFileDownloadLink ($a_download_link) | |
getFileDownloadLink () | |
setFullscreenLink ($a_fullscreen_link) | |
getFullscreenLink () | |
setIntLinkHelpDefault ($a_type, $a_id) | |
setIntLinkReturn ($a_return) | |
enableChangeComments ($a_enabled) | |
isEnabledChangeComments () | |
enableNotes ($a_enabled, $a_parent_id) | |
isEnabledNotes () | |
enableContentIncludes ($a_enable) | |
Enable content includes. | |
isEnabledContentIncludes () | |
Are content includes enabled? | |
setOfflineDirectory ($offdir) | |
set offline directory to offdir | |
getOfflineDirectory () | |
get offline directory | |
setViewPageLink ($a_link, $a_target="") | |
set link for "view page" button | |
getViewPageLink () | |
get view page link | |
getViewPageTarget () | |
get view page target frame | |
setActivationListener (&$a_obj, $a_meth) | |
setEnabledActivation ($a_act) | |
getEnabledActivation () | |
setEnabledScheduledActivation ($a_act) | |
getEnabledScheduledActivation () | |
setTabHook ($a_object, $a_function) | |
Set tab hook. | |
setEnabledInternalLinks ($a_enabledinternallinks) | |
Set Enable internal links. | |
getEnabledInternalLinks () | |
Get Enable internal links. | |
setEditPreview ($a_editpreview) | |
Set Display first Edit tab, then Preview tab, instead of Page and Edit. | |
getEditPreview () | |
Get Display first Edit tab, then Preview tab, instead of Page and Edit. | |
setPreventHTMLUnmasking ($a_preventhtmlunmasking) | |
Set Prevent HTML Unmasking (true/false). | |
getPreventHTMLUnmasking () | |
Get Prevent HTML Unmasking (true/false). | |
setEnabledTabs ($a_enabledtabs) | |
Set Output tabs. | |
getEnabledTabs () | |
Get Output tabs. | |
setEnabledRepositoryObjects ($a_enabledrepositoryobjects) | |
Set Enable Repository Objects Content Component. | |
getEnabledRepositoryObjects () | |
Get Enable Repository Objects Content Component. | |
setEnabledMaps ($a_enabledmaps) | |
Set Enable Maps Content Component. | |
getEnabledMaps () | |
Get Enable Maps Content Component. | |
setEnabledPCTabs ($a_enabledpctabs) | |
Set Enable Tabs Content Component. | |
getEnabledPCTabs () | |
Get Enable Tabs Content Component. | |
setEnabledFileLists ($a_enabledfilelists) | |
Set Enable File Lists Content Componente (Default is true). | |
getEnabledFileLists () | |
Get Enable File Lists Content Componente (Default is true). | |
setEnabledPageFocus ($a_enabledpagefocus) | |
Set Enable page focus. | |
getEnabledPageFocus () | |
Get Enable page focus. | |
setExplorerUpdater ($a_exp_frame, $a_exp_id, $a_exp_target_script) | |
Set Explorer Updater. | |
setPrependingHtml ($a_prependinghtml) | |
Set Prepending HTML. | |
getPrependingHtml () | |
Get Prepending HTML. | |
setEnabledWikiLinks ($a_enablewikilinks) | |
Set Enable Wiki Links. | |
getEnabledWikiLinks () | |
Get Enable Wiki Links. | |
setEnableEditing ($a_enableediting) | |
Set Enable Editing. | |
getEnableEditing () | |
Get Enable Editing. | |
setRawPageContent ($a_rawpagecontent) | |
Set Get raw page content only. | |
getRawPageContent () | |
Get Get raw page content only. | |
setLayoutMode ($a_layout_mode) | |
Set Layout Mode. | |
getLayoutMode () | |
Get Layout Mode enabled/disabled. | |
setStyleId ($a_styleid) | |
Set Style Id. | |
getStyleId () | |
Get Style Id. | |
setEnabledSelfAssessment ($a_enabledselfassessment) | |
Set Enable Self Assessment Questions. | |
getEnabledSelfAssessment () | |
Get Enable Self Assessment Questions. | |
setCompareMode ($a_val) | |
Set compare mode. | |
getCompareMode () | |
Get compare mode. | |
activateMetaDataEditor ($a_rep_obj_id, $a_sub_obj_id, $a_type, $a_observer_obj=NULL, $a_observer_func="") | |
Activate meda data editor. | |
determineFileDownloadLink () | |
Determine file download link. | |
determineFullscreenLink () | |
Determine fullscreen link. | |
determineSourcecodeDownloadScript () | |
Determine source code download script. | |
getComponentPluginsXML () | |
Put information about activated plugins into XML. | |
& | executeCommand () |
execute command | |
deactivatePage () | |
activatePage () | |
showPage () | |
setDefaultLinkXml () | |
Set standard link xml. | |
downloadFile () | |
Download file of file lists. | |
displayMediaFullscreen () | |
Show media in fullscreen mode. | |
download_paragraph () | |
download source code paragraph | |
insertMaps ($a_html) | |
Insert Maps. | |
insertContentIncludes ($a_html) | |
Insert Maps. | |
postOutputProcessing ($a_output) | |
Finalizing output processing. | |
insertHelp ($a_tpl) | |
Insert help texts. | |
preview () | |
edit () | |
presentation ($a_mode=IL_PAGE_PRESENTATION) | |
getHTML () | |
showMediaFullscreen ($a_style_id=0) | |
show fullscreen view of media object | |
displayValidationError ($a_error) | |
display validation error | |
history () | |
Get history table as HTML. | |
rollbackConfirmation () | |
Rollback confirmation. | |
rollback () | |
Rollback to a previous version. | |
getTabs ($a_activate="") | |
adds tabs to tab gui object | |
compareVersion () | |
Compares two revisions of the page. | |
replaceDiffTags ($a_html) | |
editActivation () | |
Edit activation (only, if scheduled page activation is activated in administration) | |
initActivationForm () | |
Init activation form. | |
getActivationFormValues () | |
Get values for activation form. | |
saveActivation () | |
Save Activation. | |
getNotesHTML ($a_mode="") | |
Get notes HTML. |
Data Fields | |
$ilias | |
$tpl | |
$lng | |
$ctrl | |
$obj | |
$output_mode | |
$output_submode | |
$presentation_title | |
$target_script | |
$return_location | |
$target_var | |
$template_output_var | |
$output2template | |
$link_params | |
$bib_id | |
$citation | |
$sourcecode_download_script | |
$change_comments | |
$question_html | |
$activation = false | |
$activated = true | |
$enabledinternallinks = true | |
$editpreview = false | |
$use_meta_data = false | |
$enabledtabs = true | |
$enabledpctabs = false | |
$link_xml_set = false | |
$enableediting = true | |
$rawpagecontent = false | |
$layoutmode = false | |
$enabledcontentincludes = false | |
$compare_mode = false |
Class ilPageObjectGUI.
User Interface for Page Objects Editing
ilPageObjectGUI: ilPageEditorGUI, ilEditClipboardGUI, ilMDEditorGUI ilPageObjectGUI: ilPublicUserProfileGUI, ilNoteGUI
Definition at line 32 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::activateMetaDataEditor | ( | $a_rep_obj_id, | |
$a_sub_obj_id, | |||
$a_type, | |||
$a_observer_obj = NULL , |
|||
$a_observer_func = "" |
|||
) |
Activate meda data editor.
int | $a_rep_obj_id | object id as used in repository |
int | $a_sub_obj_id | sub object id |
string | $a_type | object type |
object | $a_observer_obj | observer object |
object | $a_observer_func | observer function |
Definition at line 835 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::activatePage | ( | ) |
Definition at line 1022 of file class.ilPageObjectGUI.php.
References getPageObject().
ilPageObjectGUI::compareVersion | ( | ) |
Compares two revisions of the page.
Definition at line 2348 of file class.ilPageObjectGUI.php.
References $_POST, $lng, $tpl, getEnableEditing(), getPresentationTitle(), IL_PAGE_PREVIEW, ilPageObjectGUI(), and replaceDiffTags().
ilPageObjectGUI::deactivatePage | ( | ) |
Definition at line 1013 of file class.ilPageObjectGUI.php.
References getPageObject().
ilPageObjectGUI::determineFileDownloadLink | ( | ) |
Determine file download link.
Definition at line 851 of file class.ilPageObjectGUI.php.
References $ilCtrl, getFileDownloadLink(), and getOutputMode().
Referenced by insertContentIncludes(), and showPage().
ilPageObjectGUI::determineFullscreenLink | ( | ) |
Determine fullscreen link.
Definition at line 868 of file class.ilPageObjectGUI.php.
References $ilCtrl, getFullscreenLink(), and getOutputMode().
Referenced by insertContentIncludes(), and showPage().
ilPageObjectGUI::determineSourcecodeDownloadScript | ( | ) |
Determine source code download script.
Definition at line 885 of file class.ilPageObjectGUI.php.
References $ilCtrl, $l, $sourcecode_download_script, and getOutputMode().
Referenced by insertContentIncludes(), and showPage().
ilPageObjectGUI::displayMediaFullscreen | ( | ) |
Show media in fullscreen mode.
Definition at line 1836 of file class.ilPageObjectGUI.php.
References $_GET, $params, $tpl, ilMediaItem\_getMapAreasIntLinks(), exit, ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), getPageObject(), ilUtil\getStyleSheetLocation(), ilUtil\getWebspaceDir(), IL_MODE_OUTPUT, xslt_create(), xslt_free(), and xslt_process().
ilPageObjectGUI::displayValidationError | ( | $a_error | ) |
display validation error
string | $a_error | error string |
Definition at line 2159 of file class.ilPageObjectGUI.php.
References $error.
Referenced by showPage().
ilPageObjectGUI::download_paragraph | ( | ) |
download source code paragraph
Definition at line 1888 of file class.ilPageObjectGUI.php.
References $_GET, and getPageObject().
ilPageObjectGUI::downloadFile | ( | ) |
Download file of file lists.
Definition at line 1824 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::edit | ( | ) |
Definition at line 2057 of file class.ilPageObjectGUI.php.
References $ilCtrl, $lng, getEnableEditing(), IL_PAGE_EDIT, isEnabledNotes(), ilUtil\sendFailure(), setOutputMode(), and showPage().
Referenced by executeCommand().
ilPageObjectGUI::editActivation | ( | ) |
Edit activation (only, if scheduled page activation is activated in administration)
Definition at line 2409 of file class.ilPageObjectGUI.php.
References $ilCtrl, $lng, $tpl, getActivationFormValues(), and initActivationForm().
ilPageObjectGUI::enableChangeComments | ( | $a_enabled | ) |
Definition at line 355 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::enableCitation | ( | $a_enabled | ) |
Definition at line 299 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::enableContentIncludes | ( | $a_enable | ) |
Enable content includes.
Definition at line 379 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::enableNotes | ( | $a_enabled, | |
$a_parent_id | |||
) |
Definition at line 365 of file class.ilPageObjectGUI.php.
Referenced by ilSCORM2004PageGUI\__construct().
& ilPageObjectGUI::executeCommand | ( | ) |
execute command
Reimplemented in ilPageLayoutGUI, ilSCORM2004PageGUI, ilMediaPoolPageGUI, and ilWikiPageGUI.
Definition at line 932 of file class.ilPageObjectGUI.php.
References $_GET, $cmd, $ilCtrl, $lng, $ret, edit(), getEnableEditing(), getHeader(), getPageObject(), getTabs(), and ilUtil\sendFailure().
ilPageObjectGUI::getActivationFormValues | ( | ) |
Get values for activation form.
Definition at line 2463 of file class.ilPageObjectGUI.php.
References getPageObject(), and IL_CAL_DATETIME.
Referenced by editActivation().
ilPageObjectGUI::getBibId | ( | ) |
Get Bib Id.
Definition at line 137 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getCompareMode | ( | ) |
Get compare mode.
Definition at line 821 of file class.ilPageObjectGUI.php.
References $compare_mode.
Referenced by showPage().
ilPageObjectGUI::getComponentPluginsXML | ( | ) |
Put information about activated plugins into XML.
Definition at line 900 of file class.ilPageObjectGUI.php.
References getOutputMode(), IL_COMP_SERVICE, and ilPageComponentPlugin\TXT_CMD_INSERT.
ilPageObjectGUI::getEditPreview | ( | ) |
Get Display first Edit tab, then Preview tab, instead of Page and Edit.
Definition at line 509 of file class.ilPageObjectGUI.php.
References $editpreview.
Referenced by getTabs().
ilPageObjectGUI::getEnabledActivation | ( | ) |
Definition at line 450 of file class.ilPageObjectGUI.php.
References $activation.
Referenced by showPage().
ilPageObjectGUI::getEnabledFileLists | ( | ) |
Get Enable File Lists Content Componente (Default is true).
Definition at line 629 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getEnabledInternalLinks | ( | ) |
Get Enable internal links.
Definition at line 489 of file class.ilPageObjectGUI.php.
References $enabledinternallinks.
ilPageObjectGUI::getEnabledMaps | ( | ) |
Get Enable Maps Content Component.
Definition at line 589 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getEnabledPageFocus | ( | ) |
Get Enable page focus.
Definition at line 649 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getEnabledPCTabs | ( | ) |
Get Enable Tabs Content Component.
Definition at line 609 of file class.ilPageObjectGUI.php.
References $enabledpctabs.
Referenced by showPage().
ilPageObjectGUI::getEnabledRepositoryObjects | ( | ) |
Get Enable Repository Objects Content Component.
Definition at line 569 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getEnabledScheduledActivation | ( | ) |
Definition at line 460 of file class.ilPageObjectGUI.php.
Referenced by getTabs(), and showPage().
ilPageObjectGUI::getEnabledSelfAssessment | ( | ) |
Get Enable Self Assessment Questions.
Definition at line 801 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getEnabledTabs | ( | ) |
Get Output tabs.
Definition at line 549 of file class.ilPageObjectGUI.php.
References $enabledtabs.
Referenced by getTabs().
ilPageObjectGUI::getEnabledWikiLinks | ( | ) |
Get Enable Wiki Links.
Definition at line 701 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::getEnableEditing | ( | ) |
Get Enable Editing.
Definition at line 721 of file class.ilPageObjectGUI.php.
References $enableediting.
Referenced by compareVersion(), edit(), executeCommand(), getTabs(), history(), rollback(), and rollbackConfirmation().
ilPageObjectGUI::getFileDownloadLink | ( | ) |
Definition at line 329 of file class.ilPageObjectGUI.php.
Referenced by determineFileDownloadLink().
ilPageObjectGUI::getFullscreenLink | ( | ) |
Definition at line 339 of file class.ilPageObjectGUI.php.
Referenced by determineFullscreenLink().
ilPageObjectGUI::getHeader | ( | ) |
Definition at line 202 of file class.ilPageObjectGUI.php.
Referenced by executeCommand().
ilPageObjectGUI::getHTML | ( | ) |
Definition at line 2090 of file class.ilPageObjectGUI.php.
References getTabs(), and showPage().
ilPageObjectGUI::getLayoutMode | ( | ) |
Get Layout Mode enabled/disabled.
Definition at line 761 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getLinkFrame | ( | ) |
Definition at line 222 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::getLinkParams | ( | ) |
Definition at line 212 of file class.ilPageObjectGUI.php.
References $link_params.
ilPageObjectGUI::getLinkXML | ( | ) |
Definition at line 233 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getNotesHTML | ( | $a_mode = "" | ) |
Get notes HTML.
Definition at line 2527 of file class.ilPageObjectGUI.php.
References $ilCtrl, and ilNoteGUI\enablePrivateNotes().
ilPageObjectGUI::getOfflineDirectory | ( | ) |
get offline directory
Definition at line 406 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getOutputMode | ( | ) |
Definition at line 172 of file class.ilPageObjectGUI.php.
References $output_mode.
Referenced by determineFileDownloadLink(), determineFullscreenLink(), determineSourcecodeDownloadScript(), getComponentPluginsXML(), insertContentIncludes(), ilSCORM2004PageGUI\showPage(), and showPage().
ilPageObjectGUI::getOutputSubmode | ( | ) |
Definition at line 285 of file class.ilPageObjectGUI.php.
References $output_submode.
Referenced by showPage().
ilPageObjectGUI::getPageObject | ( | ) |
Get Page Object.
Definition at line 157 of file class.ilPageObjectGUI.php.
References $obj.
Referenced by activatePage(), ilWikiPageGUI\confirmWikiPageDeletion(), deactivatePage(), ilWikiPageGUI\deleteWikiPageConfirmationScreen(), displayMediaFullscreen(), download_paragraph(), ilWikiPageGUI\executeCommand(), ilMediaPoolPageGUI\executeCommand(), ilTermDefinitionEditorGUI\executeCommand(), ilSCORM2004PageGUI\executeCommand(), ilPageLayoutGUI\executeCommand(), executeCommand(), getActivationFormValues(), ilMediaPoolPageGUI\getMediaPoolPage(), ilSCORM2004PageGUI\getQuestionHtmlOfPage(), ilSCORM2004PageGUI\getQuestionJsOfPage(), ilSCORM2004PageGUI\getSCORM2004Page(), ilWikiPageGUI\getTabs(), ilWikiPageGUI\getWikiPage(), history(), ilWikiPageGUI\preview(), saveActivation(), setDefaultLinkXml(), and showPage().
ilPageObjectGUI::getPrependingHtml | ( | ) |
Get Prepending HTML.
Definition at line 681 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getPresentationTitle | ( | ) |
Definition at line 192 of file class.ilPageObjectGUI.php.
References $presentation_title.
Referenced by compareVersion(), and showPage().
ilPageObjectGUI::getPreventHTMLUnmasking | ( | ) |
Get Prevent HTML Unmasking (true/false).
Definition at line 529 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getQuestionHTML | ( | ) |
Definition at line 253 of file class.ilPageObjectGUI.php.
References $question_html.
Referenced by showPage().
ilPageObjectGUI::getQuestionXML | ( | ) |
Definition at line 248 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::getRawPageContent | ( | ) |
Get Get raw page content only.
Definition at line 741 of file class.ilPageObjectGUI.php.
References $rawpagecontent.
Referenced by showPage().
ilPageObjectGUI::getSourcecodeDownloadScript | ( | ) |
Definition at line 295 of file class.ilPageObjectGUI.php.
References $sourcecode_download_script.
ilPageObjectGUI::getStyleId | ( | ) |
Get Style Id.
Definition at line 781 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getTabs | ( | $a_activate = "" | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Reimplemented in ilWikiPageGUI, and ilMediaPoolPageGUI.
Definition at line 2266 of file class.ilPageObjectGUI.php.
References $ilCtrl, getEditPreview(), getEnabledScheduledActivation(), getEnabledTabs(), and getEnableEditing().
Referenced by executeCommand(), and getHTML().
ilPageObjectGUI::getTemplateOutputVar | ( | ) |
Definition at line 274 of file class.ilPageObjectGUI.php.
References $template_output_var.
Referenced by showPage().
ilPageObjectGUI::getTemplateTargetVar | ( | ) |
Definition at line 263 of file class.ilPageObjectGUI.php.
References $target_var.
Referenced by showPage().
ilPageObjectGUI::getViewPageLink | ( | ) |
get view page link
Definition at line 426 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::getViewPageTarget | ( | ) |
get view page target frame
Definition at line 434 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::history | ( | ) |
Get history table as HTML.
Definition at line 2179 of file class.ilPageObjectGUI.php.
References $lng, $tpl, getEnableEditing(), and getPageObject().
ilPageObjectGUI::ilPageObjectGUI | ( | $a_parent_type, | |
$a_id = 0 , |
|||
$a_old_nr = 0 |
|||
) |
Constructor public.
Definition at line 71 of file class.ilPageObjectGUI.php.
References $_GET, $ilCtrl, $ilias, $lng, $tpl, IL_PAGE_PRESENTATION, initPageObject(), setEnabledFileLists(), setEnabledMaps(), setEnabledPageFocus(), setEnabledPCTabs(), setEnabledRepositoryObjects(), setEnabledSelfAssessment(), setEnabledWikiLinks(), setLayoutMode(), setOutputMode(), setPreventHTMLUnmasking(), and setTemplateOutput().
Referenced by compareVersion(), ilWikiPageGUI\executeCommand(), ilMediaPoolPageGUI\executeCommand(), ilSCORM2004PageGUI\executeCommand(), and ilPageLayoutGUI\executeCommand().
ilPageObjectGUI::initActivationForm | ( | ) |
Init activation form.
Definition at line 2428 of file class.ilPageObjectGUI.php.
References $ilCtrl, $lng, ilRadioOption\addSubItem(), and ilDateTimeInputGUI\setShowTime().
Referenced by editActivation(), and saveActivation().
ilPageObjectGUI::initPageObject | ( | $a_parent_type, | |
$a_id, | |||
$a_old_nr | |||
) |
Reimplemented in ilSCORM2004PageGUI, ilMediaPoolPageGUI, and ilWikiPageGUI.
Definition at line 119 of file class.ilPageObjectGUI.php.
References setPageObject().
Referenced by ilPageObjectGUI().
ilPageObjectGUI::insertContentIncludes | ( | $a_html | ) |
Insert Maps.
Definition at line 1944 of file class.ilPageObjectGUI.php.
References $ilCtrl, $param, $start, ilMediaPoolPage\_exists(), determineFileDownloadLink(), determineFullscreenLink(), determineSourcecodeDownloadScript(), getOutputMode(), and IL_PAGE_OFFLINE.
Referenced by showPage().
ilPageObjectGUI::insertHelp | ( | $a_tpl | ) |
Insert help texts.
Definition at line 2012 of file class.ilPageObjectGUI.php.
References $lng, and ilUtil\getImagePath().
Referenced by showPage().
ilPageObjectGUI::insertMaps | ( | $a_html | ) |
Insert Maps.
Definition at line 1897 of file class.ilPageObjectGUI.php.
References $param, and $start.
Referenced by showPage().
ilPageObjectGUI::isEnabledChangeComments | ( | ) |
Definition at line 360 of file class.ilPageObjectGUI.php.
References $change_comments.
Referenced by showPage().
ilPageObjectGUI::isEnabledCitation | ( | ) |
Definition at line 304 of file class.ilPageObjectGUI.php.
References $citation.
Referenced by showPage().
ilPageObjectGUI::isEnabledContentIncludes | ( | ) |
Are content includes enabled?
Definition at line 387 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::isEnabledNotes | ( | ) |
Definition at line 371 of file class.ilPageObjectGUI.php.
Referenced by edit().
ilPageObjectGUI::outputToTemplate | ( | ) |
Definition at line 182 of file class.ilPageObjectGUI.php.
References $output2template.
Referenced by showPage().
ilPageObjectGUI::postOutputProcessing | ( | $a_output | ) |
Finalizing output processing.
Maybe overwritten in derived classes, e.g. in wiki module.
Reimplemented in ilWikiPageGUI.
Definition at line 2004 of file class.ilPageObjectGUI.php.
Referenced by showPage().
ilPageObjectGUI::presentation | ( | $a_mode = IL_PAGE_PRESENTATION | ) |
Definition at line 2082 of file class.ilPageObjectGUI.php.
References setOutputMode(), and showPage().
ilPageObjectGUI::preview | ( | ) |
Reimplemented in ilWikiPageGUI, and ilMediaPoolPageGUI.
Definition at line 2047 of file class.ilPageObjectGUI.php.
References IL_PAGE_PREVIEW, setOutputMode(), and showPage().
ilPageObjectGUI::replaceDiffTags | ( | $a_html | ) |
Definition at line 2396 of file class.ilPageObjectGUI.php.
Referenced by compareVersion().
ilPageObjectGUI::rollback | ( | ) |
Rollback to a previous version.
Definition at line 2238 of file class.ilPageObjectGUI.php.
References $_GET, $ilCtrl, and getEnableEditing().
ilPageObjectGUI::rollbackConfirmation | ( | ) |
Rollback confirmation.
Definition at line 2208 of file class.ilPageObjectGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilDatePresentation\formatDate(), getEnableEditing(), and IL_CAL_DATETIME.
ilPageObjectGUI::saveActivation | ( | ) |
Save Activation.
Definition at line 2493 of file class.ilPageObjectGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, getPageObject(), IL_CAL_DATETIME, initActivationForm(), and ilUtil\sendSuccess().
ilPageObjectGUI::setActivationListener | ( | & | $a_obj, |
$a_meth | |||
) |
Definition at line 439 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setBibId | ( | $a_id | ) |
Set Bib Id.
Definition at line 128 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setCompareMode | ( | $a_val | ) |
Set compare mode.
boolean | compare_mode |
Definition at line 811 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setDefaultLinkXml | ( | ) |
Set standard link xml.
Definition at line 1755 of file class.ilPageObjectGUI.php.
References $target_arr, $target_id, $type, ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), getPageObject(), and setLinkXML().
Referenced by showPage().
ilPageObjectGUI::setEditPreview | ( | $a_editpreview | ) |
Set Display first Edit tab, then Preview tab, instead of Page and Edit.
boolean | $a_editpreview | Edit/preview mode |
Definition at line 499 of file class.ilPageObjectGUI.php.
Referenced by ilLMPageObjectGUI\editLayout(), ilLMPageObjectGUI\executeCommand(), ilSCORM2004PageNodeGUI\executeCommand(), and ilTermDefinitionEditorGUI\executeCommand().
ilPageObjectGUI::setEnabledActivation | ( | $a_act | ) |
Definition at line 445 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setEnabledFileLists | ( | $a_enabledfilelists | ) |
Set Enable File Lists Content Componente (Default is true).
boolean | $a_enabledfilelists | Enable File Lists Content Componente (Default is true) |
Definition at line 619 of file class.ilPageObjectGUI.php.
Referenced by ilPageObjectGUI().
ilPageObjectGUI::setEnabledInternalLinks | ( | $a_enabledinternallinks | ) |
Set Enable internal links.
boolean | $a_enabledinternallinks | Enable internal links |
Definition at line 479 of file class.ilPageObjectGUI.php.
Referenced by ilWikiPageGUI\__construct(), ilMediaPoolPageGUI\__construct(), ilSCORM2004PageGUI\__construct(), and ilPageLayoutGUI\__construct().
ilPageObjectGUI::setEnabledMaps | ( | $a_enabledmaps | ) |
Set Enable Maps Content Component.
boolean | $a_enabledmaps | Enable Maps Content Component |
Definition at line 579 of file class.ilPageObjectGUI.php.
Referenced by ilWikiPageGUI\__construct(), ilMediaPoolPageGUI\__construct(), ilSCORM2004PageGUI\__construct(), ilPageLayoutGUI\__construct(), and ilPageObjectGUI().
ilPageObjectGUI::setEnabledPageFocus | ( | $a_enabledpagefocus | ) |
Set Enable page focus.
boolean | $a_enabledpagefocus | Enable page focus |
Definition at line 639 of file class.ilPageObjectGUI.php.
Referenced by ilPageObjectGUI().
ilPageObjectGUI::setEnabledPCTabs | ( | $a_enabledpctabs | ) |
Set Enable Tabs Content Component.
boolean | $a_enabledpctabs | Enable Tabs Content Component |
Definition at line 599 of file class.ilPageObjectGUI.php.
Referenced by ilWikiPageGUI\__construct(), ilSCORM2004PageGUI\__construct(), and ilPageObjectGUI().
ilPageObjectGUI::setEnabledRepositoryObjects | ( | $a_enabledrepositoryobjects | ) |
Set Enable Repository Objects Content Component.
boolean | $a_enabledrepositoryobjects | Enable Repository Objects Content Component |
Definition at line 559 of file class.ilPageObjectGUI.php.
Referenced by ilPageObjectGUI().
ilPageObjectGUI::setEnabledScheduledActivation | ( | $a_act | ) |
Definition at line 455 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setEnabledSelfAssessment | ( | $a_enabledselfassessment | ) |
Set Enable Self Assessment Questions.
boolean | $a_enabledselfassessment | Enable Self Assessment Questions |
Definition at line 791 of file class.ilPageObjectGUI.php.
Referenced by ilSCORM2004PageGUI\__construct(), ilPageLayoutGUI\__construct(), and ilPageObjectGUI().
ilPageObjectGUI::setEnabledTabs | ( | $a_enabledtabs | ) |
Set Output tabs.
boolean | $a_enabledtabs | Output tabs |
Definition at line 539 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setEnabledWikiLinks | ( | $a_enablewikilinks | ) |
Set Enable Wiki Links.
boolean | $a_enablewikilinks | Enable Wiki Links |
Definition at line 691 of file class.ilPageObjectGUI.php.
Referenced by ilWikiPageGUI\__construct(), ilMediaPoolPageGUI\__construct(), and ilPageObjectGUI().
ilPageObjectGUI::setEnableEditing | ( | $a_enableediting | ) |
Set Enable Editing.
boolean | $a_enableediting | Enable Editing |
Definition at line 711 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setExplorerUpdater | ( | $a_exp_frame, | |
$a_exp_id, | |||
$a_exp_target_script | |||
) |
Set Explorer Updater.
object | $a_tree | Tree Object |
Definition at line 659 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setFileDownloadLink | ( | $a_download_link | ) |
Definition at line 324 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setFullscreenLink | ( | $a_fullscreen_link | ) |
Definition at line 334 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setHeader | ( | $a_title = "" | ) |
Definition at line 197 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setIntLinkHelpDefault | ( | $a_type, | |
$a_id | |||
) |
Definition at line 344 of file class.ilPageObjectGUI.php.
Referenced by ilPaymentObjectGUI\forwardToPageObject(), and ilObjPaymentSettingsGUI\forwardToPageObject().
ilPageObjectGUI::setIntLinkReturn | ( | $a_return | ) |
Definition at line 350 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setLayoutMode | ( | $a_layout_mode | ) |
Set Layout Mode.
boolean | $a_layout_mode | SetLayoutMode for editor |
Definition at line 751 of file class.ilPageObjectGUI.php.
Referenced by ilPageLayoutGUI\__construct(), and ilPageObjectGUI().
ilPageObjectGUI::setLinkFrame | ( | $l_frame = "" | ) |
Definition at line 217 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setLinkParams | ( | $l_params = "" | ) |
Definition at line 207 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setLinkXML | ( | $link_xml | ) |
Definition at line 227 of file class.ilPageObjectGUI.php.
Referenced by setDefaultLinkXml().
ilPageObjectGUI::setLocator | ( | & | $a_locator | ) |
Definition at line 309 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setOfflineDirectory | ( | $offdir | ) |
set offline directory to offdir
offdir | contains diretory where to store files |
Definition at line 397 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setOutputMode | ( | $a_mode = IL_PAGE_PRESENTATION | ) |
Set Output Mode.
string | Mode IL_PAGE_PRESENTATION | IL_PAGE_EDIT | IL_PAGE_PREVIEW |
Definition at line 167 of file class.ilPageObjectGUI.php.
Referenced by edit(), ilPageObjectGUI(), presentation(), and preview().
ilPageObjectGUI::setOutputSubmode | ( | $a_mode | ) |
Definition at line 279 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setPageBackTitle | ( | $a_title | ) |
Definition at line 319 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setPageObject | ( | $a_pg_obj | ) |
Set Page Object.
object | Page Object |
Definition at line 147 of file class.ilPageObjectGUI.php.
Referenced by ilWikiPageGUI\initPageObject(), ilMediaPoolPageGUI\initPageObject(), ilSCORM2004PageGUI\initPageObject(), initPageObject(), ilMediaPoolPageGUI\setMediaPoolPage(), ilSCORM2004PageGUI\setSCORM2004Page(), and ilWikiPageGUI\setWikiPage().
ilPageObjectGUI::setPrependingHtml | ( | $a_prependinghtml | ) |
Set Prepending HTML.
string | $a_prependinghtml | Prepending HTML |
Definition at line 671 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setPresentationTitle | ( | $a_title = "" | ) |
Definition at line 187 of file class.ilPageObjectGUI.php.
Referenced by ilWikiPageGUI\executeCommand(), ilSCORM2004ScoGUI\sco_preview(), ilMediaPoolPageGUI\showPage(), and ilWikiPageGUI\showPage().
ilPageObjectGUI::setPreventHTMLUnmasking | ( | $a_preventhtmlunmasking | ) |
Set Prevent HTML Unmasking (true/false).
boolean | $a_preventhtmlunmasking | Prevent HTML Unmasking (true/false) |
Definition at line 519 of file class.ilPageObjectGUI.php.
Referenced by ilWikiPageGUI\__construct(), ilMediaPoolPageGUI\__construct(), ilSCORM2004PageGUI\__construct(), ilPageLayoutGUI\__construct(), and ilPageObjectGUI().
ilPageObjectGUI::setQuestionHTML | ( | $question_html | ) |
Definition at line 243 of file class.ilPageObjectGUI.php.
References $question_html.
Referenced by ilSCORM2004PageGUI\showPage().
ilPageObjectGUI::setQuestionXML | ( | $question_xml | ) |
Definition at line 238 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setRawPageContent | ( | $a_rawpagecontent | ) |
Set Get raw page content only.
boolean | $a_rawpagecontent | Get raw page content only |
Definition at line 731 of file class.ilPageObjectGUI.php.
Referenced by ilMediaPoolPageGUI\getRawContent().
ilPageObjectGUI::setSourcecodeDownloadScript | ( | $script_name | ) |
Definition at line 291 of file class.ilPageObjectGUI.php.
References $script_name.
ilPageObjectGUI::setStyleId | ( | $a_styleid | ) |
Set Style Id.
int | $a_styleid | Style Id |
Definition at line 771 of file class.ilPageObjectGUI.php.
Referenced by ilContainerGUI\initStylePropertiesForm().
ilPageObjectGUI::setTabHook | ( | $a_object, | |
$a_function | |||
) |
Set tab hook.
Definition at line 468 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setTabs | ( | $a_tabs | ) |
Definition at line 314 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setTemplateOutput | ( | $a_output = true | ) |
Definition at line 177 of file class.ilPageObjectGUI.php.
Referenced by ilGlossaryTermGUI\confirmDefinitionDeletion(), ilObjGlossaryGUI\confirmDefinitionDeletion(), ilPageObjectGUI(), ilMediaPoolPageGUI\showPage(), ilSCORM2004PageGUI\showPage(), and ilWikiPageGUI\showPage().
ilPageObjectGUI::setTemplateOutputVar | ( | $a_value | ) |
Definition at line 268 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::setTemplateTargetVar | ( | $a_variable | ) |
Definition at line 258 of file class.ilPageObjectGUI.php.
Referenced by assQuestionGUI\getILIASPage(), and assQuestionGUI\outQuestionPage().
ilPageObjectGUI::setViewPageLink | ( | $a_link, | |
$a_target = "" |
|||
) |
set link for "view page" button
string | link target |
string | target frame |
Definition at line 417 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::showMediaFullscreen | ( | $a_style_id = 0 | ) |
show fullscreen view of media object
Definition at line 2099 of file class.ilPageObjectGUI.php.
References $_GET, $params, ilObject\_lookupTitle(), ilPageObject\buildDom(), ilUtil\getStyleSheetLocation(), ilUtil\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, xslt_create(), xslt_error(), xslt_free(), and xslt_process().
ilPageObjectGUI::showPage | ( | ) |
Reimplemented in ilWikiPageGUI.
Definition at line 1034 of file class.ilPageObjectGUI.php.
References $_GET, $_SESSION, $GLOBALS, $ilBench, $ilCtrl, $ilias, $ilSetting, $link_params, $lng, $params, $sourcecode_download_script, $tpl, ilPageEditorGUI\_doJSEditing(), ilObject\_exists(), ilInternalLink\_getTargetsOfSource(), ilPageEditorGUI\_isBrowserJSEditCapable(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilAccordionGUI\addCss(), ilAccordionGUI\addJavaScript(), ilUtil\buildLatexImages(), determineFileDownloadLink(), determineFullscreenLink(), determineSourcecodeDownloadScript(), displayValidationError(), exit, ilDatePresentation\formatDate(), ilUtil\formSelect(), ilEditClipboard\getAction(), getBibId(), getCompareMode(), getEnabledActivation(), getEnabledFileLists(), getEnabledMaps(), getEnabledPageFocus(), getEnabledPCTabs(), getEnabledRepositoryObjects(), getEnabledScheduledActivation(), getEnabledSelfAssessment(), ilUtil\getImagePath(), getLayoutMode(), getLinkXML(), ilUserUtil\getNamePresentation(), getOfflineDirectory(), getOutputMode(), getOutputSubmode(), getPageObject(), getPrependingHtml(), getPresentationTitle(), getPreventHTMLUnmasking(), getQuestionHTML(), getRawPageContent(), getStyleId(), getTemplateOutputVar(), getTemplateTargetVar(), getViewPageLink(), getViewPageTarget(), ilUtil\getWebspaceDir(), ilObjContentObject\hasSuccessorPage(), IL_CAL_DATETIME, IL_PAGE_OFFLINE, IL_PAGE_PRESENTATION, IL_PAGE_PREVIEW, IL_PAGE_PRINT, ILIAS_VERSION, ilYuiUtil\initConnection(), ilYuiUtil\initDragDrop(), insertContentIncludes(), insertHelp(), ilUtil\insertLatexImages(), insertMaps(), isEnabledChangeComments(), isEnabledCitation(), isEnabledContentIncludes(), ilMediaPoolPage\lookupTitle(), outputToTemplate(), postOutputProcessing(), ilUtil\sendFailure(), setDefaultLinkXml(), xslt_create(), xslt_free(), and xslt_process().
Referenced by edit(), getHTML(), ilMediaPoolPageGUI\getRawContent(), presentation(), preview(), ilMediaPoolPageGUI\showPage(), and ilSCORM2004PageGUI\showPage().
ilPageObjectGUI::$activated = true |
Definition at line 54 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::$activation = false |
Definition at line 53 of file class.ilPageObjectGUI.php.
Referenced by getEnabledActivation().
ilPageObjectGUI::$bib_id |
Definition at line 48 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::$change_comments |
Definition at line 51 of file class.ilPageObjectGUI.php.
Referenced by isEnabledChangeComments().
ilPageObjectGUI::$citation |
Definition at line 49 of file class.ilPageObjectGUI.php.
Referenced by isEnabledCitation().
ilPageObjectGUI::$compare_mode = false |
Definition at line 65 of file class.ilPageObjectGUI.php.
Referenced by getCompareMode().
ilPageObjectGUI::$ctrl |
Definition at line 37 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::$editpreview = false |
Definition at line 56 of file class.ilPageObjectGUI.php.
Referenced by getEditPreview().
ilPageObjectGUI::$enabledcontentincludes = false |
Definition at line 64 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::$enabledinternallinks = true |
Definition at line 55 of file class.ilPageObjectGUI.php.
Referenced by getEnabledInternalLinks().
ilPageObjectGUI::$enabledpctabs = false |
Definition at line 59 of file class.ilPageObjectGUI.php.
Referenced by getEnabledPCTabs().
ilPageObjectGUI::$enabledtabs = true |
Definition at line 58 of file class.ilPageObjectGUI.php.
Referenced by getEnabledTabs().
ilPageObjectGUI::$enableediting = true |
Definition at line 61 of file class.ilPageObjectGUI.php.
Referenced by getEnableEditing().
ilPageObjectGUI::$ilias |
Definition at line 34 of file class.ilPageObjectGUI.php.
Referenced by ilPageObjectGUI(), and showPage().
ilPageObjectGUI::$layoutmode = false |
Definition at line 63 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::$link_params |
Definition at line 47 of file class.ilPageObjectGUI.php.
Referenced by getLinkParams(), and showPage().
ilPageObjectGUI::$link_xml_set = false |
Definition at line 60 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::$lng |
Definition at line 36 of file class.ilPageObjectGUI.php.
Referenced by ilWikiPageGUI\cancelWikiPageDeletion(), compareVersion(), ilWikiPageGUI\confirmWikiPageDeletion(), ilWikiPageGUI\deleteWikiPageConfirmationScreen(), edit(), editActivation(), executeCommand(), history(), ilPageObjectGUI(), initActivationForm(), insertHelp(), ilMediaPoolPageGUI\preview(), ilWikiPageGUI\preview(), ilPageLayoutGUI\properties(), rollbackConfirmation(), saveActivation(), ilPageLayoutGUI\setTabs(), showPage(), and ilPageLayoutGUI\updateProperties().
ilPageObjectGUI::$obj |
Definition at line 38 of file class.ilPageObjectGUI.php.
Referenced by getPageObject().
ilPageObjectGUI::$output2template |
Definition at line 46 of file class.ilPageObjectGUI.php.
Referenced by outputToTemplate().
ilPageObjectGUI::$output_mode |
Definition at line 39 of file class.ilPageObjectGUI.php.
Referenced by getOutputMode().
ilPageObjectGUI::$output_submode |
Definition at line 40 of file class.ilPageObjectGUI.php.
Referenced by getOutputSubmode().
ilPageObjectGUI::$presentation_title |
Definition at line 41 of file class.ilPageObjectGUI.php.
Referenced by getPresentationTitle().
ilPageObjectGUI::$question_html |
Definition at line 52 of file class.ilPageObjectGUI.php.
Referenced by getQuestionHTML(), and setQuestionHTML().
ilPageObjectGUI::$rawpagecontent = false |
Definition at line 62 of file class.ilPageObjectGUI.php.
Referenced by getRawPageContent().
ilPageObjectGUI::$return_location |
Definition at line 43 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::$sourcecode_download_script |
Definition at line 50 of file class.ilPageObjectGUI.php.
Referenced by determineSourcecodeDownloadScript(), getSourcecodeDownloadScript(), and showPage().
ilPageObjectGUI::$target_script |
Definition at line 42 of file class.ilPageObjectGUI.php.
ilPageObjectGUI::$target_var |
Definition at line 44 of file class.ilPageObjectGUI.php.
Referenced by getTemplateTargetVar().
ilPageObjectGUI::$template_output_var |
Definition at line 45 of file class.ilPageObjectGUI.php.
Referenced by getTemplateOutputVar().
ilPageObjectGUI::$tpl |
Definition at line 35 of file class.ilPageObjectGUI.php.
Referenced by ilWikiPageGUI\__construct(), ilMediaPoolPageGUI\__construct(), ilSCORM2004PageGUI\__construct(), ilPageLayoutGUI\__construct(), compareVersion(), ilWikiPageGUI\confirmWikiPageDeletion(), ilWikiPageGUI\deleteWikiPageConfirmationScreen(), displayMediaFullscreen(), editActivation(), history(), ilPageObjectGUI(), rollbackConfirmation(), saveActivation(), ilWikiPageGUI\setSideBlock(), ilPageLayoutGUI\setTabs(), ilMediaPoolPageGUI\showPage(), ilSCORM2004PageGUI\showPage(), ilWikiPageGUI\showPage(), showPage(), and ilWikiPageGUI\whatLinksHere().
ilPageObjectGUI::$use_meta_data = false |
Definition at line 57 of file class.ilPageObjectGUI.php.