ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Created by PhpStorm. More...
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") | |
@access 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, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::addBlockFile | ( | $var, | |
$block, | |||
$tplname, | |||
$in_module = false |
|||
) |
overwrites ITX::addBlockFile
@access 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, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, ilTemplate, and ilTemplate.
ilGlobalTemplateInterface::addCss | ( | $a_css_file, | |
$media = "screen" |
|||
) |
Add a css file that should be included in the header.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::addInlineCss | ( | $a_css, | |
$media = "screen" |
|||
) |
Add a css file that should be included in the header.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
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, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
Referenced by ilOnScreenChatGUI\initializeFrontend().
ilGlobalTemplateInterface::addLightbox | ( | $a_html, | |
$a_id | |||
) |
Add lightbox html.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::addOnLoadCode | ( | $a_code, | |
$a_batch = 2 |
|||
) |
Add on load code.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
Referenced by ilWikiPageGUI\initEditingJS(), ilBuddySystemGUI\initializeFrontend(), ilOnScreenChatGUI\initializeFrontend(), and ILIAS\Accessibility\GlobalPageHandler\initPage().
ilGlobalTemplateInterface::blockExists | ( | $a_blockname | ) |
check if block exists in actual template
@access private
string | blockname |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalTemplate, ilTemplate, ilTemplate, and ilGlobalPageTemplate.
ilGlobalTemplateInterface::clearHeader | ( | ) |
Clear header.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::enableDragDropFileUpload | ( | $a_ref_id | ) |
Enables the file upload into this object by dropping a file.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::fillJavaScriptFiles | ( | $a_force = false | ) |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::get | ( | $part = "DEFAULT" | ) |
string |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, ilTemplate, ilTemplate, and ilIndependantTemplate.
ilGlobalTemplateInterface::getOnLoadCodeForAsynch | ( | ) |
Get js onload code for ajax calls.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
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 ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalTemplate, ilGlobalPageTemplate, and ilTemplate.
ilGlobalTemplateInterface::hideFooter | ( | ) |
Make the template hide the footer.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
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 ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::parseCurrentBlock | ( | $part = "DEFAULT" | ) |
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt.
@access public
string |
Implemented in ilGlobalPageTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalTemplate, 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 ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::printToString | ( | ) |
Use this method to get the finally rendered page as string.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilTemplate.
ilGlobalTemplateInterface::resetHeaderBlock | ( | $a_reset_header_action = true | ) |
Reset all header properties: title, icon, description, alerts, action menu.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::resetJavascript | ( | ) |
Reset javascript files.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setAlertProperties | ( | array | $a_props | ) |
Set alert properties.
array | $a_props |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setBodyClass | ( | $a_class = "" | ) |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setContent | ( | $a_html | ) |
Sets content for standard template.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setCurrentBlock | ( | $part = "DEFAULT" | ) |
@access public
string |
Implemented in ilGlobalPageTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalTemplate, ilTemplate, and ilTemplate.
ilGlobalTemplateInterface::setDescription | ( | $a_descr | ) |
Sets descripton below title in standard template.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setHeaderActionMenu | ( | $a_header | ) |
Set header action menu.
string | $a_gui | $a_header |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setHeaderPageTitle | ( | $a_title | ) |
Sets the title of the page (for browser window).
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setLeftContent | ( | $a_html | ) |
Sets content of left column.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setLeftNavContent | ( | $a_content | ) |
Sets content of left navigation column.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setLocator | ( | ) |
Insert locator.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setLoginTargetPar | ( | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
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 | \ilTemplate::MESSAGE_TYPE_SUCCESS, \ilTemplate::MESSAGE_TYPE_FAILURE,, \ilTemplate::MESSAGE_TYPE_QUESTION, \ilTemplate::MESSAGE_TYPE_INFO |
string | $a_txt | The message to be sent |
bool | $a_keep | Keep this message over one redirect |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setPageFormAction | ( | $a_action | ) |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setPermanentLink | ( | $a_type, | |
$a_id, | |||
$a_append = "" , |
|||
$a_target = "" , |
|||
$a_title = "" |
|||
) |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setRightContent | ( | $a_html | ) |
Sets content of right column.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setSubTabs | ( | $a_tabs_html | ) |
sets subtabs in standard template
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setTabs | ( | $a_tabs_html | ) |
sets tabs in standard template
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setTitle | ( | $a_title, | |
$hidden = false |
|||
) |
Sets title in standard template.
Will override the header_page_title.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setTitleIcon | ( | $a_icon_path, | |
$a_icon_desc = "" |
|||
) |
set title icon
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setTreeFlatIcon | ( | $a_link, | |
$a_mode | |||
) |
set tree/flat icon
string | link target |
strong | mode ("tree" | "flat") |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, ilGlobalTemplate, and ilTemplate.
ilGlobalTemplateInterface::setVariable | ( | $variable, | |
$value = '' |
|||
) |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
Referenced by ilCalendarBlockGUI\addConsultationHourButtons(), ilContainerRenderer\addHeaderRow(), ilContainerRenderer\addStandardRow(), ilCalendarBlockGUI\addSubscriptionButton(), ilTemplate\fillCssFiles(), ilTemplate\fillJavaScriptFiles(), ilTemplate\fillMessage(), ilTemplate\fillVars(), ilChatroomAuthInputGUI\insert(), ilOrgUnitAuthorityInputGUI\insert(), ilCaptchaInputGUI\insert(), ilEMailInputGUI\insert(), ilClozeGapInputBuilderGUI\insert(), ilContainerRenderer\renderDetails(), ilChatroomViewGUI\renderFileUploadForm(), ilContainerRenderer\renderHelperGeneric(), ilChatroomViewGUI\renderLanguageVariables(), ilSurveyPageGUI\renderPageNode(), ilChatroomViewGUI\renderRightUsersBlock(), ilContainerRenderer\renderSelectAllBlock(), ilChatroomViewGUI\renderSendMessageBox(), and ilTemplate\show().
ilGlobalTemplateInterface::touchBlock | ( | $block | ) |
overwrites ITX::touchBlock.
@access public
string |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalTemplate, ilTemplate, ilTemplate, and ilGlobalPageTemplate.