ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
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... | |
addAdminPanelToolbar (ilToolbarGUI $toolb, bool $a_bottom_panel=true, bool $a_arrow=false) | |
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... | |
addAdminPanelToolbar (\ilToolbarGUI $toolbar, bool $is_bottom_panel=true, bool $has_arrow=false) | |
Add admin panel commands as toolbar. More... | |
Protected Member Functions | |
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 () | |
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 29 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 105 of file class.ilGlobalTemplate.php.
References $in_module, XapiProxy\$plugin, and setBodyClass().
ilGlobalTemplate::addAdminPanelToolbar | ( | ilToolbarGUI | $toolb, |
bool | $a_bottom_panel = true , |
||
bool | $a_arrow = false |
||
) |
Definition at line 1065 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::addBlockFile | ( | string | $var, |
string | $block, | ||
string | $template_name, | ||
?string | $in_module = null |
||
) |
ilTemplateException |
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1208 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 ILIAS\UICore\GlobalTemplate.
Definition at line 319 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 ILIAS\UICore\GlobalTemplate.
Definition at line 329 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 ILIAS\UICore\GlobalTemplate.
Definition at line 194 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::addOnLoadCode | ( | string | $a_code, |
int | $a_batch = 2 |
||
) |
Add on load code.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 218 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::blockExists | ( | string | $block_name | ) |
check if block exists in actual template
string | $block_name |
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1213 of file class.ilGlobalTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavaScriptFiles(), fillTabs(), getSpecial(), getTabsHTML(), renderPage(), setCenterColumnClass(), and setTabs().
ilGlobalTemplate::clearHeader | ( | ) |
Clear header.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 566 of file class.ilGlobalTemplate.php.
References setAlertProperties(), setDescription(), setTitle(), and setTitleIcon().
|
protected |
ilTemplateException |
Definition at line 1075 of file class.ilGlobalTemplate.php.
References $admin_panel_commands_toolbar, $DIC, $lng, fillPageFormAction(), ilUtil\getImagePath(), null, parseCurrentBlock(), setCurrentBlock(), ilToolbarGUI\setLeadingImage(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillBodyClass | ( | ) |
ilTemplateException |
Definition at line 367 of file class.ilGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillContentLanguage | ( | ) |
Definition at line 854 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 340 of file class.ilGlobalTemplate.php.
References $filename, blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 587 of file class.ilGlobalTemplate.php.
References $DIC, $lng, getHeaderActionMenu(), null, setVariable(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 490 of file class.ilGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 308 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 ILIAS\UICore\GlobalTemplate.
Definition at line 254 of file class.ilGlobalTemplate.php.
References $DIC, $ilSetting, blockExists(), fillJavascriptFile(), and ILIAS_VERSION.
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 812 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 750 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 802 of file class.ilGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 144 of file class.ilGlobalTemplate.php.
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 168 of file class.ilGlobalTemplate.php.
References $out, $txt, ilSession\clear(), getMessageTextForType(), ilUtil\getSystemMessageHTML(), null, and setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 502 of file class.ilGlobalTemplate.php.
References ilUtil\getNewContentStyleSheetLocation(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillOnLoadCode | ( | ) |
Definition at line 292 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 897 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by fillAdminPanel().
|
protected |
Definition at line 1128 of file class.ilGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 828 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillScreenReaderFocus | ( | ) |
Definition at line 1024 of file class.ilGlobalTemplate.php.
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 1032 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 699 of file class.ilGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
Referenced by getSpecial(), and renderPage().
|
protected |
ilTemplateException |
Definition at line 840 of file class.ilGlobalTemplate.php.
References $DIC, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillWindowTitle | ( | ) |
Definition at line 865 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 ILIAS\UICore\GlobalTemplate.
Definition at line 1166 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::getCSSFiles | ( | ) |
|
protected |
Definition at line 652 of file class.ilGlobalTemplate.php.
References $header_action.
Referenced by fillHeader().
ilGlobalTemplate::getJSFiles | ( | ) |
|
protected |
Definition at line 916 of file class.ilGlobalTemplate.php.
References $login_target_par.
|
protected |
Definition at line 140 of file class.ilGlobalTemplate.php.
Referenced by getSpecial(), and renderPage().
|
protected |
Definition at line 185 of file class.ilGlobalTemplate.php.
References ilSession\get(), ilSession\has(), and null.
Referenced by fillMessage().
ilGlobalTemplate::getOnLoadCodeForAsynch | ( | ) |
Get js onload code for ajax calls.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 228 of file class.ilGlobalTemplate.php.
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 ILIAS\UICore\GlobalTemplate.
Definition at line 925 of file class.ilGlobalTemplate.php.
References ilObjLanguageAccess\_saveUsages(), blockExists(), fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavaScriptFiles(), fillLeftContent(), fillLeftNav(), fillMainContent(), fillMainMenu(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPermanentLink(), fillRightContent(), fillScreenReaderFocus(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), getMainMenu(), getTabsHTML(), initHelp(), parseCurrentBlock(), setCenterColumnClass(), and setCurrentBlock().
|
protected |
Definition at line 714 of file class.ilGlobalTemplate.php.
References $DIC, and blockExists().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::hideFooter | ( | ) |
Make the template hide the footer.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 135 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 148 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 ILIAS\UICore\GlobalTemplate.
Definition at line 518 of file class.ilGlobalTemplate.php.
References addBlockFile(), iljQueryUtil\initjQuery(), and iljQueryUtil\initjQueryUI().
ilGlobalTemplate::parseCurrentBlock | ( | string | $part = self::DEFAULT_BLOCK | ) |
ilTemplateException |
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1200 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 ILIAS\UICore\GlobalTemplate.
Definition at line 1003 of file class.ilGlobalTemplate.php.
References $DIC, ILIAS\UI\examples\Symbol\Glyph\Header\header(), ilYuiUtil\initDom(), and renderPage().
ilGlobalTemplate::printToString | ( | string | $part = self::DEFAULT_BLOCK | ) |
Definition at line 128 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 380 of file class.ilGlobalTemplate.php.
References $id, XapiProxy\$resp, ilObjLanguageAccess\_saveUsages(), blockExists(), fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavaScriptFiles(), fillLeftContent(), fillLeftNav(), 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 482 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::resetHeaderBlock | ( | bool | $a_reset_header_action = true | ) |
Reset all header properties: title, icon, description, alerts, action menu.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1144 of file class.ilGlobalTemplate.php.
References null, setAlertProperties(), setDescription(), setHeaderActionMenu(), setTitle(), and setTitleIcon().
ilGlobalTemplate::resetJavascript | ( | ) |
Reset javascript files.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 247 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setAlertProperties | ( | array | $alerts | ) |
Set alert properties.
array<int,array> | $alerts |
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 561 of file class.ilGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilGlobalTemplate::setBodyClass | ( | string | $a_class = "" | ) |
Sets the body-tags class.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 359 of file class.ilGlobalTemplate.php.
Referenced by ilIndependentGlobalTemplate\__construct(), and __construct().
|
protected |
ilTemplateException |
Definition at line 770 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 ILIAS\UICore\GlobalTemplate.
Definition at line 726 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setCurrentBlock | ( | string | $part = self::DEFAULT_BLOCK | ) |
ilTemplateException |
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1184 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 ILIAS\UICore\GlobalTemplate.
Definition at line 547 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 ILIAS\UICore\GlobalTemplate.
Definition at line 1158 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setHeaderActionMenu | ( | string | $a_header | ) |
Set header action menu.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 574 of file class.ilGlobalTemplate.php.
Referenced by resetHeaderBlock().
ilGlobalTemplate::setHeaderPageTitle | ( | string | $a_title | ) |
Sets the title of the page (for browser window).
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 579 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setLeftContent | ( | string | $a_html | ) |
Sets content of left column.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 733 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setLeftNavContent | ( | string | $a_content | ) |
Sets content of left navigation column.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 740 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setLocator | ( | ) |
Insert locator.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 657 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 ILIAS\UICore\GlobalTemplate.
Definition at line 911 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 ILIAS\UICore\GlobalTemplate.
Definition at line 153 of file class.ilGlobalTemplate.php.
References ilSession\set().
ilGlobalTemplate::setPageFormAction | ( | string | $a_action | ) |
Sets the pages form action.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 889 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 ILIAS\UICore\GlobalTemplate.
Definition at line 1112 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setRightContent | ( | string | $a_html | ) |
Sets content of right column.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 760 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setSubTabs | ( | string | $a_tabs_html | ) |
sets subtabs in standard template
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 691 of file class.ilGlobalTemplate.php.
References setVariable().
ilGlobalTemplate::setTabs | ( | string | $a_tabs_html | ) |
ilTemplateException |
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 680 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 ILIAS\UICore\GlobalTemplate.
Definition at line 538 of file class.ilGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilGlobalTemplate::setTitleIcon | ( | string | $a_icon_path, |
string | $a_icon_desc = "" |
||
) |
set title icon
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 555 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 ILIAS\UICore\GlobalTemplate.
Definition at line 1059 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setVariable | ( | string | $variable, |
$value = '' |
|||
) |
Sets the given variable to the given value.
mixed | $value |
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1171 of file class.ilGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), 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 ILIAS\UICore\GlobalTemplate.
Definition at line 1192 of file class.ilGlobalTemplate.php.
Referenced by fillLeftNav(), fillPageFormAction(), fillSideIcons(), fillTabs(), and setTabs().
|
protected |
Definition at line 1176 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 86 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 87 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 32 of file class.ilGlobalTemplate.php.
Referenced by fillAdminPanel().
|
protected |
Definition at line 72 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 62 of file class.ilGlobalTemplate.php.
Referenced by getCSSFiles().
|
protected |
Definition at line 88 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 93 of file class.ilGlobalTemplate.php.
Referenced by getHeaderActionMenu().
|
protected |
Definition at line 89 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 94 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 95 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 70 of file class.ilGlobalTemplate.php.
Referenced by LTI\ilGlobalTemplate\__construct(), ilIndependentGlobalTemplate\__construct(), and __construct().
|
protected |
Definition at line 68 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 38 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 54 of file class.ilGlobalTemplate.php.
Referenced by getJSFiles().
|
protected |
Definition at line 46 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 98 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 84 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 77 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 100 of file class.ilGlobalTemplate.php.
Referenced by getLoginTargetPar().
|
protected |
Definition at line 76 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 79 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 83 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 74 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 75 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 99 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 82 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 78 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 97 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 96 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 31 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 71 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 90 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 92 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 91 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 73 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 85 of file class.ilGlobalTemplate.php.