ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
special template class to simplify handling of ITX/PEAR More...
Public Member Functions | |
__construct ( $file, $flag1, $flag2, $in_module=false, $vars="DEFAULT", $plugin=false, $a_use_cache=true) | |
constructor More... | |
printToString ($part="DEFAULT") | |
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") | |
public More... | |
touchBlock ($block) | |
overwrites ITX::touchBlock. More... | |
parseCurrentBlock ($part="DEFAULT") | |
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt public. More... | |
addBlockFile ($var, $block, $tplname, $in_module=false) | |
overwrites ITX::addBlockFile public More... | |
blockExists ($a_blockname) | |
check if block exists in actual template private More... | |
getJSFiles () | |
getCSSFiles () | |
getInlineCSS () | |
![]() | |
printToString () | |
Use this method to get the finally rendered page as string. 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 public |
Definition at line 37 of file class.ilGlobalTemplate.php.
References XapiProxy\$plugin, and setBodyClass().
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 1690 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::addBlockFile | ( | $var, | |
$block, | |||
$tplname, | |||
$in_module = false |
|||
) |
overwrites ITX::addBlockFile 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 1860 of file class.ilGlobalTemplate.php.
Referenced by loadStandardTemplate().
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 1652 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 private
string | blockname |
Implements ilGlobalTemplateInterface.
Definition at line 1871 of file class.ilGlobalTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavaScriptFiles(), fillScreenReaderFocus(), fillTabs(), getSpecial(), getTabsHTML(), renderPage(), setCenterColumnClass(), and setTabs().
ilGlobalTemplate::clearHeader | ( | ) |
Clear header.
Implements ilGlobalTemplateInterface.
Definition at line 897 of file class.ilGlobalTemplate.php.
References setAlertProperties(), setDescription(), setTitle(), and setTitleIcon().
ilGlobalTemplate::enableDragDropFileUpload | ( | $a_ref_id | ) |
Enables the file upload into this object by dropping a file.
Implements ilGlobalTemplateInterface.
Definition at line 1790 of file class.ilGlobalTemplate.php.
Referenced by resetHeaderBlock().
|
private |
Put admin panel into template:
Definition at line 1702 of file class.ilGlobalTemplate.php.
References $admin_panel_commands_toolbar, $DIC, $lng, fillPageFormAction(), ilUtil\getImagePath(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillBodyClass | ( | ) |
Definition at line 656 of file class.ilGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillContentLanguage | ( | ) |
Add current user language to meta tags.
Definition at line 1272 of file class.ilGlobalTemplate.php.
References $DIC, $ilUser, $lng, and setVariable().
Referenced by getSpecial(), and renderPage().
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().
|
private |
Fill the footer area.
Definition at line 90 of file class.ilGlobalTemplate.php.
References $_GET, $_SERVER, $DIC, Vendor\Package\$f, $GLOBALS, $ilBench, $ilCtrl, $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().
|
private |
Fill header.
Definition at line 940 of file class.ilGlobalTemplate.php.
References $DIC, $lng, $title, getHeaderActionMenu(), parseCurrentBlock(), setCurrentBlock(), setVariable(), ilUtil\stripScriptHTML(), and touchBlock().
Referenced by getSpecial(), and renderPage().
|
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().
|
protected |
string | $file | |
string | $vers |
Definition at line 565 of file class.ilGlobalTemplate.php.
References ilUtil\appendUrlParameterString(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by fillJavaScriptFiles().
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().
|
private |
Definition at line 1221 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
|
private |
Fill left navigation frame.
Definition at line 1170 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by getSpecial(), and renderPage().
|
private |
Fill lightbox content.
Definition at line 1663 of file class.ilGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and renderPage().
|
private |
Definition at line 1214 of file class.ilGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and renderPage().
|
private |
Definition at line 283 of file class.ilGlobalTemplate.php.
References $DIC, $tpl, and variableExists().
Referenced by getSpecial(), and renderPage().
|
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().
|
private |
Fill Content Style.
Definition at line 798 of file class.ilGlobalTemplate.php.
References ilUtil\getNewContentStyleSheetLocation(), and setVariable().
Referenced by getSpecial(), and renderPage().
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().
|
private |
Definition at line 1333 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by fillAdminPanel().
|
private |
Fill in permanent link.
Definition at line 1753 of file class.ilGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and renderPage().
|
private |
Definition at line 1234 of file class.ilGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillScreenReaderFocus | ( | ) |
Accessibility focus for screen readers.
Definition at line 1576 of file class.ilGlobalTemplate.php.
References $DIC, $ilUser, blockExists(), and touchBlock().
Referenced by getSpecial(), and renderPage().
|
private |
Fill side icons (upper icon, tree icon, webfolder icon)
Definition at line 1590 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().
ilGlobalTemplate::fillTabs | ( | ) |
Definition at line 1107 of file class.ilGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
Referenced by getSpecial(), and renderPage().
|
private |
Definition at line 1250 of file class.ilGlobalTemplate.php.
References $DIC, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::fillWindowTitle | ( | ) |
Definition at line 1299 of file class.ilGlobalTemplate.php.
References $DIC, $ilSetting, $title, setVariable(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::get | ( | $part = "DEFAULT" | ) |
string |
Implements ilGlobalTemplateInterface.
Definition at line 1804 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::getCSSFiles | ( | ) |
|
private |
Get header action menu.
Definition at line 1018 of file class.ilGlobalTemplate.php.
References $header_action.
Referenced by fillHeader().
ilGlobalTemplate::getInlineCSS | ( | ) |
Definition at line 1886 of file class.ilGlobalTemplate.php.
References $inline_css.
ilGlobalTemplate::getJSFiles | ( | ) |
|
private |
Get target parameter for login.
Definition at line 1361 of file class.ilGlobalTemplate.php.
Referenced by getMainMenu().
|
private |
Definition at line 270 of file class.ilGlobalTemplate.php.
References $DIC, getLoginTargetPar(), and variableExists().
Referenced by getSpecial(), and renderPage().
|
private |
$m |
Definition at line 392 of file class.ilGlobalTemplate.php.
References $_SESSION, and $txt.
Referenced by fillMessage().
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 1385 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().
|
private |
Definition at line 1122 of file class.ilGlobalTemplate.php.
References $DIC, and blockExists().
Referenced by getSpecial(), and renderPage().
|
private |
TODO: this is nice, but shouldn't be done here (-> maybe at the end of ilias.php!?, alex)
Definition at line 1516 of file class.ilGlobalTemplate.php.
References $_GET, $_POST, $_SERVER, and $_SESSION.
Referenced by getSpecial(), and printToStdout().
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().
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().
ilGlobalTemplate::parseCurrentBlock | ( | $part = "DEFAULT" | ) |
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt public.
string |
Implements ilGlobalTemplateInterface.
Definition at line 1846 of file class.ilGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), renderPage(), ilForumExportGUI\renderPostHtml(), and setCenterColumnClass().
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 1479 of file class.ilGlobalTemplate.php.
References $DIC, $http, exit, handleReferer(), ilYuiUtil\initDom(), ILIAS\Filesystem\Stream\Streams\ofString(), and renderPage().
ilGlobalTemplate::printToString | ( | $part = "DEFAULT" | ) |
Definition at line 54 of file class.ilGlobalTemplate.php.
References $DIC, ilYuiUtil\initDom(), and renderPage().
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 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().
|
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 1773 of file class.ilGlobalTemplate.php.
References enableDragDropFileUpload(), setAlertProperties(), setDescription(), setHeaderActionMenu(), setTitle(), and setTitleIcon().
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().
ilGlobalTemplate::setBodyClass | ( | $a_class = "" | ) |
Implements ilGlobalTemplateInterface.
Definition at line 651 of file class.ilGlobalTemplate.php.
Referenced by ilIndependentGlobalTemplate\__construct(), and __construct().
|
private |
Definition at line 1188 of file class.ilGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and renderPage().
ilGlobalTemplate::setContent | ( | $a_html | ) |
Sets content for standard template.
Implements ilGlobalTemplateInterface.
Definition at line 1144 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setCurrentBlock | ( | $part = "DEFAULT" | ) |
public
string |
Implements ilGlobalTemplateInterface.
Definition at line 1824 of file class.ilGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), renderPage(), ilForumExportGUI\renderPostHtml(), and setCenterColumnClass().
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().
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().
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 1154 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setLeftNavContent | ( | $a_content | ) |
Sets content of left navigation column.
Implements ilGlobalTemplateInterface.
Definition at line 1162 of file class.ilGlobalTemplate.php.
References $a_content.
ilGlobalTemplate::setLocator | ( | ) |
Insert locator.
Implements ilGlobalTemplateInterface.
Definition at line 1033 of file class.ilGlobalTemplate.php.
References $DIC, ilMainMenuGUI\MODE_TOPBAR_ONLY, ilMainMenuGUI\MODE_TOPBAR_REDUCED, and setVariable().
ilGlobalTemplate::setLoginTargetPar | ( | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Implements ilGlobalTemplateInterface.
Definition at line 1353 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 | ::MESSAGE_TYPE_SUCCESS, ::MESSAGE_TYPE_FAILURE,, ::MESSAGE_TYPE_QUESTION, ::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, and $a_type.
ilGlobalTemplate::setPageFormAction | ( | $a_action | ) |
Implements ilGlobalTemplateInterface.
Definition at line 1328 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setPermanentLink | ( | $a_type, | |
$a_id, | |||
$a_append = "" , |
|||
$a_target = "" , |
|||
$a_title = "" |
|||
) |
Implements ilGlobalTemplateInterface.
Definition at line 1740 of file class.ilGlobalTemplate.php.
References $a_type.
ilGlobalTemplate::setRightContent | ( | $a_html | ) |
Sets content of right column.
Implements ilGlobalTemplateInterface.
Definition at line 1183 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setSubTabs | ( | $a_tabs_html | ) |
sets subtabs in standard template
Implements ilGlobalTemplateInterface.
Definition at line 1102 of file class.ilGlobalTemplate.php.
References setVariable().
ilGlobalTemplate::setTabs | ( | $a_tabs_html | ) |
sets tabs in standard template
Implements ilGlobalTemplateInterface.
Definition at line 1088 of file class.ilGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
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().
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().
ilGlobalTemplate::setTreeFlatIcon | ( | $a_link, | |
$a_mode | |||
) |
set tree/flat icon
string | link target |
strong | mode ("tree" | "flat") |
Implements ilGlobalTemplateInterface.
Definition at line 1642 of file class.ilGlobalTemplate.php.
ilGlobalTemplate::setVariable | ( | $variable, | |
$value = '' |
|||
) |
Implements ilGlobalTemplateInterface.
Definition at line 1809 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(), ilForumExportGUI\renderPostHtml(), setCenterColumnClass(), setLocator(), setSubTabs(), and setTabs().
ilGlobalTemplate::touchBlock | ( | $block | ) |
overwrites ITX::touchBlock.
public
string |
Implements ilGlobalTemplateInterface.
Definition at line 1835 of file class.ilGlobalTemplate.php.
Referenced by fillHeader(), fillLeftNav(), fillPageFormAction(), fillScreenReaderFocus(), fillSideIcons(), fillTabs(), and setTabs().
|
private |
Definition at line 1814 of file class.ilGlobalTemplate.php.
Referenced by fillMainMenu(), and getMainMenu().
|
protected |
Definition at line 1681 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 1682 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 1680 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 1083 of file class.ilGlobalTemplate.php.
|
protected |
Definition at line 1078 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.
const ilGlobalTemplate::MESSAGE_TYPE_INFO = "info" |
Definition at line 319 of file class.ilGlobalTemplate.php.
const ilGlobalTemplate::MESSAGE_TYPE_QUESTION = "question" |
Definition at line 321 of file class.ilGlobalTemplate.php.
const ilGlobalTemplate::MESSAGE_TYPE_SUCCESS = "success" |
Definition at line 320 of file class.ilGlobalTemplate.php.