|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
special template class to simplify handling of ITX/PEAR More...
Inheritance diagram for ilGlobalTemplate:
Collaboration diagram for ilGlobalTemplate:Public Member Functions | |
| __construct ( $file, $flag1, $flag2, $in_module=false, $vars="DEFAULT", $plugin=false, $a_use_cache=true) | |
| constructor More... | |
| printToString ($part="DEFAULT") | |
| @inheritDoc More... | |
| 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) | |
| fillOnLoadCode () | |
| Fill add on load code. More... | |
| 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... | |
| fillCssFiles ($a_force=false) | |
| Fill in the css file tags. More... | |
| setBodyClass ($a_class="") | |
| fillBodyClass () | |
| renderPage ($part, $a_fill_tabs, $a_skip_main_menu, \ILIAS\DI\Container $DIC) | |
| 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... | |
| fillTabs () | |
| 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... | |
| fillContentLanguage () | |
| Add current user language to meta tags. More... | |
| fillWindowTitle () | |
| 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) | |
| fillScreenReaderFocus () | |
| Accessibility focus for screen readers. 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 @access public. More... | |
| addBlockFile ($var, $block, $tplname, $in_module=false) | |
| overwrites ITX::addBlockFile @access public More... | |
| blockExists ($a_blockname) | |
| check if block exists in actual template @access private More... | |
| getJSFiles () | |
| getCSSFiles () | |
| getInlineCSS () | |
Public Member Functions inherited from ilGlobalTemplateInterface | |
| 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... | |
Data Fields | |
| const | MESSAGE_TYPE_FAILURE = 'failure' |
| const | MESSAGE_TYPE_INFO = "info" |
| const | MESSAGE_TYPE_SUCCESS = "success" |
| const | MESSAGE_TYPE_QUESTION = "question" |
Protected Member Functions | |
| fillJavascriptFile ($file, $vers) | |
Protected Attributes | |
| $tree_flat_link = "" | |
| $page_form_action = "" | |
| $permanent_link = false | |
| $main_content = "" | |
| $lightbox = array() | |
| $standard_template_loaded = false | |
| $template | |
| $main_menu | |
| $main_menu_spacer | |
| $message = array() | |
| $js_files = array(0 => "./Services/JavaScript/js/Basic.js") | |
| $js_files_vp = array("./Services/JavaScript/js/Basic.js" => true) | |
| $js_files_batch = array("./Services/JavaScript/js/Basic.js" => 1) | |
| $css_files = array() | |
| $inline_css = array() | |
| Stores CSS to be included directly. More... | |
| $header_page_title = "" | |
| $title = "" | |
| $title_desc = "" | |
| $title_alerts = array() | |
| $header_action | |
| $tabs_html = "" | |
| $sub_tabs_html = "" | |
| $admin_panel_commands_toolbar = null | |
| $admin_panel_arrow = null | |
| $admin_panel_bottom = null | |
Static Protected Attributes | |
| static | $message_types |
Private Member Functions | |
| fillFooter () | |
| Fill the footer area. More... | |
| getMainMenu () | |
| fillMainMenu () | |
| initHelp () | |
| Init help. More... | |
| fillMessage () | |
| Fill message area. More... | |
| getMessageTextForType ($m) | |
| resetCss () | |
| Reset css files. More... | |
| fillInlineCss () | |
| Fill in the inline css. More... | |
| fillNewContentStyle () | |
| Fill Content Style. More... | |
| fillHeader () | |
| Fill header. More... | |
| getHeaderActionMenu () | |
| Get header action menu. More... | |
| getTabsHTML () | |
| fillLeftNav () | |
| Fill left navigation frame. More... | |
| setCenterColumnClass () | |
| fillMainContent () | |
| fillLeftContent () | |
| fillRightContent () | |
| fillToolbar () | |
| fillPageFormAction () | |
| getLoginTargetPar () | |
| Get target parameter for login. More... | |
| handleReferer () | |
| TODO: this is nice, but shouldn't be done here (-> maybe at the end of ilias.php!?, alex) More... | |
| fillSideIcons () | |
| Fill side icons (upper icon, tree icon, webfolder icon) More... | |
| fillLightbox () | |
| Fill lightbox content. More... | |
| fillAdminPanel () | |
| Put admin panel into template: More... | |
| fillPermanentLink () | |
| Fill in permanent link. More... | |
| variableExists ($a_variablename) | |
Private Attributes | |
| $show_footer = true | |
special template class to simplify handling of ITX/PEAR
Definition at line 13 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::__construct | ( | $file, | |
| $flag1, | |||
| $flag2, | |||
$in_module = false, |
|||
$vars = "DEFAULT", |
|||
$plugin = false, |
|||
$a_use_cache = true |
|||
| ) |
constructor
| string | $file | templatefile (mit oder ohne pfad) |
| boolean | $flag1 | remove unknown variables |
| boolean | $flag2 | remove empty blocks |
| boolean | $in_module | should be set to true, if template file is in module subdirectory |
| array | $vars | variables to replace @access public |
Reimplemented in LTI\ilGlobalTemplate, and ilIndependentGlobalTemplate.
Definition at line 37 of file class.ilGlobalTemplate.php.
References XapiProxy\$plugin, and setBodyClass().
Here is the call graph for this function:| ilGlobalTemplate::addAdminPanelToolbar | ( | ilToolbarGUI | $toolb, |
$a_bottom_panel = true, |
|||
$a_arrow = false |
|||
| ) |
Add admin panel commands as toolbar.
| ilToolbarGUI | $toolb | |
| bool | $a_top_only |
Implements ilGlobalTemplateInterface.
Definition at line 1672 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::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 |
Implements ilGlobalTemplateInterface.
Definition at line 1842 of file class.ilGlobalTemplate.php.
Referenced by loadStandardTemplate().
Here is the caller graph for this function:| ilGlobalTemplate::addCss | ( | $a_css_file, | |
$media = "screen" |
|||
| ) |
Add a css file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 598 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::addInlineCss | ( | $a_css, | |
$media = "screen" |
|||
| ) |
Add a css file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 612 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::addJavaScript | ( | $a_js_file, | |
$a_add_version_parameter = true, |
|||
$a_batch = 2 |
|||
| ) |
Add a javascript file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 433 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::addLightbox | ( | $a_html, | |
| $a_id | |||
| ) |
Add lightbox html.
Implements ilGlobalTemplateInterface.
Definition at line 1634 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::addOnLoadCode | ( | $a_code, | |
$a_batch = 2 |
|||
| ) |
Add on load code.
Implements ilGlobalTemplateInterface.
Definition at line 459 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::blockExists | ( | $a_blockname | ) |
check if block exists in actual template @access private
| string | blockname |
Implements ilGlobalTemplateInterface.
Definition at line 1853 of file class.ilGlobalTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavaScriptFiles(), fillTabs(), getSpecial(), getTabsHTML(), renderPage(), setCenterColumnClass(), and setTabs().
Here is the caller graph for this function:| ilGlobalTemplate::clearHeader | ( | ) |
Clear header.
Implements ilGlobalTemplateInterface.
Definition at line 897 of file class.ilGlobalTemplate.php.
References setAlertProperties(), setDescription(), setTitle(), and setTitleIcon().
Here is the call graph for this function:| ilGlobalTemplate::enableDragDropFileUpload | ( | $a_ref_id | ) |
Enables the file upload into this object by dropping a file.
Implements ilGlobalTemplateInterface.
Definition at line 1772 of file class.ilGlobalTemplate.php.
Referenced by resetHeaderBlock().
Here is the caller graph for this function:
|
private |
Put admin panel into template:
Definition at line 1684 of file class.ilGlobalTemplate.php.
References $admin_panel_commands_toolbar, $DIC, $lng, fillPageFormAction(), ilUtil\getImagePath(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalTemplate::fillBodyClass | ( | ) |
Definition at line 656 of file class.ilGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalTemplate::fillContentLanguage | ( | ) |
Add current user language to meta tags.
Definition at line 1271 of file class.ilGlobalTemplate.php.
References $DIC, $lng, and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalTemplate::fillCssFiles | ( | $a_force = false | ) |
Fill in the css file tags.
| boolean | $a_force |
Definition at line 622 of file class.ilGlobalTemplate.php.
References $filename, blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Fill the footer area.
Definition at line 90 of file class.ilGlobalTemplate.php.
References $_GET, $_SERVER, $DIC, Vendor\Package\$f, $GLOBALS, $ilBench, $ilDB, $ilSetting, $lng, $total, $url, ilObjLanguageAccess\_checkTranslate(), ilLink\_getStaticLink(), ilObjLanguageAccess\_getTranslationLink(), ilObjLanguageAccess\_isPageTranslation(), ilUtil\appendUrlParameterString(), ilSystemSupportContactsGUI\getFooterLink(), ilSystemSupportContactsGUI\getFooterText(), ilImprint\isActive(), ilUtil\secureUrl(), setVariable(), ilUtil\sortArray(), and ilValidatorAdapter\validate().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Fill header.
Definition at line 940 of file class.ilGlobalTemplate.php.
References $DIC, $lng, $title, getHeaderActionMenu(), parseCurrentBlock(), setCurrentBlock(), setVariable(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Fill in the inline css.
| boolean | $a_force |
Definition at line 783 of file class.ilGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| string | $file | |
| string | $vers |
Definition at line 565 of file class.ilGlobalTemplate.php.
References ilUtil\appendUrlParameterString(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by fillJavaScriptFiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalTemplate::fillJavaScriptFiles | ( | $a_force = false | ) |
Implements ilGlobalTemplateInterface.
Definition at line 509 of file class.ilGlobalTemplate.php.
References $DIC, $i, $ilSetting, blockExists(), and fillJavascriptFile().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1220 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Fill left navigation frame.
Definition at line 1169 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Fill lightbox content.
return
Definition at line 1645 of file class.ilGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1213 of file class.ilGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 283 of file class.ilGlobalTemplate.php.
References $DIC, $tpl, and variableExists().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Fill message area.
Definition at line 361 of file class.ilGlobalTemplate.php.
References $_SESSION, $DIC, $out, $txt, getMessageTextForType(), ilUtil\getSystemMessageHTML(), and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Fill Content Style.
Definition at line 798 of file class.ilGlobalTemplate.php.
References ilUtil\getNewContentStyleSheetLocation(), and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalTemplate::fillOnLoadCode | ( | ) |
Fill add on load code.
Definition at line 545 of file class.ilGlobalTemplate.php.
References $i, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1316 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by fillAdminPanel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Fill in permanent link.
Definition at line 1735 of file class.ilGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1233 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalTemplate::fillScreenReaderFocus | ( | ) |
Accessibility focus for screen readers.
Definition at line 1558 of file class.ilGlobalTemplate.php.
References $DIC, $ilUser, and touchBlock().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Fill side icons (upper icon, tree icon, webfolder icon)
Definition at line 1572 of file class.ilGlobalTemplate.php.
References $DIC, $ilSetting, $lng, ilFrameTargetInfo\_getFrame(), ilAccessKeyGUI\getAttribute(), ilUtil\getImagePath(), parseCurrentBlock(), setCurrentBlock(), setVariable(), touchBlock(), ilAccessKey\TREE_OFF, and ilAccessKey\TREE_ON.
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalTemplate::fillTabs | ( | ) |
Definition at line 1106 of file class.ilGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1249 of file class.ilGlobalTemplate.php.
References $DIC, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalTemplate::fillWindowTitle | ( | ) |
Definition at line 1282 of file class.ilGlobalTemplate.php.
References $DIC, $ilSetting, $title, setVariable(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalTemplate::get | ( | $part = "DEFAULT" | ) |
| string |
Implements ilGlobalTemplateInterface.
Definition at line 1786 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::getCSSFiles | ( | ) |
Definition at line 1863 of file class.ilGlobalTemplate.php.
References $css_files.
|
private |
Get header action menu.
Definition at line 1017 of file class.ilGlobalTemplate.php.
References $header_action.
Referenced by fillHeader().
Here is the caller graph for this function:| ilGlobalTemplate::getInlineCSS | ( | ) |
Definition at line 1868 of file class.ilGlobalTemplate.php.
References $inline_css.
| ilGlobalTemplate::getJSFiles | ( | ) |
Definition at line 1858 of file class.ilGlobalTemplate.php.
References $js_files_batch.
|
private |
Get target parameter for login.
Definition at line 1344 of file class.ilGlobalTemplate.php.
Referenced by getMainMenu().
Here is the caller graph for this function:
|
private |
Reimplemented in LTI\ilGlobalTemplate.
Definition at line 270 of file class.ilGlobalTemplate.php.
References $DIC, getLoginTargetPar(), and variableExists().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| $m |
Definition at line 392 of file class.ilGlobalTemplate.php.
References $_SESSION, and $txt.
Referenced by fillMessage().
Here is the caller graph for this function:| ilGlobalTemplate::getOnLoadCodeForAsynch | ( | ) |
Get js onload code for ajax calls.
Implements ilGlobalTemplateInterface.
Definition at line 473 of file class.ilGlobalTemplate.php.
References $i.
| ilGlobalTemplate::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 |
Implements ilGlobalTemplateInterface.
Definition at line 1368 of file class.ilGlobalTemplate.php.
References $DIC, ilObjLanguageAccess\_saveUsages(), blockExists(), fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillFooter(), fillHeader(), fillInlineCss(), fillJavaScriptFiles(), fillLeftContent(), fillLeftNav(), fillLightbox(), fillMainContent(), fillMainMenu(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPermanentLink(), fillRightContent(), fillScreenReaderFocus(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), getMainMenu(), getTabsHTML(), handleReferer(), initHelp(), parseCurrentBlock(), setCenterColumnClass(), and setCurrentBlock().
Here is the call graph for this function:
|
private |
Definition at line 1121 of file class.ilGlobalTemplate.php.
References $DIC, and blockExists().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
TODO: this is nice, but shouldn't be done here (-> maybe at the end of ilias.php!?, alex)
Definition at line 1499 of file class.ilGlobalTemplate.php.
References $_GET, $_POST, $_SERVER, and $_SESSION.
Referenced by getSpecial(), and printToStdout().
Here is the caller graph for this function:| ilGlobalTemplate::hideFooter | ( | ) |
Make the template hide the footer.
Implements ilGlobalTemplateInterface.
Definition at line 82 of file class.ilGlobalTemplate.php.
|
private |
Init help.
Definition at line 303 of file class.ilGlobalTemplate.php.
Referenced by getSpecial(), and renderPage().
Here is the caller graph for this function:| ilGlobalTemplate::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.
Implements ilGlobalTemplateInterface.
Definition at line 822 of file class.ilGlobalTemplate.php.
References addBlockFile(), ilUIFramework\init(), iljQueryUtil\initjQuery(), and iljQueryUtil\initjQueryUI().
Here is the call graph for this function:| ilGlobalTemplate::parseCurrentBlock | ( | $part = "DEFAULT" | ) |
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt @access public.
| string |
Implements ilGlobalTemplateInterface.
Definition at line 1828 of file class.ilGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), renderPage(), and setCenterColumnClass().
Here is the caller graph for this function:| ilGlobalTemplate::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 |
Implements ilGlobalTemplateInterface.
Definition at line 1462 of file class.ilGlobalTemplate.php.
References $DIC, $http, exit, handleReferer(), ilYuiUtil\initDom(), ILIAS\Filesystem\Stream\Streams\ofString(), print, and renderPage().
Here is the call graph for this function:| ilGlobalTemplate::printToString | ( | $part = "DEFAULT" | ) |
@inheritDoc
Definition at line 54 of file class.ilGlobalTemplate.php.
References $DIC, ilYuiUtil\initDom(), and renderPage().
Here is the call graph for this function:| ilGlobalTemplate::renderPage | ( | $part, | |
| $a_fill_tabs, | |||
| $a_skip_main_menu, | |||
| \ILIAS\DI\Container | $DIC | ||
| ) |
| $part | ||
| $a_fill_tabs | ||
| $a_skip_main_menu | ||
| \ILIAS\DI\Container | $DIC |
Definition at line 674 of file class.ilGlobalTemplate.php.
References $DIC, XapiProxy\$resp, ilObjLanguageAccess\_saveUsages(), blockExists(), fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillFooter(), fillHeader(), fillInlineCss(), fillJavaScriptFiles(), fillLeftContent(), fillLeftNav(), fillLightbox(), fillMainContent(), fillMainMenu(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPermanentLink(), fillRightContent(), fillScreenReaderFocus(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), getMainMenu(), ilPluginAdmin\getPluginObject(), getTabsHTML(), IL_COMP_SERVICE, initHelp(), ilUIHookPluginGUI\KEEP, parseCurrentBlock(), setCenterColumnClass(), and setCurrentBlock().
Referenced by printToStdout(), and printToString().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Reset css files.
Definition at line 773 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::resetHeaderBlock | ( | $a_reset_header_action = true | ) |
Reset all header properties: title, icon, description, alerts, action menu.
Implements ilGlobalTemplateInterface.
Definition at line 1755 of file class.ilGlobalTemplate.php.
References enableDragDropFileUpload(), setAlertProperties(), setDescription(), setHeaderActionMenu(), setTitle(), and setTitleIcon().
Here is the call graph for this function:| ilGlobalTemplate::resetJavascript | ( | ) |
Reset javascript files.
Implements ilGlobalTemplateInterface.
Definition at line 496 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setAlertProperties | ( | array | $a_props | ) |
Set alert properties.
| array | $a_props |
Implements ilGlobalTemplateInterface.
Definition at line 889 of file class.ilGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
Here is the caller graph for this function:| ilGlobalTemplate::setBodyClass | ( | $a_class = "" | ) |
Implements ilGlobalTemplateInterface.
Definition at line 651 of file class.ilGlobalTemplate.php.
Referenced by __construct(), and ilIndependentGlobalTemplate\__construct().
Here is the caller graph for this function:
|
private |
Definition at line 1187 of file class.ilGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalTemplate::setContent | ( | $a_html | ) |
Sets content for standard template.
Implements ilGlobalTemplateInterface.
Definition at line 1143 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setCurrentBlock | ( | $part = "DEFAULT" | ) |
@access public
| string |
Implements ilGlobalTemplateInterface.
Definition at line 1806 of file class.ilGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), renderPage(), and setCenterColumnClass().
Here is the caller graph for this function:| ilGlobalTemplate::setDescription | ( | $a_descr | ) |
Sets descripton below title in standard template.
Implements ilGlobalTemplateInterface.
Definition at line 870 of file class.ilGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
Here is the caller graph for this function:| ilGlobalTemplate::setHeaderActionMenu | ( | $a_header | ) |
Set header action menu.
| string | $a_gui | $a_header |
Implements ilGlobalTemplateInterface.
Definition at line 919 of file class.ilGlobalTemplate.php.
Referenced by resetHeaderBlock().
Here is the caller graph for this function:| ilGlobalTemplate::setHeaderPageTitle | ( | $a_title | ) |
Sets the title of the page (for browser window).
Implements ilGlobalTemplateInterface.
Definition at line 932 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setLeftContent | ( | $a_html | ) |
Sets content of left column.
Implements ilGlobalTemplateInterface.
Definition at line 1153 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setLeftNavContent | ( | $a_content | ) |
Sets content of left navigation column.
Implements ilGlobalTemplateInterface.
Definition at line 1161 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setLocator | ( | ) |
Insert locator.
Implements ilGlobalTemplateInterface.
Definition at line 1032 of file class.ilGlobalTemplate.php.
References $DIC, ilMainMenuGUI\MODE_TOPBAR_ONLY, ilMainMenuGUI\MODE_TOPBAR_REDUCED, and setVariable().
Here is the call graph for this function:| ilGlobalTemplate::setLoginTargetPar | ( | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Implements ilGlobalTemplateInterface.
Definition at line 1336 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::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 |
Implements ilGlobalTemplateInterface.
Definition at line 346 of file class.ilGlobalTemplate.php.
References $_SESSION.
| ilGlobalTemplate::setPageFormAction | ( | $a_action | ) |
Implements ilGlobalTemplateInterface.
Definition at line 1311 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setPermanentLink | ( | $a_type, | |
| $a_id, | |||
$a_append = "", |
|||
$a_target = "", |
|||
$a_title = "" |
|||
| ) |
Implements ilGlobalTemplateInterface.
Definition at line 1722 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setRightContent | ( | $a_html | ) |
Sets content of right column.
Implements ilGlobalTemplateInterface.
Definition at line 1182 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setSubTabs | ( | $a_tabs_html | ) |
sets subtabs in standard template
Implements ilGlobalTemplateInterface.
Definition at line 1101 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:| ilGlobalTemplate::setTabs | ( | $a_tabs_html | ) |
sets tabs in standard template
Implements ilGlobalTemplateInterface.
Definition at line 1087 of file class.ilGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
Here is the call graph for this function:| ilGlobalTemplate::setTitle | ( | $a_title, | |
$hidden = false |
|||
| ) |
Sets title in standard template.
Will override the header_page_title.
Implements ilGlobalTemplateInterface.
Definition at line 861 of file class.ilGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
Here is the caller graph for this function:| ilGlobalTemplate::setTitleIcon | ( | $a_icon_path, | |
$a_icon_desc = "" |
|||
| ) |
set title icon
Implements ilGlobalTemplateInterface.
Definition at line 878 of file class.ilGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
Here is the caller graph for this function:| ilGlobalTemplate::setTreeFlatIcon | ( | $a_link, | |
| $a_mode | |||
| ) |
set tree/flat icon
| string | link target |
| strong | mode ("tree" | "flat") |
Implements ilGlobalTemplateInterface.
Definition at line 1624 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setVariable | ( | $variable, | |
$value = '' |
|||
| ) |
Implements ilGlobalTemplateInterface.
Definition at line 1791 of file class.ilGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillFooter(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillLightbox(), fillMainContent(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPageFormAction(), fillPermanentLink(), fillRightContent(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), setCenterColumnClass(), setLocator(), setSubTabs(), and setTabs().
Here is the caller graph for this function:| ilGlobalTemplate::touchBlock | ( | $block | ) |
overwrites ITX::touchBlock.
@access public
| string |
Implements ilGlobalTemplateInterface.
Definition at line 1817 of file class.ilGlobalTemplate.php.
Referenced by fillLeftNav(), fillPageFormAction(), fillScreenReaderFocus(), fillSideIcons(), fillTabs(), and setTabs().
Here is the caller graph for this function:
|
private |
Definition at line 1796 of file class.ilGlobalTemplate.php.
Referenced by fillMainMenu(), and getMainMenu().
Here is the caller graph for this function:
|
protected |
Definition at line 1663 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 1664 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 1662 of file class.ilGlobalTemplate.php.
Referenced by fillAdminPanel().
|
protected |
Definition at line 587 of file class.ilGlobalTemplate.php.
Referenced by getCSSFiles().
|
protected |
Definition at line 854 of file class.ilGlobalTemplate.php.
Referenced by getHeaderActionMenu().
|
protected |
Definition at line 850 of file class.ilGlobalTemplate.php.
|
protected |
Stores CSS to be included directly.
array
Definition at line 593 of file class.ilGlobalTemplate.php.
Referenced by getInlineCSS().
|
protected |
Definition at line 416 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 428 of file class.ilGlobalTemplate.php.
Referenced by getJSFiles().
|
protected |
Definition at line 422 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 20 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 18 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 263 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 268 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 333 of file class.ilGlobalTemplate.php.
|
staticprotected |
Definition at line 326 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 16 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 17 of file class.ilGlobalTemplate.php.
|
private |
Definition at line 77 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 21 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 1082 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 1077 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 26 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 851 of file class.ilGlobalTemplate.php.
Referenced by fillHeader(), and fillWindowTitle().
|
protected |
Definition at line 853 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 852 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 15 of file class.ilGlobalTemplate.php.
| const ilGlobalTemplate::MESSAGE_TYPE_FAILURE = 'failure' |
Definition at line 318 of file class.ilGlobalTemplate.php.
Referenced by ilStartUpGUI\retrieveMessagesFromSession().
| const ilGlobalTemplate::MESSAGE_TYPE_INFO = "info" |
Definition at line 319 of file class.ilGlobalTemplate.php.
Referenced by ilStartUpGUI\retrieveMessagesFromSession().
| const ilGlobalTemplate::MESSAGE_TYPE_QUESTION = "question" |
Definition at line 321 of file class.ilGlobalTemplate.php.
Referenced by ilStartUpGUI\retrieveMessagesFromSession().
| const ilGlobalTemplate::MESSAGE_TYPE_SUCCESS = "success" |
Definition at line 320 of file class.ilGlobalTemplate.php.
Referenced by ilStartUpGUI\retrieveMessagesFromSession().