|
ILIAS
release_8 Revision v8.24
|
special template class to simplify handling of ITX/PEAR More...
Inheritance diagram for ilGlobalTemplate:
Collaboration diagram for ilGlobalTemplate:Public Member Functions | |
| __construct (string $file, bool $flag1, bool $flag2, string $in_module='', string $vars=self::DEFAULT_BLOCK, bool $plugin=false, bool $a_use_cache=true) | |
| printToString (string $part=self::DEFAULT_BLOCK) | |
| hideFooter () | |
| Make the template hide the footer. More... | |
| setOnScreenMessage (string $a_type, string $a_txt, bool $a_keep=false) | |
| Set a message to be displayed to the user. More... | |
| addJavaScript (string $a_js_file, bool $a_add_version_parameter=true, int $a_batch=2) | |
| Add a javascript file that should be included in the header. More... | |
| addOnLoadCode (string $a_code, int $a_batch=2) | |
| Add on load code. More... | |
| getOnLoadCodeForAsynch () | |
| Get js onload code for ajax calls. More... | |
| resetJavascript () | |
| Reset javascript files. More... | |
| fillJavaScriptFiles (bool $a_force=false) | |
| Probably adds javascript files. More... | |
| fillOnLoadCode () | |
| addCss (string $a_css_file, string $media="screen") | |
| Add a css file that should be included in the header. More... | |
| addInlineCss (string $a_css, string $media="screen") | |
| Add a css file that should be included in the header. More... | |
| fillCssFiles (bool $a_force=false) | |
| setBodyClass (string $a_class="") | |
| Sets the body-tags class. More... | |
| fillBodyClass () | |
| renderPage (string $part, bool $a_fill_tabs, bool $a_skip_main_menu, 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 (string $a_title, bool $hidden=false) | |
| Sets title in standard template. More... | |
| setDescription (string $a_descr) | |
| Sets descripton below title in standard template. More... | |
| setTitleIcon (string $a_icon_path, string $a_icon_desc="") | |
| set title icon More... | |
| setAlertProperties (array $a_props) | |
| Set alert properties. More... | |
| clearHeader () | |
| Clear header. More... | |
| setHeaderActionMenu (string $a_header) | |
| Set header action menu. More... | |
| setHeaderPageTitle (string $a_title) | |
| Sets the title of the page (for browser window). More... | |
| setLocator () | |
| Insert locator. More... | |
| setTabs (string $a_tabs_html) | |
| setSubTabs (string $a_tabs_html) | |
| sets subtabs in standard template More... | |
| fillTabs () | |
| setContent (string $a_html) | |
| Sets content for standard template. More... | |
| setLeftContent (string $a_html) | |
| Sets content of left column. More... | |
| setLeftNavContent (string $a_content) | |
| Sets content of left navigation column. More... | |
| setRightContent (string $a_html) | |
| Sets content of right column. More... | |
| fillContentLanguage () | |
| fillWindowTitle () | |
| setPageFormAction (string $a_action) | |
| Sets the pages form action. More... | |
| setLoginTargetPar (string $a_val) | |
| Set target parameter for login (public sector). More... | |
| getSpecial (string $part=self::DEFAULT_BLOCK, bool $add_error_mess=false, bool $handle_referer=false, bool $add_ilias_footer=false, bool $add_standard_elements=false, bool $a_main_menu=true, bool $a_tabs=true) | |
| printToStdout (string $part=self::DEFAULT_BLOCK, bool $a_fill_tabs=true, bool $a_skip_main_menu=false) | |
| fillScreenReaderFocus () | |
| setTreeFlatIcon (string $a_link, string $a_mode) | |
| Sets a tree or flat icon. More... | |
| addLightbox (string $a_html, string $a_id) | |
| Add lightbox html. More... | |
| addAdminPanelToolbar (ilToolbarGUI $toolb, bool $a_bottom_panel=true, bool $a_arrow=false) | |
| Add admin panel commands as toolbar. More... | |
| setPermanentLink (string $a_type, ?int $a_id, string $a_append="", string $a_target="", string $a_title="") | |
| Generates and sets a permanent ilias link. More... | |
| resetHeaderBlock (bool $a_reset_header_action=true) | |
| Reset all header properties: title, icon, description, alerts, action menu. More... | |
| setFileUploadRefId (int $a_ref_id) | |
| Enables the file upload into this object by dropping a file. More... | |
| get (string $part=self::DEFAULT_BLOCK) | |
| setVariable (string $variable, $value='') | |
| Sets the given variable to the given value. More... | |
| setCurrentBlock (string $part=self::DEFAULT_BLOCK) | |
| touchBlock (string $block) | |
| parseCurrentBlock (string $part=self::DEFAULT_BLOCK) | |
| addBlockFile (string $var, string $block, string $template_name, string $in_module=null) | |
| blockExists (string $a_blockname) | |
| check if block exists in actual template More... | |
| getJSFiles () | |
| getCSSFiles () | |
Public Member Functions inherited from ilGlobalTemplateInterface | |
| hideFooter () | |
| Make the template hide the footer. More... | |
| setOnScreenMessage (string $type, string $a_txt, bool $a_keep=false) | |
| Set a message to be displayed to the user. More... | |
| addJavaScript (string $a_js_file, bool $a_add_version_parameter=true, int $a_batch=2) | |
| Add a javascript file that should be included in the header. More... | |
| addOnLoadCode (string $a_code, int $a_batch=2) | |
| Add on load code. More... | |
| getOnLoadCodeForAsynch () | |
| Get js onload code for ajax calls. More... | |
| resetJavascript () | |
| Reset javascript files. More... | |
| fillJavaScriptFiles (bool $a_force=false) | |
| Probably adds javascript files. More... | |
| addCss (string $a_css_file, string $media="screen") | |
| Add a css file that should be included in the header. More... | |
| addInlineCss (string $a_css, string $media="screen") | |
| Add a css file that should be included in the header. More... | |
| setBodyClass (string $a_class="") | |
| Sets the body-tags class. More... | |
| 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 (string $a_title, bool $hidden=false) | |
| Sets title in standard template. More... | |
| setDescription (string $a_descr) | |
| Sets description below title in standard template. More... | |
| setTitleIcon (string $a_icon_path, string $a_icon_desc="") | |
| set title icon More... | |
| setAlertProperties (array $alerts) | |
| Set alert properties. More... | |
| clearHeader () | |
| Clear header. More... | |
| setHeaderActionMenu (string $a_header) | |
| Set header action menu. More... | |
| setHeaderPageTitle (string $a_title) | |
| Sets the title of the page (for browser window). More... | |
| setLocator () | |
| Insert locator. More... | |
| setTabs (string $a_tabs_html) | |
| sets tabs in standard template More... | |
| setSubTabs (string $a_tabs_html) | |
| sets subtabs in standard template More... | |
| setContent (string $a_html) | |
| Sets content for standard template. More... | |
| setLeftContent (string $a_html) | |
| Sets content of left column. More... | |
| setLeftNavContent (string $a_content) | |
| Sets content of left navigation column. More... | |
| setRightContent (string $a_html) | |
| Sets content of right column. More... | |
| setPageFormAction (string $a_action) | |
| Sets the pages form action. More... | |
| setLoginTargetPar (string $a_val) | |
| Set target parameter for login (public sector). More... | |
| getSpecial (string $part=self::DEFAULT_BLOCK, bool $add_error_mess=false, bool $handle_referer=false, bool $add_ilias_footer=false, bool $add_standard_elements=false, bool $a_main_menu=true, bool $a_tabs=true) | |
| Renders the page with specific elements enabled. More... | |
| printToStdout (string $part=self::DEFAULT_BLOCK, bool $has_tabs=true, bool $skip_main_menu=false) | |
| printToString () | |
| Use this method to get the finally rendered page as string. More... | |
| setTreeFlatIcon (string $a_link, string $a_mode) | |
| Sets a tree or flat icon. More... | |
| addLightbox (string $a_html, string $a_id) | |
| Add a lightbox html to the template. More... | |
| addAdminPanelToolbar (ilToolbarGUI $toolbar, bool $is_bottom_panel=true, bool $has_arrow=false) | |
| Add admin panel commands as toolbar. More... | |
| setPermanentLink (string $a_type, ?int $a_id, string $a_append="", string $a_target="", string $a_title="") | |
| Generates and sets a permanent ilias link. More... | |
| resetHeaderBlock (bool $a_reset_header_action=true) | |
| Reset all header properties: title, icon, description, alerts, action menu. More... | |
| setFileUploadRefId (int $a_ref_id) | |
| Enables the file upload into this object by dropping a file. More... | |
| get (string $part=self::DEFAULT_BLOCK) | |
| Renders the given block and returns the html string. More... | |
| setVariable (string $variable, $value='') | |
| Sets the given variable to the given value. More... | |
| setCurrentBlock (string $part=self::DEFAULT_BLOCK) | |
| Sets the template to the given block. More... | |
| parseCurrentBlock (string $block_name=self::DEFAULT_BLOCK) | |
| Parses the given block. More... | |
| touchBlock (string $block) | |
| overwrites ITX::touchBlock. More... | |
| addBlockFile (string $var, string $block, string $template_name, string $in_module=null) | |
| overwrites ITX::addBlockFile More... | |
| blockExists (string $block_name) | |
| check if block exists in actual template More... | |
Protected Member Functions | |
| fillFooter () | |
| getMainMenu () | |
| fillMainMenu () | |
| initHelp () | |
| fillMessage () | |
| getMessageTextForType (string $type) | |
| fillJavascriptFile (string $file, string $vers) | |
| resetCss () | |
| fillInlineCss () | |
| fillNewContentStyle () | |
| fillHeader () | |
| getHeaderActionMenu () | |
| getTabsHTML () | |
| fillLeftNav () | |
| setCenterColumnClass () | |
| fillMainContent () | |
| fillLeftContent () | |
| fillRightContent () | |
| fillToolbar () | |
| fillPageFormAction () | |
| getLoginTargetPar () | |
| fillSideIcons () | |
| fillLightbox () | |
| fillAdminPanel () | |
| fillPermanentLink () | |
| variableExists (string $a_variablename) | |
Additional Inherited Members | |
Data Fields inherited from ilGlobalTemplateInterface | |
| const | MESSAGE_TYPE_FAILURE = 'failure' |
| const | MESSAGE_TYPE_SUCCESS = "success" |
| const | MESSAGE_TYPE_QUESTION = "question" |
| const | MESSAGE_TYPE_INFO = "info" |
| const | MESSAGE_TYPES |
| const | DEFAULT_BLOCK = 'DEFAULT' |
special template class to simplify handling of ITX/PEAR
Definition at line 15 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::__construct | ( | string | $file, |
| bool | $flag1, | ||
| bool | $flag2, | ||
| string | $in_module = '', |
||
| string | $vars = self::DEFAULT_BLOCK, |
||
| bool | $plugin = false, |
||
| bool | $a_use_cache = true |
||
| ) |
| ilTemplateException|ilSystemStyleException |
Reimplemented in LTI\ilGlobalTemplate.
Definition at line 91 of file class.ilGlobalTemplate.php.
References $in_module, XapiProxy\$plugin, and setBodyClass().
Here is the call graph for this function:| ilGlobalTemplate::addAdminPanelToolbar | ( | ilToolbarGUI | $toolbar, |
| bool | $is_bottom_panel = true, |
||
| bool | $has_arrow = false |
||
| ) |
Add admin panel commands as toolbar.
| bool | $is_bottom_panel | if the panel should be rendered at the bottom of the page as well. |
| bool | $has_arrow | if the panel should be rendered with an arrow icon. |
Implements ilGlobalTemplateInterface.
Definition at line 1227 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::addBlockFile | ( | string | $var, |
| string | $block, | ||
| string | $template_name, | ||
| string | $in_module = null |
||
| ) |
| ilTemplateException |
Implements ilGlobalTemplateInterface.
Definition at line 1370 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::addCss | ( | string | $a_css_file, |
| string | $media = "screen" |
||
| ) |
Add a css file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 454 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::addInlineCss | ( | string | $a_css, |
| string | $media = "screen" |
||
| ) |
Add a css file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 464 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::addJavaScript | ( | string | $a_js_file, |
| bool | $a_add_version_parameter = true, |
||
| int | $a_batch = 2 |
||
| ) |
Add a javascript file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 329 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::addLightbox | ( | string | $a_html, |
| string | $a_id | ||
| ) |
Add lightbox html.
Implements ilGlobalTemplateInterface.
Definition at line 1217 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::addOnLoadCode | ( | string | $a_code, |
| int | $a_batch = 2 |
||
| ) |
Add on load code.
Implements ilGlobalTemplateInterface.
Definition at line 353 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::blockExists | ( | string | $block_name | ) |
check if block exists in actual template
| string | $block_name |
Implements ilGlobalTemplateInterface.
Definition at line 1375 of file class.ilGlobalTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), and fillJavaScriptFiles().
Here is the caller graph for this function:| ilGlobalTemplate::clearHeader | ( | ) |
Clear header.
Implements ilGlobalTemplateInterface.
Definition at line 710 of file class.ilGlobalTemplate.php.
|
protected |
| ilTemplateException |
Definition at line 1237 of file class.ilGlobalTemplate.php.
References $DIC, $lng, ilUtil\getImagePath(), and setVariable().
Here is the call graph for this function:| ilGlobalTemplate::fillBodyClass | ( | ) |
| ilTemplateException |
Definition at line 502 of file class.ilGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Here is the call graph for this function:| ilGlobalTemplate::fillContentLanguage | ( | ) |
Definition at line 998 of file class.ilGlobalTemplate.php.
References $DIC, $lng, and setVariable().
Here is the call graph for this function:| ilGlobalTemplate::fillCssFiles | ( | bool | $a_force = false | ) |
| ilTemplateException |
Definition at line 475 of file class.ilGlobalTemplate.php.
References $filename, blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Here is the call graph for this function:
|
protected |
| ilTemplateException | |
| ilCtrlException |
Definition at line 130 of file class.ilGlobalTemplate.php.
References $_SERVER, $DIC, Vendor\Package\$f, $GLOBALS, $ilDB, $ilSetting, $lng, $url, ilObjLanguageAccess\_checkTranslate(), ilLink\_getStaticLink(), ilObjLanguageAccess\_getTranslationLink(), ilObjLanguageAccess\_isPageTranslation(), ilUtil\appendUrlParameterString(), ilSystemSupportContactsGUI\getFooterLink(), ilSystemSupportContactsGUI\getFooterText(), ILIAS_VERSION, ilImprint\isActive(), ilCtrlInterface\PARAM_CMD_CLASS, ilUtil\secureUrl(), setVariable(), and ilArrayUtil\sortArray().
Referenced by renderPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilTemplateException |
Definition at line 731 of file class.ilGlobalTemplate.php.
References $DIC, $lng, setVariable(), and ilUtil\stripScriptHTML().
Here is the call graph for this function:
|
protected |
| ilTemplateException |
Definition at line 631 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 443 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 | ( | bool | $a_force = false | ) |
Probably adds javascript files.
Implements ilGlobalTemplateInterface.
Definition at line 389 of file class.ilGlobalTemplate.php.
References $DIC, $i, $ilSetting, blockExists(), fillJavascriptFile(), and ILIAS_VERSION.
Here is the call graph for this function:
|
protected |
| ilTemplateException |
Definition at line 956 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:
|
protected |
| ilTemplateException |
Definition at line 894 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 1222 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 946 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 279 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 303 of file class.ilGlobalTemplate.php.
References $out, $txt, $type, ilSession\clear(), getMessageTextForType(), ilUtil\getSystemMessageHTML(), and setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 643 of file class.ilGlobalTemplate.php.
References ilUtil\getNewContentStyleSheetLocation(), and setVariable().
Here is the call graph for this function:| ilGlobalTemplate::fillOnLoadCode | ( | ) |
Definition at line 427 of file class.ilGlobalTemplate.php.
References $i, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Here is the call graph for this function:
|
protected |
| ilTemplateException |
Definition at line 1041 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 1290 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:
|
protected |
| ilTemplateException |
Definition at line 972 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:| ilGlobalTemplate::fillScreenReaderFocus | ( | ) |
Definition at line 1173 of file class.ilGlobalTemplate.php.
|
protected |
| ilTemplateException |
Definition at line 1181 of file class.ilGlobalTemplate.php.
References $DIC, $ilSetting, $lng, ilFrameTargetInfo\_getFrame(), ilUtil\getImagePath(), and setVariable().
Here is the call graph for this function:| ilGlobalTemplate::fillTabs | ( | ) |
| ilTemplateException |
Definition at line 843 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:
|
protected |
| ilTemplateException |
Definition at line 984 of file class.ilGlobalTemplate.php.
References $DIC, and setVariable().
Here is the call graph for this function:| ilGlobalTemplate::fillWindowTitle | ( | ) |
Definition at line 1009 of file class.ilGlobalTemplate.php.
References $DIC, $ilSetting, setVariable(), and ilUtil\stripScriptHTML().
Here is the call graph for this function:| ilGlobalTemplate::get | ( | string | $part = self::DEFAULT_BLOCK | ) |
| ilTemplateException |
Implements ilGlobalTemplateInterface.
Definition at line 1328 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::getCSSFiles | ( | ) |
Definition at line 1385 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 796 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::getJSFiles | ( | ) |
Definition at line 1380 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 1060 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 275 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 320 of file class.ilGlobalTemplate.php.
References $type, ilSession\get(), and ilSession\has().
Referenced by fillMessage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalTemplate::getOnLoadCodeForAsynch | ( | ) |
Get js onload code for ajax calls.
Implements ilGlobalTemplateInterface.
Definition at line 363 of file class.ilGlobalTemplate.php.
References $i.
| ilGlobalTemplate::getSpecial | ( | string | $part = self::DEFAULT_BLOCK, |
| bool | $add_error_mess = false, |
||
| bool | $handle_referer = false, |
||
| bool | $add_ilias_footer = false, |
||
| bool | $add_standard_elements = false, |
||
| bool | $a_main_menu = true, |
||
| bool | $a_tabs = true |
||
| ) |
| ilTemplateException | |
| ilCtrlException |
Implements ilGlobalTemplateInterface.
Definition at line 1069 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 858 of file class.ilGlobalTemplate.php.
References $DIC.
| ilGlobalTemplate::hideFooter | ( | ) |
Make the template hide the footer.
Implements ilGlobalTemplateInterface.
Definition at line 121 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 283 of file class.ilGlobalTemplate.php.
| 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.
| ilTemplateException |
Implements ilGlobalTemplateInterface.
Definition at line 659 of file class.ilGlobalTemplate.php.
References ilUIFramework\init(), iljQueryUtil\initjQuery(), and iljQueryUtil\initjQueryUI().
Here is the call graph for this function:| ilGlobalTemplate::parseCurrentBlock | ( | string | $part = self::DEFAULT_BLOCK | ) |
| ilTemplateException |
Implements ilGlobalTemplateInterface.
Definition at line 1362 of file class.ilGlobalTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), fillJavascriptFile(), and fillOnLoadCode().
Here is the caller graph for this function:| ilGlobalTemplate::printToStdout | ( | string | $part = self::DEFAULT_BLOCK, |
| bool | $has_tabs = true, |
||
| bool | $skip_main_menu = false |
||
| ) |
| bool | $has_tabs | if template variable {TABS} should be filled with content of ilTabs |
| bool | $skip_main_menu | if the main menu should be rendered. |
Implements ilGlobalTemplateInterface.
Definition at line 1152 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::printToString | ( | string | $part = self::DEFAULT_BLOCK | ) |
Definition at line 114 of file class.ilGlobalTemplate.php.
References $DIC, ilYuiUtil\initDom(), and renderPage().
Here is the call graph for this function:| ilGlobalTemplate::renderPage | ( | string | $part, |
| bool | $a_fill_tabs, | ||
| bool | $a_skip_main_menu, | ||
| Container | $DIC | ||
| ) |
| ilTemplateException | |
| ilCtrlException |
Definition at line 515 of file class.ilGlobalTemplate.php.
References fillFooter().
Referenced by printToString().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 623 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::resetHeaderBlock | ( | bool | $a_reset_header_action = true | ) |
Reset all header properties: title, icon, description, alerts, action menu.
Implements ilGlobalTemplateInterface.
Definition at line 1306 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::resetJavascript | ( | ) |
Reset javascript files.
Implements ilGlobalTemplateInterface.
Definition at line 382 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setAlertProperties | ( | array | $alerts | ) |
Set alert properties.
| array<int,array> | $alerts |
Implements ilGlobalTemplateInterface.
Definition at line 705 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setBodyClass | ( | string | $a_class = "" | ) |
Sets the body-tags class.
Implements ilGlobalTemplateInterface.
Definition at line 494 of file class.ilGlobalTemplate.php.
Referenced by ilIndependentGlobalTemplate\__construct(), and __construct().
Here is the caller graph for this function:
|
protected |
| ilTemplateException |
Definition at line 914 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:| ilGlobalTemplate::setContent | ( | string | $a_html | ) |
Sets content for standard template.
Implements ilGlobalTemplateInterface.
Definition at line 870 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setCurrentBlock | ( | string | $part = self::DEFAULT_BLOCK | ) |
| ilTemplateException |
Implements ilGlobalTemplateInterface.
Definition at line 1346 of file class.ilGlobalTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), fillJavascriptFile(), fillOnLoadCode(), and ilInternalLinkGUI\outputThumbnail().
Here is the caller graph for this function:| ilGlobalTemplate::setDescription | ( | string | $a_descr | ) |
Sets descripton below title in standard template.
Implements ilGlobalTemplateInterface.
Definition at line 691 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setFileUploadRefId | ( | int | $a_ref_id | ) |
Enables the file upload into this object by dropping a file.
Implements ilGlobalTemplateInterface.
Definition at line 1320 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setHeaderActionMenu | ( | string | $a_header | ) |
Set header action menu.
Implements ilGlobalTemplateInterface.
Definition at line 718 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setHeaderPageTitle | ( | string | $a_title | ) |
Sets the title of the page (for browser window).
Implements ilGlobalTemplateInterface.
Definition at line 723 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setLeftContent | ( | string | $a_html | ) |
Sets content of left column.
Implements ilGlobalTemplateInterface.
Definition at line 877 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setLeftNavContent | ( | string | $a_content | ) |
Sets content of left navigation column.
Implements ilGlobalTemplateInterface.
Definition at line 884 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setLocator | ( | ) |
Insert locator.
Implements ilGlobalTemplateInterface.
Definition at line 801 of file class.ilGlobalTemplate.php.
References $DIC, and setVariable().
Here is the call graph for this function:| ilGlobalTemplate::setLoginTargetPar | ( | string | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Implements ilGlobalTemplateInterface.
Definition at line 1055 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setOnScreenMessage | ( | string | $type, |
| string | $a_txt, | ||
| bool | $a_keep = false |
||
| ) |
Set a message to be displayed to the user.
Please use instead of ilUtil::sendInfo(), ilUtil::sendSuccess() and ilUtil::sendFailure().
Implements ilGlobalTemplateInterface.
Definition at line 288 of file class.ilGlobalTemplate.php.
References ilSession\set().
Here is the call graph for this function:| ilGlobalTemplate::setPageFormAction | ( | string | $a_action | ) |
Sets the pages form action.
Implements ilGlobalTemplateInterface.
Definition at line 1033 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setPermanentLink | ( | string | $a_type, |
| ?int | $a_id, | ||
| string | $a_append = "", |
||
| string | $a_target = "", |
||
| string | $a_title = "" |
||
| ) |
Generates and sets a permanent ilias link.
Implements ilGlobalTemplateInterface.
Definition at line 1274 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setRightContent | ( | string | $a_html | ) |
Sets content of right column.
Implements ilGlobalTemplateInterface.
Definition at line 904 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setSubTabs | ( | string | $a_tabs_html | ) |
sets subtabs in standard template
Implements ilGlobalTemplateInterface.
Definition at line 835 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:| ilGlobalTemplate::setTabs | ( | string | $a_tabs_html | ) |
| ilTemplateException |
Implements ilGlobalTemplateInterface.
Definition at line 824 of file class.ilGlobalTemplate.php.
References setVariable().
Here is the call graph for this function:| ilGlobalTemplate::setTitle | ( | string | $a_title, |
| bool | $hidden = false |
||
| ) |
Sets title in standard template.
Will override the header_page_title.
Implements ilGlobalTemplateInterface.
Definition at line 682 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setTitleIcon | ( | string | $a_icon_path, |
| string | $a_icon_desc = "" |
||
| ) |
set title icon
Implements ilGlobalTemplateInterface.
Definition at line 699 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setTreeFlatIcon | ( | string | $a_link, |
| string | $a_mode | ||
| ) |
Sets a tree or flat icon.
| string | $a_mode | ("tree" | "flat") |
Implements ilGlobalTemplateInterface.
Definition at line 1208 of file class.ilGlobalTemplate.php.
| ilGlobalTemplate::setVariable | ( | string | $variable, |
$value = '' |
|||
| ) |
Sets the given variable to the given value.
| mixed | $value |
Implements ilGlobalTemplateInterface.
Definition at line 1333 of file class.ilGlobalTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), fillFooter(), fillJavascriptFile(), fillMessage(), and fillOnLoadCode().
Here is the caller graph for this function:| ilGlobalTemplate::touchBlock | ( | string | $block | ) |
| ilTemplateException |
Implements ilGlobalTemplateInterface.
Definition at line 1354 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 1338 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 72 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 73 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 18 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 58 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 48 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 74 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 79 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 75 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 80 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 81 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 56 of file class.ilGlobalTemplate.php.
Referenced by ilIndependentGlobalTemplate\__construct(), LTI\ilGlobalTemplate\__construct(), and __construct().
|
protected |
Definition at line 54 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 24 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 40 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 32 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 84 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 70 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 63 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 86 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 62 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 65 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 66 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 67 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 69 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 60 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 61 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 85 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 68 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 64 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 83 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 82 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 17 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 57 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 76 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 78 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 77 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 59 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 71 of file class.ilGlobalTemplate.php.