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 () | |
hideFooter () | |
Make the template hide the footer. More... | |
setOnScreenMessage ($a_type, $a_txt, $a_keep=false) | |
Set a message to be displayed to the user. More... | |
addJavaScript ($a_js_file, $a_add_version_parameter=true, $a_batch=2) | |
Add a javascript file that should be included in the header. More... | |
addOnLoadCode ($a_code, $a_batch=2) | |
Add on load code. More... | |
getOnLoadCodeForAsynch () | |
Get js onload code for ajax calls. More... | |
resetJavascript () | |
Reset javascript files. More... | |
fillJavaScriptFiles ($a_force=false) | |
addCss ($a_css_file, $media="screen") | |
Add a css file that should be included in the header. More... | |
addInlineCss ($a_css, $media="screen") | |
Add a css file that should be included in the header. More... | |
fillCssFiles ($a_force=false) | |
Fill in the css file tags. More... | |
setBodyClass ($a_class="") | |
loadStandardTemplate () | |
This loads the standard template "tpl.adm_content.html" and "tpl.statusline.html" the CONTENT and STATUSLINE placeholders if they are not already loaded. More... | |
setTitle ($a_title, $hidden=false) | |
Sets title in standard template. More... | |
setDescription ($a_descr) | |
Sets descripton below title in standard template. More... | |
setTitleIcon ($a_icon_path, $a_icon_desc="") | |
set title icon More... | |
setAlertProperties (array $a_props) | |
Set alert properties. More... | |
clearHeader () | |
Clear header. More... | |
setHeaderActionMenu ($a_header) | |
Set header action menu. More... | |
setHeaderPageTitle ($a_title) | |
Sets the title of the page (for browser window). More... | |
setLocator () | |
Insert locator. More... | |
setTabs ($a_tabs_html) | |
sets tabs in standard template More... | |
setSubTabs ($a_tabs_html) | |
sets subtabs in standard template More... | |
setContent ($a_html) | |
Sets content for standard template. More... | |
setLeftContent ($a_html) | |
Sets content of left column. More... | |
setLeftNavContent ($a_content) | |
Sets content of left navigation column. More... | |
setRightContent ($a_html) | |
Sets content of right column. More... | |
setPageFormAction ($a_action) | |
setLoginTargetPar ($a_val) | |
Set target parameter for login (public sector). More... | |
getSpecial ( $part="DEFAULT", $add_error_mess=false, $handle_referer=false, $add_ilias_footer=false, $add_standard_elements=false, $a_main_menu=true, $a_tabs=true) | |
printToStdout ($part="DEFAULT", $a_fill_tabs=true, $a_skip_main_menu=false) | |
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. More... | |
addBlockFile ($var, $block, $tplname, $in_module=false) | |
overwrites ITX::addBlockFile More... | |
blockExists ($a_blockname) | |
check if block exists in actual template More... | |
Data Fields | |
const | MESSAGE_TYPE_FAILURE = 'failure' |
const | MESSAGE_TYPE_INFO = "info" |
const | MESSAGE_TYPE_SUCCESS = "success" |
const | MESSAGE_TYPE_QUESTION = "question" |
Protected Member Functions | |
fillJavascriptFile ($file, $vers) | |
Protected Attributes | |
$tree_flat_link = "" | |
$page_form_action = "" | |
$permanent_link = false | |
$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) | |
fillOnLoadCode () | |
Fill add on load code. More... | |
fillBodyClass () | |
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... | |
fillTabs () | |
getTabsHTML () | |
fillLeftNav () | |
Fill left navigation frame. More... | |
setCenterColumnClass () | |
fillMainContent () | |
fillLeftContent () | |
fillRightContent () | |
fillToolbar () | |
fillContentLanguage () | |
Add current user language to meta tags. More... | |
fillWindowTitle () | |
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... | |
fillScreenReaderFocus () | |
Accessibility focus for screen readers. 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 14 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::__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 38 of file class.ilDataCollectionGlobalTemplate.php.
References XapiProxy\$plugin, and setBodyClass().
ilDataCollectionGlobalTemplate::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 1737 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::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 1931 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by loadStandardTemplate().
ilDataCollectionGlobalTemplate::addCss | ( | $a_css_file, | |
$media = "screen" |
|||
) |
Add a css file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 607 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::addInlineCss | ( | $a_css, | |
$media = "screen" |
|||
) |
Add a css file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 621 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::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 436 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::addLightbox | ( | $a_html, | |
$a_id | |||
) |
Add lightbox html.
Implements ilGlobalTemplateInterface.
Definition at line 1696 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::addOnLoadCode | ( | $a_code, | |
$a_batch = 2 |
|||
) |
Add on load code.
Implements ilGlobalTemplateInterface.
Definition at line 462 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::blockExists | ( | $a_blockname | ) |
check if block exists in actual template
private
string | blockname |
Implements ilGlobalTemplateInterface.
Definition at line 1946 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavaScriptFiles(), fillScreenReaderFocus(), fillTabs(), getSpecial(), getTabsHTML(), printToStdout(), setCenterColumnClass(), and setTabs().
ilDataCollectionGlobalTemplate::clearHeader | ( | ) |
Clear header.
Implements ilGlobalTemplateInterface.
Definition at line 817 of file class.ilDataCollectionGlobalTemplate.php.
References setAlertProperties(), setDescription(), setTitle(), and setTitleIcon().
ilDataCollectionGlobalTemplate::enableDragDropFileUpload | ( | $a_ref_id | ) |
Enables the file upload into this object by dropping a file.
Implements ilGlobalTemplateInterface.
Definition at line 1843 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by resetHeaderBlock().
|
private |
Put admin panel into template:
Definition at line 1750 of file class.ilDataCollectionGlobalTemplate.php.
References $admin_panel_commands_toolbar, $DIC, $lng, fillPageFormAction(), ilUtil\getImagePath(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 671 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Add current user language to meta tags.
Definition at line 1215 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $ilUser, $lng, and setVariable().
Referenced by getSpecial(), and printToStdout().
ilDataCollectionGlobalTemplate::fillCssFiles | ( | $a_force = false | ) |
Fill in the css file tags.
boolean | $a_force |
Definition at line 636 of file class.ilDataCollectionGlobalTemplate.php.
References $filename, blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill the footer area.
Definition at line 87 of file class.ilDataCollectionGlobalTemplate.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 printToStdout().
|
private |
Fill header.
Definition at line 861 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $lng, $title, getHeaderActionMenu(), parseCurrentBlock(), setCurrentBlock(), setVariable(), ilUtil\stripScriptHTML(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill in the inline css.
boolean | $a_force |
Definition at line 695 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
protected |
string | $file | |
string | $vers |
Definition at line 573 of file class.ilDataCollectionGlobalTemplate.php.
References ilUtil\appendUrlParameterString(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by fillJavaScriptFiles().
ilDataCollectionGlobalTemplate::fillJavaScriptFiles | ( | $a_force = false | ) |
Implements ilGlobalTemplateInterface.
Definition at line 513 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $i, $ilSetting, blockExists(), and fillJavascriptFile().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1163 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill left navigation frame.
Definition at line 1100 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill lightbox content.
Definition at line 1709 of file class.ilDataCollectionGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1155 of file class.ilDataCollectionGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 283 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $tpl, and variableExists().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill message area.
Definition at line 362 of file class.ilDataCollectionGlobalTemplate.php.
References $_SESSION, $DIC, $out, $txt, getMessageTextForType(), ilUtil\getSystemMessageHTML(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill Content Style.
Definition at line 711 of file class.ilDataCollectionGlobalTemplate.php.
References ilUtil\getNewContentStyleSheetLocation(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill add on load code.
Definition at line 552 of file class.ilDataCollectionGlobalTemplate.php.
References $i, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1281 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by fillAdminPanel().
|
private |
Fill in permanent link.
Definition at line 1804 of file class.ilDataCollectionGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1177 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Accessibility focus for screen readers.
Definition at line 1617 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $ilUser, blockExists(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill side icons (upper icon, tree icon, webfolder icon)
Definition at line 1632 of file class.ilDataCollectionGlobalTemplate.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 printToStdout().
|
private |
Definition at line 1033 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1193 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1246 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $ilSetting, $title, setVariable(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and printToStdout().
ilDataCollectionGlobalTemplate::get | ( | $part = "DEFAULT" | ) |
string |
Implements ilGlobalTemplateInterface.
Definition at line 1858 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Get header action menu.
Definition at line 940 of file class.ilDataCollectionGlobalTemplate.php.
References $header_action.
Referenced by fillHeader().
|
private |
Get target parameter for login.
Definition at line 1310 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by getMainMenu().
|
private |
Definition at line 269 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, getLoginTargetPar(), and variableExists().
Referenced by getSpecial(), and printToStdout().
|
private |
$m |
Definition at line 393 of file class.ilDataCollectionGlobalTemplate.php.
References $_SESSION, and $txt.
Referenced by fillMessage().
ilDataCollectionGlobalTemplate::getOnLoadCodeForAsynch | ( | ) |
Get js onload code for ajax calls.
Implements ilGlobalTemplateInterface.
Definition at line 477 of file class.ilDataCollectionGlobalTemplate.php.
References $i.
ilDataCollectionGlobalTemplate::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 1335 of file class.ilDataCollectionGlobalTemplate.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 1049 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, and blockExists().
Referenced by getSpecial(), and printToStdout().
|
private |
TODO: this is nice, but shouldn't be done here (-> maybe at the end of ilias.php!?, alex)
Definition at line 1554 of file class.ilDataCollectionGlobalTemplate.php.
References $_GET, $_POST, $_SERVER, and $_SESSION.
Referenced by getSpecial(), and printToStdout().
ilDataCollectionGlobalTemplate::hideFooter | ( | ) |
Make the template hide the footer.
Implements ilGlobalTemplateInterface.
Definition at line 78 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Init help.
Definition at line 303 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by getSpecial(), and printToStdout().
ilDataCollectionGlobalTemplate::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 735 of file class.ilDataCollectionGlobalTemplate.php.
References addBlockFile(), ilUIFramework\init(), iljQueryUtil\initjQuery(), and iljQueryUtil\initjQueryUI().
ilDataCollectionGlobalTemplate::parseCurrentBlock | ( | $part = "DEFAULT" | ) |
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt.
public
string |
Implements ilGlobalTemplateInterface.
Definition at line 1913 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), printToStdout(), and setCenterColumnClass().
ilDataCollectionGlobalTemplate::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 1430 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $http, XapiProxy\$resp, ilObjLanguageAccess\_saveUsages(), blockExists(), exit, 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(), handleReferer(), IL_COMP_SERVICE, ilYuiUtil\initDom(), initHelp(), ilUIHookPluginGUI\KEEP, ILIAS\Filesystem\Stream\Streams\ofString(), parseCurrentBlock(), setCenterColumnClass(), and setCurrentBlock().
ilDataCollectionGlobalTemplate::printToString | ( | ) |
Implements ilGlobalTemplateInterface.
Definition at line 54 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Reset css files.
Definition at line 684 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::resetHeaderBlock | ( | $a_reset_header_action = true | ) |
Reset all header properties: title, icon, description, alerts, action menu.
Implements ilGlobalTemplateInterface.
Definition at line 1825 of file class.ilDataCollectionGlobalTemplate.php.
References enableDragDropFileUpload(), setAlertProperties(), setDescription(), setHeaderActionMenu(), setTitle(), and setTitleIcon().
ilDataCollectionGlobalTemplate::resetJavascript | ( | ) |
Reset javascript files.
Implements ilGlobalTemplateInterface.
Definition at line 500 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setAlertProperties | ( | array | $a_props | ) |
Set alert properties.
array | $a_props |
Implements ilGlobalTemplateInterface.
Definition at line 808 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilDataCollectionGlobalTemplate::setBodyClass | ( | $a_class = "" | ) |
Implements ilGlobalTemplateInterface.
Definition at line 665 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by __construct().
|
private |
Definition at line 1120 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
ilDataCollectionGlobalTemplate::setContent | ( | $a_html | ) |
Sets content for standard template.
Implements ilGlobalTemplateInterface.
Definition at line 1071 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setCurrentBlock | ( | $part = "DEFAULT" | ) |
public
string |
Implements ilGlobalTemplateInterface.
Definition at line 1883 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), printToStdout(), and setCenterColumnClass().
ilDataCollectionGlobalTemplate::setDescription | ( | $a_descr | ) |
Sets descripton below title in standard template.
Implements ilGlobalTemplateInterface.
Definition at line 785 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilDataCollectionGlobalTemplate::setHeaderActionMenu | ( | $a_header | ) |
Set header action menu.
string | $a_gui | $a_header |
Implements ilGlobalTemplateInterface.
Definition at line 839 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by resetHeaderBlock().
ilDataCollectionGlobalTemplate::setHeaderPageTitle | ( | $a_title | ) |
Sets the title of the page (for browser window).
Implements ilGlobalTemplateInterface.
Definition at line 852 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setLeftContent | ( | $a_html | ) |
Sets content of left column.
Implements ilGlobalTemplateInterface.
Definition at line 1082 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setLeftNavContent | ( | $a_content | ) |
Sets content of left navigation column.
Implements ilGlobalTemplateInterface.
Definition at line 1091 of file class.ilDataCollectionGlobalTemplate.php.
References $a_content.
ilDataCollectionGlobalTemplate::setLocator | ( | ) |
Insert locator.
Implements ilGlobalTemplateInterface.
Definition at line 955 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, ilMainMenuGUI\MODE_TOPBAR_ONLY, ilMainMenuGUI\MODE_TOPBAR_REDUCED, and setVariable().
ilDataCollectionGlobalTemplate::setLoginTargetPar | ( | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Implements ilGlobalTemplateInterface.
Definition at line 1301 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::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.ilDataCollectionGlobalTemplate.php.
References $_SESSION, and $a_type.
ilDataCollectionGlobalTemplate::setPageFormAction | ( | $a_action | ) |
Implements ilGlobalTemplateInterface.
Definition at line 1275 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setPermanentLink | ( | $a_type, | |
$a_id, | |||
$a_append = "" , |
|||
$a_target = "" , |
|||
$a_title = "" |
|||
) |
Implements ilGlobalTemplateInterface.
Definition at line 1789 of file class.ilDataCollectionGlobalTemplate.php.
References $a_type.
ilDataCollectionGlobalTemplate::setRightContent | ( | $a_html | ) |
Sets content of right column.
Implements ilGlobalTemplateInterface.
Definition at line 1114 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setSubTabs | ( | $a_tabs_html | ) |
sets subtabs in standard template
Implements ilGlobalTemplateInterface.
Definition at line 1027 of file class.ilDataCollectionGlobalTemplate.php.
References setVariable().
ilDataCollectionGlobalTemplate::setTabs | ( | $a_tabs_html | ) |
sets tabs in standard template
Implements ilGlobalTemplateInterface.
Definition at line 1012 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
ilDataCollectionGlobalTemplate::setTitle | ( | $a_title, | |
$hidden = false |
|||
) |
Sets title in standard template.
Will override the header_page_title.
Implements ilGlobalTemplateInterface.
Definition at line 775 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilDataCollectionGlobalTemplate::setTitleIcon | ( | $a_icon_path, | |
$a_icon_desc = "" |
|||
) |
set title icon
Implements ilGlobalTemplateInterface.
Definition at line 794 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilDataCollectionGlobalTemplate::setTreeFlatIcon | ( | $a_link, | |
$a_mode | |||
) |
set tree/flat icon
string | link target |
strong | mode ("tree" | "flat") |
Implements ilGlobalTemplateInterface.
Definition at line 1686 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setVariable | ( | $variable, | |
$value = '' |
|||
) |
Implements ilGlobalTemplateInterface.
Definition at line 1864 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillFooter(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillLightbox(), fillMainContent(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPageFormAction(), fillPermanentLink(), fillRightContent(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), setCenterColumnClass(), setLocator(), setSubTabs(), and setTabs().
ilDataCollectionGlobalTemplate::touchBlock | ( | $block | ) |
overwrites ITX::touchBlock.
public
string |
Implements ilGlobalTemplateInterface.
Definition at line 1898 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillHeader(), fillLeftNav(), fillPageFormAction(), fillScreenReaderFocus(), fillSideIcons(), fillTabs(), and setTabs().
|
private |
Definition at line 1870 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillMainMenu(), and getMainMenu().
|
protected |
Definition at line 1727 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 1728 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 1726 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillAdminPanel().
|
protected |
Definition at line 596 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 767 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by getHeaderActionMenu().
|
protected |
Definition at line 763 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Stores CSS to be included directly.
array
Definition at line 601 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 418 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 430 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 424 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 19 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 262 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 266 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 332 of file class.ilDataCollectionGlobalTemplate.php.
|
staticprotected |
Definition at line 326 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 17 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 18 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Definition at line 72 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 20 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 1006 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 1002 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 24 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 764 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillHeader(), and fillWindowTitle().
|
protected |
Definition at line 766 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 765 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 16 of file class.ilDataCollectionGlobalTemplate.php.
const ilDataCollectionGlobalTemplate::MESSAGE_TYPE_FAILURE = 'failure' |
Definition at line 318 of file class.ilDataCollectionGlobalTemplate.php.
const ilDataCollectionGlobalTemplate::MESSAGE_TYPE_INFO = "info" |
Definition at line 319 of file class.ilDataCollectionGlobalTemplate.php.
const ilDataCollectionGlobalTemplate::MESSAGE_TYPE_QUESTION = "question" |
Definition at line 321 of file class.ilDataCollectionGlobalTemplate.php.
const ilDataCollectionGlobalTemplate::MESSAGE_TYPE_SUCCESS = "success" |
Definition at line 320 of file class.ilDataCollectionGlobalTemplate.php.