ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
special template class to simplify handling of ITX/PEAR More...
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 () | |
![]() | |
printToString () | |
Use this method to get the finally rendered page as string. 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 | |
![]() | |
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 |
Definition at line 91 of file class.ilGlobalTemplate.php.
References $in_module, XapiProxy\$plugin, and setBodyClass().
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.
Referenced by loadStandardTemplate().
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(), fillInlineCss(), fillJavaScriptFiles(), fillTabs(), getSpecial(), getTabsHTML(), renderPage(), setCenterColumnClass(), and setTabs().
ilGlobalTemplate::clearHeader | ( | ) |
Clear header.
Implements ilGlobalTemplateInterface.
Definition at line 710 of file class.ilGlobalTemplate.php.
References setAlertProperties(), setDescription(), setTitle(), and setTitleIcon().
|
protected |
ilTemplateException |
Definition at line 1237 of file class.ilGlobalTemplate.php.
References $admin_panel_commands_toolbar, $DIC, $lng, fillPageFormAction(), ilUtil\getImagePath(), parseCurrentBlock(), setCurrentBlock(), ilToolbarGUI\setLeadingImage(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillBodyClass | ( | ) |
ilTemplateException |
Definition at line 502 of file class.ilGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillContentLanguage | ( | ) |
Definition at line 998 of file class.ilGlobalTemplate.php.
References $DIC, $lng, and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillCssFiles | ( | bool | $a_force = false | ) |
ilTemplateException |
Definition at line 475 of file class.ilGlobalTemplate.php.
References $filename, blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
|
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 getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 731 of file class.ilGlobalTemplate.php.
References $DIC, $lng, getHeaderActionMenu(), setVariable(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 631 of file class.ilGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 443 of file class.ilGlobalTemplate.php.
References ilUtil\appendUrlParameterString(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by fillJavaScriptFiles().
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.
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 956 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 894 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 1222 of file class.ilGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 946 of file class.ilGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 279 of file class.ilGlobalTemplate.php.
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 303 of file class.ilGlobalTemplate.php.
References $out, $txt, $type, ilSession\clear(), getMessageTextForType(), ilUtil\getSystemMessageHTML(), and setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 643 of file class.ilGlobalTemplate.php.
References ilUtil\getNewContentStyleSheetLocation(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillOnLoadCode | ( | ) |
Definition at line 427 of file class.ilGlobalTemplate.php.
References $i, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 1041 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by fillAdminPanel().
|
protected |
Definition at line 1290 of file class.ilGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 972 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillScreenReaderFocus | ( | ) |
Definition at line 1173 of file class.ilGlobalTemplate.php.
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 1181 of file class.ilGlobalTemplate.php.
References $DIC, $ilSetting, $lng, ilFrameTargetInfo\_getFrame(), ilUtil\getImagePath(), parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillTabs | ( | ) |
ilTemplateException |
Definition at line 843 of file class.ilGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 984 of file class.ilGlobalTemplate.php.
References $DIC, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillWindowTitle | ( | ) |
Definition at line 1009 of file class.ilGlobalTemplate.php.
References $DIC, $ilSetting, setVariable(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::get | ( | string | $part = self::DEFAULT_BLOCK | ) |
ilTemplateException |
Implements ilGlobalTemplateInterface.
Definition at line 1328 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::getCSSFiles | ( | ) |
|
protected |
Definition at line 796 of file class.ilGlobalTemplate.php.
References $header_action.
Referenced by fillHeader().
ilGlobalTemplate::getJSFiles | ( | ) |
|
protected |
|
protected |
Definition at line 275 of file class.ilGlobalTemplate.php.
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 320 of file class.ilGlobalTemplate.php.
References $type, ilSession\get(), and ilSession\has().
Referenced by fillMessage().
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.
References 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(), initHelp(), parseCurrentBlock(), setCenterColumnClass(), and setCurrentBlock().
|
protected |
Definition at line 858 of file class.ilGlobalTemplate.php.
References $DIC, and blockExists().
Referenced by getSpecial(), and renderPage().
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.
Referenced by getSpecial(), and renderPage().
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 addBlockFile(), ilUIFramework\init(), iljQueryUtil\initjQuery(), and iljQueryUtil\initjQueryUI().
ilGlobalTemplate::parseCurrentBlock | ( | string | $part = self::DEFAULT_BLOCK | ) |
ilTemplateException |
Implements ilGlobalTemplateInterface.
Definition at line 1362 of file class.ilGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), ilInternalLinkGUI\outputThumbnail(), ilInternalLinkGUI\renderLink(), renderPage(), and setCenterColumnClass().
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.
References $DIC, ilYuiUtil\initDom(), and renderPage().
ilGlobalTemplate::printToString | ( | string | $part = self::DEFAULT_BLOCK | ) |
Definition at line 114 of file class.ilGlobalTemplate.php.
References $DIC, ilYuiUtil\initDom(), and renderPage().
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 $id, 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(), getTabsHTML(), initHelp(), ilUIHookPluginGUI\KEEP, parseCurrentBlock(), setCenterColumnClass(), and setCurrentBlock().
Referenced by printToStdout(), and printToString().
|
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.
References setAlertProperties(), setDescription(), setHeaderActionMenu(), setTitle(), and setTitleIcon().
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.
Referenced by clearHeader(), and resetHeaderBlock().
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().
|
protected |
ilTemplateException |
Definition at line 914 of file class.ilGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
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 fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), ilInternalLinkGUI\outputThumbnail(), ilInternalLinkGUI\renderLink(), renderPage(), and setCenterColumnClass().
ilGlobalTemplate::setDescription | ( | string | $a_descr | ) |
Sets descripton below title in standard template.
Implements ilGlobalTemplateInterface.
Definition at line 691 of file class.ilGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
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.
Referenced by resetHeaderBlock().
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().
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().
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().
ilGlobalTemplate::setTabs | ( | string | $a_tabs_html | ) |
ilTemplateException |
Implements ilGlobalTemplateInterface.
Definition at line 824 of file class.ilGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
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.
Referenced by clearHeader(), and resetHeaderBlock().
ilGlobalTemplate::setTitleIcon | ( | string | $a_icon_path, |
string | $a_icon_desc = "" |
||
) |
set title icon
Implements ilGlobalTemplateInterface.
Definition at line 699 of file class.ilGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
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 fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillFooter(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillLightbox(), fillMainContent(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPageFormAction(), fillPermanentLink(), fillRightContent(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), ilInternalLinkGUI\outputThumbnail(), ilInternalLinkGUI\renderLink(), setCenterColumnClass(), setLocator(), setSubTabs(), and setTabs().
ilGlobalTemplate::touchBlock | ( | string | $block | ) |
ilTemplateException |
Implements ilGlobalTemplateInterface.
Definition at line 1354 of file class.ilGlobalTemplate.php.
Referenced by fillLeftNav(), fillPageFormAction(), fillSideIcons(), fillTabs(), and setTabs().
|
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.
Referenced by fillAdminPanel().
|
protected |
Definition at line 58 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 48 of file class.ilGlobalTemplate.php.
Referenced by getCSSFiles().
|
protected |
Definition at line 74 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 79 of file class.ilGlobalTemplate.php.
Referenced by getHeaderActionMenu().
|
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 LTI\ilGlobalTemplate\__construct(), ilIndependentGlobalTemplate\__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.
Referenced by getJSFiles().
|
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.
Referenced by getLoginTargetPar().
|
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.