|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Created by PhpStorm. More...
Inheritance diagram for ilGlobalTemplateInterface:
Collaboration diagram for ilGlobalTemplateInterface:Public Member Functions | |
| hideFooter () | |
| Make the template hide the footer. More... | |
| setOnScreenMessage ($a_type, $a_txt, $a_keep=false) | |
| Set a message to be displayed to the user. More... | |
| addJavaScript ($a_js_file, $a_add_version_parameter=true, $a_batch=2) | |
| Add a javascript file that should be included in the header. More... | |
| addOnLoadCode ($a_code, $a_batch=2) | |
| Add on load code. More... | |
| getOnLoadCodeForAsynch () | |
| Get js onload code for ajax calls. More... | |
| resetJavascript () | |
| Reset javascript files. More... | |
| fillJavaScriptFiles ($a_force=false) | |
| addCss ($a_css_file, $media="screen") | |
| Add a css file that should be included in the header. More... | |
| addInlineCss ($a_css, $media="screen") | |
| Add a css file that should be included in the header. More... | |
| setBodyClass ($a_class="") | |
| loadStandardTemplate () | |
| This loads the standard template "tpl.adm_content.html" and "tpl.statusline.html" the CONTENT and STATUSLINE placeholders if they are not already loaded. More... | |
| setTitle ($a_title, $hidden=false) | |
| Sets title in standard template. More... | |
| setDescription ($a_descr) | |
| Sets descripton below title in standard template. More... | |
| setTitleIcon ($a_icon_path, $a_icon_desc="") | |
| set title icon More... | |
| setAlertProperties (array $a_props) | |
| Set alert properties. More... | |
| clearHeader () | |
| Clear header. More... | |
| setHeaderActionMenu ($a_header) | |
| Set header action menu. More... | |
| setHeaderPageTitle ($a_title) | |
| Sets the title of the page (for browser window). More... | |
| setLocator () | |
| Insert locator. More... | |
| setTabs ($a_tabs_html) | |
| sets tabs in standard template More... | |
| setSubTabs ($a_tabs_html) | |
| sets subtabs in standard template More... | |
| setContent ($a_html) | |
| Sets content for standard template. More... | |
| setLeftContent ($a_html) | |
| Sets content of left column. More... | |
| setLeftNavContent ($a_content) | |
| Sets content of left navigation column. More... | |
| setRightContent ($a_html) | |
| Sets content of right column. More... | |
| setPageFormAction ($a_action) | |
| setLoginTargetPar ($a_val) | |
| Set target parameter for login (public sector). More... | |
| getSpecial ($part="DEFAULT", $add_error_mess=false, $handle_referer=false, $add_ilias_footer=false, $add_standard_elements=false, $a_main_menu=true, $a_tabs=true) | |
| printToStdout ($part="DEFAULT", $a_fill_tabs=true, $a_skip_main_menu=false) | |
| printToString () | |
| Use this method to get the finally rendered page as string. More... | |
| setTreeFlatIcon ($a_link, $a_mode) | |
| set tree/flat icon More... | |
| addLightbox ($a_html, $a_id) | |
| Add lightbox html. More... | |
| addAdminPanelToolbar (ilToolbarGUI $toolb, $a_bottom_panel=true, $a_arrow=false) | |
| Add admin panel commands as toolbar. More... | |
| setPermanentLink ($a_type, $a_id, $a_append="", $a_target="", $a_title="") | |
| resetHeaderBlock ($a_reset_header_action=true) | |
| Reset all header properties: title, icon, description, alerts, action menu. More... | |
| enableDragDropFileUpload ($a_ref_id) | |
| Enables the file upload into this object by dropping a file. More... | |
| get ($part="DEFAULT") | |
| setVariable ($variable, $value='') | |
| setCurrentBlock ($part="DEFAULT") | |
| public More... | |
| touchBlock ($block) | |
| overwrites ITX::touchBlock. More... | |
| parseCurrentBlock ($part="DEFAULT") | |
| Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt. More... | |
| addBlockFile ($var, $block, $tplname, $in_module=false) | |
| overwrites ITX::addBlockFile More... | |
| blockExists ($a_blockname) | |
| check if block exists in actual template More... | |
Created by PhpStorm.
User: fschmid Date: 2019-03-18 Time: 11:22 special template class to simplify handling of ITX/PEAR
Definition at line 16 of file interface.ilGlobalTemplateInterface.php.
| ilGlobalTemplateInterface::addAdminPanelToolbar | ( | ilToolbarGUI | $toolb, |
$a_bottom_panel = true, |
|||
$a_arrow = false |
|||
| ) |
Add admin panel commands as toolbar.
| ilToolbarGUI | $toolb | |
| bool | $a_top_only |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::addBlockFile | ( | $var, | |
| $block, | |||
| $tplname, | |||
$in_module = false |
|||
| ) |
overwrites ITX::addBlockFile
public
| string | ||
| string | ||
| string | $tplname | template name |
| boolean | $in_module | should be set to true, if template file is in module subdirectory |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilGlobalPageTemplate, ilTemplate, and ilTemplate.
| ilGlobalTemplateInterface::addCss | ( | $a_css_file, | |
$media = "screen" |
|||
| ) |
Add a css file that should be included in the header.
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
Referenced by ilPageObjectGUI\addResourcesToTemplate(), and ILIAS\COPage\ResourcesInjector\inject().
Here is the caller graph for this function:| ilGlobalTemplateInterface::addInlineCss | ( | $a_css, | |
$media = "screen" |
|||
| ) |
Add a css file that should be included in the header.
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::addJavaScript | ( | $a_js_file, | |
$a_add_version_parameter = true, |
|||
$a_batch = 2 |
|||
| ) |
Add a javascript file that should be included in the header.
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
Referenced by ilObjStudyProgrammeAutoMembershipsGUI\__construct(), ilOnScreenChatGUI\initializeFrontend(), ILIAS\COPage\ResourcesInjector\inject(), and assQuestionGUI\populateJavascriptFilesRequiredForWorkForm().
Here is the caller graph for this function:| ilGlobalTemplateInterface::addLightbox | ( | $a_html, | |
| $a_id | |||
| ) |
Add lightbox html.
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::addOnLoadCode | ( | $a_code, | |
$a_batch = 2 |
|||
| ) |
Add on load code.
Implemented in ilTemplate, ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, and ilGlobalPageTemplate.
Referenced by ilWikiPageGUI\initEditingJS(), ilBuddySystemGUI\initializeFrontend(), ilOnScreenChatGUI\initializeFrontend(), ILIAS\Accessibility\GlobalPageHandler\initPage(), and ILIAS\COPage\ResourcesInjector\inject().
Here is the caller graph for this function:| ilGlobalTemplateInterface::blockExists | ( | $a_blockname | ) |
check if block exists in actual template
private
| string | blockname |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilGlobalPageTemplate, ilTemplate, and ilTemplate.
| ilGlobalTemplateInterface::clearHeader | ( | ) |
Clear header.
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilTemplate.
| ilGlobalTemplateInterface::enableDragDropFileUpload | ( | $a_ref_id | ) |
Enables the file upload into this object by dropping a file.
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::fillJavaScriptFiles | ( | $a_force = false | ) |
Implemented in ilGlobalPageTemplate, ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, and ilTemplate.
| ilGlobalTemplateInterface::get | ( | $part = "DEFAULT" | ) |
| string |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilTemplate, ilGlobalPageTemplate, ilTemplate, and ilIndependantTemplate.
| ilGlobalTemplateInterface::getOnLoadCodeForAsynch | ( | ) |
Get js onload code for ajax calls.
Implemented in ilGlobalPageTemplate, ilTemplate, ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilCOPageGlobalTemplate, and ilRTEGlobalTemplate.
| ilGlobalTemplateInterface::getSpecial | ( | $part = "DEFAULT", |
|
$add_error_mess = false, |
|||
$handle_referer = false, |
|||
$add_ilias_footer = false, |
|||
$add_standard_elements = false, |
|||
$a_main_menu = true, |
|||
$a_tabs = true |
|||
| ) |
| string |
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::hideFooter | ( | ) |
Make the template hide the footer.
Implemented in ilGlobalPageTemplate, ilTemplate, ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, and ilRTEGlobalTemplate.
| ilGlobalTemplateInterface::loadStandardTemplate | ( | ) |
This loads the standard template "tpl.adm_content.html" and "tpl.statusline.html" the CONTENT and STATUSLINE placeholders if they are not already loaded.
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::parseCurrentBlock | ( | $part = "DEFAULT" | ) |
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt.
public
| string |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilGlobalPageTemplate, ilTemplate, and ilTemplate.
| ilGlobalTemplateInterface::printToStdout | ( | $part = "DEFAULT", |
|
$a_fill_tabs = true, |
|||
$a_skip_main_menu = false |
|||
| ) |
| string | bool | $part | |
| bool | $a_fill_tabs | fill template variable {TABS} with content of ilTabs |
| bool | $a_skip_main_menu |
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::printToString | ( | ) |
Use this method to get the finally rendered page as string.
Implemented in ilGlobalPageTemplate, ilTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, and ilRTEGlobalTemplate.
| ilGlobalTemplateInterface::resetHeaderBlock | ( | $a_reset_header_action = true | ) |
Reset all header properties: title, icon, description, alerts, action menu.
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::resetJavascript | ( | ) |
Reset javascript files.
Implemented in ilDataCollectionGlobalTemplate, ilTemplate, ilGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setAlertProperties | ( | array | $a_props | ) |
Set alert properties.
| array | $a_props |
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setBodyClass | ( | $a_class = "" | ) |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilTemplate.
| ilGlobalTemplateInterface::setContent | ( | $a_html | ) |
Sets content for standard template.
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setCurrentBlock | ( | $part = "DEFAULT" | ) |
public
| string |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilGlobalPageTemplate, ilTemplate, and ilTemplate.
| ilGlobalTemplateInterface::setDescription | ( | $a_descr | ) |
Sets descripton below title in standard template.
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setHeaderActionMenu | ( | $a_header | ) |
Set header action menu.
| string | $a_gui | $a_header |
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setHeaderPageTitle | ( | $a_title | ) |
Sets the title of the page (for browser window).
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setLeftContent | ( | $a_html | ) |
Sets content of left column.
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setLeftNavContent | ( | $a_content | ) |
Sets content of left navigation column.
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setLocator | ( | ) |
Insert locator.
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setLoginTargetPar | ( | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setOnScreenMessage | ( | $a_type, | |
| $a_txt, | |||
$a_keep = false |
|||
| ) |
Set a message to be displayed to the user.
Please use ilUtil::sendInfo(), ilUtil::sendSuccess() and ilUtil::sendFailure()
| string | $a_type | ::MESSAGE_TYPE_SUCCESS, ::MESSAGE_TYPE_FAILURE,, ::MESSAGE_TYPE_QUESTION, ::MESSAGE_TYPE_INFO |
| string | $a_txt | The message to be sent |
| bool | $a_keep | Keep this message over one redirect |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setPageFormAction | ( | $a_action | ) |
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setPermanentLink | ( | $a_type, | |
| $a_id, | |||
$a_append = "", |
|||
$a_target = "", |
|||
$a_title = "" |
|||
| ) |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setRightContent | ( | $a_html | ) |
Sets content of right column.
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setSubTabs | ( | $a_tabs_html | ) |
sets subtabs in standard template
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setTabs | ( | $a_tabs_html | ) |
sets tabs in standard template
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setTitle | ( | $a_title, | |
$hidden = false |
|||
| ) |
Sets title in standard template.
Will override the header_page_title.
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setTitleIcon | ( | $a_icon_path, | |
$a_icon_desc = "" |
|||
| ) |
set title icon
Implemented in ilGlobalTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setTreeFlatIcon | ( | $a_link, | |
| $a_mode | |||
| ) |
set tree/flat icon
| string | link target |
| strong | mode ("tree" | "flat") |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::setVariable | ( | $variable, | |
$value = '' |
|||
| ) |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, and ilGlobalPageTemplate.
Referenced by ilMDEditorGUI\__fillSubelements(), ilCalendarBlockGUI\addConsultationHourButtons(), ilContainerRenderer\addHeaderRow(), ilExerciseGSToolProvider\addSection(), ilContainerRenderer\addStandardRow(), ilCalendarBlockGUI\addSubscriptionButton(), ilObjForumGUI\doCaptchaCheck(), ilTemplate\fillCssFiles(), ilTemplate\fillJavaScriptFiles(), ilTemplate\fillMessage(), ilTemplate\fillVars(), ilOrgUnitAuthorityInputGUI\insert(), ilChatroomAuthInputGUI\insert(), ilEMailInputGUI\insert(), ilCaptchaInputGUI\insert(), ilClozeGapInputBuilderGUI\insert(), ilSCORMExplorer\insertObject(), ilTestServiceGUI\populateExamId(), ilAssQuestionPreviewGUI\populateGenericQuestionFeedback(), ilAssQuestionPreviewGUI\populateInstantResponseHeader(), ilAssQuestionPreviewGUI\populateNotesPanel(), ilAssQuestionPreviewGUI\populatePreviewToolbar(), ilAssQuestionPreviewGUI\populateQuestionOutput(), ilAssQuestionPreviewGUI\populateReachedPointsOutput(), ilAssQuestionPreviewGUI\populateSolutionOutput(), ilAssQuestionPreviewGUI\populateSpecificQuestionFeedback(), ilTestQuestionNavigationGUI\renderActionsIcon(), ilTestQuestionNavigationGUI\renderButtonInstance(), ilAssLacLegendGUI\renderCommonLegendPart(), ilContainerRenderer\renderDetails(), ilObjForumGUI\renderDraftContent(), ilAssLacLegendGUI\renderExample(), ilChatroomViewGUI\renderFileUploadForm(), ilContainerRenderer\renderHelperGeneric(), ilTestQuestionNavigationGUI\renderIcon(), ilChatroomViewGUI\renderLanguageVariables(), ilSurveyPageGUI\renderPageNode(), ilObjForumGUI\renderPostContent(), ilAssLacLegendGUI\renderQuestSpecificExamples(), ilAssLacLegendGUI\renderQuestSpecificLegendPart(), ilChatroomViewGUI\renderRightUsersBlock(), ilContainerRenderer\renderSelectAllBlock(), ilChatroomViewGUI\renderSendMessageBox(), ilObjForumGUI\renderSplitButton(), and ilTemplate\show().
Here is the caller graph for this function:| ilGlobalTemplateInterface::touchBlock | ( | $block | ) |
overwrites ITX::touchBlock.
public
| string |
Implemented in ilDataCollectionGlobalTemplate, ilGlobalTemplate, ilRTEGlobalTemplate, ilCOPageGlobalTemplate, ilGlobalPageTemplate, ilTemplate, and ilTemplate.