|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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") | |
| @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, and ilGlobalTemplate.
| 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, and ilGlobalTemplate.
| ilGlobalTemplateInterface::addCss | ( | $a_css_file, | |
$media = "screen" |
|||
| ) |
Add a css file that should be included in the header.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::addInlineCss | ( | $a_css, | |
$media = "screen" |
|||
| ) |
Add a css file that should be included in the header.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| 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, and ilGlobalTemplate.
Referenced by ilOnScreenChatGUI\initializeFrontend().
Here is the caller graph for this function:| ilGlobalTemplateInterface::addLightbox | ( | $a_html, | |
| $a_id | |||
| ) |
Add lightbox html.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::addOnLoadCode | ( | $a_code, | |
$a_batch = 2 |
|||
| ) |
Add on load code.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
Referenced by ilWikiPageGUI\initEditingJS(), ilBuddySystemGUI\initializeFrontend(), ilOnScreenChatGUI\initializeFrontend(), and ILIAS\Accessibility\GlobalPageHandler\initPage().
Here is the caller graph for this function:| ilGlobalTemplateInterface::blockExists | ( | $a_blockname | ) |
check if block exists in actual template
@access private
| string | blockname |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::clearHeader | ( | ) |
Clear header.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::enableDragDropFileUpload | ( | $a_ref_id | ) |
Enables the file upload into this object by dropping a file.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::fillJavaScriptFiles | ( | $a_force = false | ) |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::get | ( | $part = "DEFAULT" | ) |
| string |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::getOnLoadCodeForAsynch | ( | ) |
Get js onload code for ajax calls.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| 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, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::hideFooter | ( | ) |
Make the template hide the footer.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| 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, and ilGlobalTemplate.
| 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, and ilGlobalTemplate.
| 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, and ilGlobalTemplate.
| ilGlobalTemplateInterface::printToString | ( | ) |
Use this method to get the finally rendered page as string.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, and ilGlobalPageTemplate.
| ilGlobalTemplateInterface::resetHeaderBlock | ( | $a_reset_header_action = true | ) |
Reset all header properties: title, icon, description, alerts, action menu.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::resetJavascript | ( | ) |
Reset javascript files.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setAlertProperties | ( | array | $a_props | ) |
Set alert properties.
| array | $a_props |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setBodyClass | ( | $a_class = "" | ) |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setContent | ( | $a_html | ) |
Sets content for standard template.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setCurrentBlock | ( | $part = "DEFAULT" | ) |
@access public
| string |
Implemented in ilGlobalPageTemplate, ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setDescription | ( | $a_descr | ) |
Sets descripton below title in standard template.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setHeaderActionMenu | ( | $a_header | ) |
Set header action menu.
| string | $a_gui | $a_header |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setHeaderPageTitle | ( | $a_title | ) |
Sets the title of the page (for browser window).
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setLeftContent | ( | $a_html | ) |
Sets content of left column.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setLeftNavContent | ( | $a_content | ) |
Sets content of left navigation column.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setLocator | ( | ) |
Insert locator.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setLoginTargetPar | ( | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| 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, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setPageFormAction | ( | $a_action | ) |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setPermanentLink | ( | $a_type, | |
| $a_id, | |||
$a_append = "", |
|||
$a_target = "", |
|||
$a_title = "" |
|||
| ) |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setRightContent | ( | $a_html | ) |
Sets content of right column.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setSubTabs | ( | $a_tabs_html | ) |
sets subtabs in standard template
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setTabs | ( | $a_tabs_html | ) |
sets tabs in standard template
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setTitle | ( | $a_title, | |
$hidden = false |
|||
| ) |
Sets title in standard template.
Will override the header_page_title.
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setTitleIcon | ( | $a_icon_path, | |
$a_icon_desc = "" |
|||
| ) |
set title icon
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setTreeFlatIcon | ( | $a_link, | |
| $a_mode | |||
| ) |
set tree/flat icon
| string | link target |
| strong | mode ("tree" | "flat") |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::setVariable | ( | $variable, | |
$value = '' |
|||
| ) |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalPageTemplate, and ilGlobalTemplate.
| ilGlobalTemplateInterface::touchBlock | ( | $block | ) |
overwrites ITX::touchBlock.
@access public
| string |
Implemented in ilDataCollectionGlobalTemplate, ilCOPageGlobalTemplate, ilRTEGlobalTemplate, ilGlobalTemplate, and ilGlobalPageTemplate.