ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $file, bool $flag1, bool $flag2, string $in_module="", string $vars=ilGlobalTemplateInterface::DEFAULT_BLOCK, bool $plugin=false, bool $a_use_cache=true) | |
constructor More... | |
printToString () | |
Use this method to get the finally rendered page as string. More... | |
hideFooter () | |
Make the template hide the footer. More... | |
setOnScreenMessage (string $type, string $a_txt, bool $a_keep=false) | |
Set a message to be displayed to the user. More... | |
addJavaScript (string $a_js_file, bool $a_add_version_parameter=true, int $a_batch=2) | |
Add a javascript file that should be included in the header. More... | |
addOnLoadCode (string $a_code, int $a_batch=2) | |
Add on load code. More... | |
getOnLoadCodeForAsynch () | |
Get js onload code for ajax calls. More... | |
resetJavascript () | |
Reset javascript files. More... | |
fillJavaScriptFiles (bool $a_force=false) | |
Probably adds javascript files. More... | |
addCss (string $a_css_file, string $media="screen") | |
Add a css file that should be included in the header. More... | |
addInlineCss (string $a_css, string $media="screen") | |
Add a css file that should be included in the header. More... | |
fillCssFiles (bool $a_force=false) | |
Fill in the css file tags. More... | |
setBodyClass (string $a_class="") | |
Sets the body-tags class. More... | |
loadStandardTemplate () | |
This loads the standard template "tpl.adm_content.html" and "tpl.statusline.html" the CONTENT and STATUSLINE placeholders if they are not already loaded. More... | |
setTitle (string $a_title, bool $hidden=false) | |
Sets title in standard template. More... | |
setDescription (string $a_descr) | |
Sets description below title in standard template. More... | |
setTitleIcon (string $a_icon_path, string $a_icon_desc="") | |
set title icon More... | |
setAlertProperties (array $alerts) | |
Set alert properties. More... | |
clearHeader () | |
Clear header. More... | |
setHeaderActionMenu (string $a_header) | |
Set header action menu. More... | |
setHeaderPageTitle (string $a_title) | |
Sets the title of the page (for browser window). More... | |
setLocator () | |
Insert locator. More... | |
setTabs (string $a_tabs_html) | |
sets tabs in standard template More... | |
setSubTabs (string $a_tabs_html) | |
sets subtabs in standard template More... | |
setContent (string $a_html) | |
Sets content for standard template. More... | |
setLeftContent (string $a_html) | |
Sets content of left column. More... | |
setLeftNavContent (string $a_content) | |
Sets content of left navigation column. More... | |
setRightContent (string $a_html) | |
Sets content of right column. More... | |
setPageFormAction (string $a_action) | |
Sets the pages form action. More... | |
setLoginTargetPar (string $a_val) | |
Set target parameter for login (public sector). More... | |
getSpecial (string $part=self::DEFAULT_BLOCK, bool $add_error_mess=false, bool $handle_referer=false, bool $add_ilias_footer=false, bool $add_standard_elements=false, bool $a_main_menu=true, bool $a_tabs=true) | |
Renders the page with specific elements enabled. More... | |
printToStdout (string $part=self::DEFAULT_BLOCK, bool $has_tabs=true, bool $skip_main_menu=false) | |
setTreeFlatIcon (string $a_link, string $a_mode) | |
Sets a tree or flat icon. More... | |
addLightbox (string $a_html, string $a_id) | |
Add a lightbox html to the template. More... | |
addAdminPanelToolbar (ilToolbarGUI $toolbar, bool $is_bottom_panel=true, bool $has_arrow=false) | |
Add admin panel commands as toolbar. More... | |
setPermanentLink (string $a_type, ?int $a_id, string $a_append="", string $a_target="", string $a_title="") | |
Generates and sets a permanent ilias link. More... | |
resetHeaderBlock (bool $a_reset_header_action=true) | |
Reset all header properties: title, icon, description, alerts, action menu. More... | |
setFileUploadRefId (int $a_ref_id) | |
Enables the file upload into this object by dropping a file. More... | |
get (string $part="DEFAULT") | |
setVariable (string $variable, $value='') | |
Sets the given variable to the given value. More... | |
setCurrentBlock (string $part="DEFAULT") | |
Sets the template to the given block. More... | |
touchBlock (string $block) | |
overwrites ITX::touchBlock. More... | |
parseCurrentBlock (string $block_name="DEFAULT") | |
Parses the given block. More... | |
addBlockFile (string $var, string $block, string $template_name, string $in_module=null) | |
overwrites ITX::addBlockFile More... | |
blockExists (string $block_name) | |
check if block exists in actual template More... | |
Protected Member Functions | |
fillJavascriptFile (string $file, string $vers) | |
Protected Attributes | |
$tree_flat_link = "" | |
$page_form_action = "" | |
$permanent_link = false | |
$lightbox = array() | |
$standard_template_loaded = false | |
ilTemplate | $template |
array | $on_load_code |
string | $body_class |
string | $icon_path |
bool | $enable_fileupload = null |
string | $left_content = "" |
string | $left_nav_content = "" |
string | $right_content = "" |
string | $main_content = "" |
string | $login_target_par = "" |
string | $tplIdentifier = "" |
string | $tree_flat_mode = "" |
string | $icon_desc = "" |
ILIAS HTTP Services | $http |
ILIAS Refinery Factory | $refinery |
string | $main_menu |
string | $main_menu_spacer |
array | $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... | |
string | $header_page_title = "" |
string | $title = "" |
string | $title_desc = "" |
array | $title_alerts = array() |
string | $header_action |
string | $tabs_html = "" |
string | $sub_tabs_html = "" |
ilToolbarGUI | $admin_panel_commands_toolbar = null |
bool | $admin_panel_arrow = null |
bool | $admin_panel_bottom = null |
Static Protected Attributes | |
static | $message_types |
Private Member Functions | |
fillFooter () | |
Fill the footer area. More... | |
getMainMenu () | |
fillMainMenu () | |
initHelp () | |
fillMessage () | |
Fill message area. More... | |
getMessageTextForType (string $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... | |
fillSideIcons () | |
Fill side icons (upper icon, tree icon, web folder icon) More... | |
fillLightbox () | |
Fill lightbox content. More... | |
fillAdminPanel () | |
Put admin panel into template: More... | |
fillPermanentLink () | |
Fill in permanent link. More... | |
variableExists (string $a_variablename) | |
Private Attributes | |
bool | $show_footer = true |
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' |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 22 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::__construct | ( | string | $file, |
bool | $flag1, | ||
bool | $flag2, | ||
string | $in_module = "" , |
||
string | $vars = ilGlobalTemplateInterface::DEFAULT_BLOCK , |
||
bool | $plugin = false , |
||
bool | $a_use_cache = true |
||
) |
constructor
string | $file | templatefile (mit oder ohne pfad) |
bool | $flag1 | remove unknown variables |
bool | $flag2 | remove empty blocks |
bool | $in_module | should be set to true, if template file is in module subdirectory |
string | $vars | variables to replace |
bool | $plugin | |
bool | $a_use_cache | public |
Definition at line 56 of file class.ilDataCollectionGlobalTemplate.php.
References XapiProxy\$plugin, and setBodyClass().
ilDataCollectionGlobalTemplate::addAdminPanelToolbar | ( | ilToolbarGUI | $toolbar, |
bool | $is_bottom_panel = true , |
||
bool | $has_arrow = false |
||
) |
Add admin panel commands as toolbar.
bool | $is_bottom_panel | if the panel should be rendered at the bottom of the page as well. |
bool | $has_arrow | if the panel should be rendered with an arrow icon. |
Implements ilGlobalTemplateInterface.
Definition at line 1363 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::addBlockFile | ( | string | $var, |
string | $block, | ||
string | $template_name, | ||
string | $in_module = null |
||
) |
overwrites ITX::addBlockFile
Implements ilGlobalTemplateInterface.
Definition at line 1514 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by loadStandardTemplate().
ilDataCollectionGlobalTemplate::addCss | ( | string | $a_css_file, |
string | $media = "screen" |
||
) |
Add a css file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 470 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::addInlineCss | ( | string | $a_css, |
string | $media = "screen" |
||
) |
Add a css file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 484 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::addJavaScript | ( | string | $a_js_file, |
bool | $a_add_version_parameter = true , |
||
int | $a_batch = 2 |
||
) |
Add a javascript file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 304 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::addLightbox | ( | string | $a_html, |
string | $a_id | ||
) |
Add a lightbox html to the template.
Implements ilGlobalTemplateInterface.
Definition at line 1336 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::addOnLoadCode | ( | string | $a_code, |
int | $a_batch = 2 |
||
) |
Add on load code.
Implements ilGlobalTemplateInterface.
Definition at line 329 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::blockExists | ( | string | $block_name | ) |
check if block exists in actual template
string | $block_name |
Implements ilGlobalTemplateInterface.
Definition at line 1519 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavaScriptFiles(), fillTabs(), getSpecial(), getTabsHTML(), printToStdout(), setCenterColumnClass(), and setTabs().
ilDataCollectionGlobalTemplate::clearHeader | ( | ) |
Clear header.
Implements ilGlobalTemplateInterface.
Definition at line 643 of file class.ilDataCollectionGlobalTemplate.php.
References setAlertProperties(), setDescription(), setTitle(), and setTitleIcon().
|
private |
Put admin panel into template:
Definition at line 1378 of file class.ilDataCollectionGlobalTemplate.php.
References $admin_panel_commands_toolbar, $DIC, $lng, fillPageFormAction(), ilUtil\getImagePath(), parseCurrentBlock(), setCurrentBlock(), ilToolbarGUI\setLeadingImage(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 532 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 995 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $lng, and setVariable().
Referenced by getSpecial(), and printToStdout().
ilDataCollectionGlobalTemplate::fillCssFiles | ( | bool | $a_force = false | ) |
Fill in the css file tags.
bool | $a_force |
Definition at line 498 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 101 of file class.ilDataCollectionGlobalTemplate.php.
References $_SERVER, $DIC, $ilDB, $ilSetting, $lng, $url, ilObjLanguageAccess\_checkTranslate(), ilLink\_getStaticLink(), ilObjLanguageAccess\_getTranslationLink(), ilObjLanguageAccess\_isPageTranslation(), ilUtil\appendUrlParameterString(), ilSystemSupportContactsGUI\getFooterLink(), ilSystemSupportContactsGUI\getFooterText(), ILIAS\FileDelivery\http(), ILIAS_VERSION, ilImprint\isActive(), ILIAS\Repository\refinery(), ilUtil\secureUrl(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill header.
Definition at line 678 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $icon_desc, $lng, getHeaderActionMenu(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill in the inline css.
Definition at line 552 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
protected |
Definition at line 438 of file class.ilDataCollectionGlobalTemplate.php.
References ilUtil\appendUrlParameterString(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by fillJavaScriptFiles().
ilDataCollectionGlobalTemplate::fillJavaScriptFiles | ( | bool | $a_force = false | ) |
Probably adds javascript files.
Implements ilGlobalTemplateInterface.
Definition at line 380 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $i, $ilSetting, blockExists(), fillJavascriptFile(), and ILIAS_VERSION.
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 945 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill left navigation frame.
Definition at line 886 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill lightbox content.
Definition at line 1346 of file class.ilDataCollectionGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 938 of file class.ilDataCollectionGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 196 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by getSpecial(), and printToStdout().
|
private |
Fill message area.
Definition at line 240 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $out, $txt, ilSession\clear(), ilSession\get(), getMessageTextForType(), ilUtil\getSystemMessageHTML(), ilSession\has(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill Content Style.
Definition at line 567 of file class.ilDataCollectionGlobalTemplate.php.
References ilUtil\getNewContentStyleSheetLocation(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill add on load code.
Definition at line 422 of file class.ilDataCollectionGlobalTemplate.php.
References $i, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1040 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by fillAdminPanel().
|
private |
Fill in permanent link.
Definition at line 1434 of file class.ilDataCollectionGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 958 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill side icons (upper icon, tree icon, web folder icon)
Definition at line 1290 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $ilSetting, $lng, ilFrameTargetInfo\_getFrame(), ilUtil\getImagePath(), parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 823 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 974 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1006 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $ilSetting, setVariable(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and printToStdout().
ilDataCollectionGlobalTemplate::get | ( | string | $part = "DEFAULT" | ) |
string |
Implements ilGlobalTemplateInterface.
Definition at line 1484 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Get header action menu.
Definition at line 756 of file class.ilDataCollectionGlobalTemplate.php.
References $header_action.
Referenced by fillHeader().
|
private |
Get target parameter for login.
Definition at line 1068 of file class.ilDataCollectionGlobalTemplate.php.
References $login_target_par.
|
private |
Definition at line 192 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 265 of file class.ilDataCollectionGlobalTemplate.php.
References $txt, ilSession\get(), and ilSession\has().
Referenced by fillMessage().
ilDataCollectionGlobalTemplate::getOnLoadCodeForAsynch | ( | ) |
Get js onload code for ajax calls.
Implements ilGlobalTemplateInterface.
Definition at line 342 of file class.ilDataCollectionGlobalTemplate.php.
References $i.
ilDataCollectionGlobalTemplate::getSpecial | ( | string | $part = self::DEFAULT_BLOCK , |
bool | $add_error_mess = false , |
||
bool | $handle_referer = false , |
||
bool | $add_ilias_footer = false , |
||
bool | $add_standard_elements = false , |
||
bool | $a_main_menu = true , |
||
bool | $a_tabs = true |
||
) |
Renders the page with specific elements enabled.
Implements ilGlobalTemplateInterface.
Definition at line 1088 of file class.ilDataCollectionGlobalTemplate.php.
References ilObjLanguageAccess\_saveUsages(), blockExists(), fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillFooter(), fillHeader(), fillInlineCss(), fillJavaScriptFiles(), fillLeftContent(), fillLeftNav(), fillLightbox(), fillMainContent(), fillMainMenu(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPermanentLink(), fillRightContent(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), getMainMenu(), getTabsHTML(), initHelp(), parseCurrentBlock(), setCenterColumnClass(), and setCurrentBlock().
|
private |
Definition at line 838 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, and blockExists().
Referenced by getSpecial(), and printToStdout().
ilDataCollectionGlobalTemplate::hideFooter | ( | ) |
Make the template hide the footer.
Implements ilGlobalTemplateInterface.
Definition at line 93 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Definition at line 200 of file class.ilDataCollectionGlobalTemplate.php.
References $message_types.
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 586 of file class.ilDataCollectionGlobalTemplate.php.
References addBlockFile(), ilUIFramework\init(), iljQueryUtil\initjQuery(), and iljQueryUtil\initjQueryUI().
ilDataCollectionGlobalTemplate::parseCurrentBlock | ( | string | $block_name = "DEFAULT" | ) |
Parses the given block.
Implements ilGlobalTemplateInterface.
Definition at line 1509 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), printToStdout(), and setCenterColumnClass().
ilDataCollectionGlobalTemplate::printToStdout | ( | string | $part = self::DEFAULT_BLOCK , |
bool | $has_tabs = true , |
||
bool | $skip_main_menu = false |
||
) |
bool | $has_tabs | if template variable {TABS} should be filled with content of ilTabs |
bool | $skip_main_menu | if the main menu should be rendered. |
Implements ilGlobalTemplateInterface.
Definition at line 1170 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, XapiProxy\$plugin, XapiProxy\$resp, ilObjLanguageAccess\_saveUsages(), blockExists(), exit, fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillFooter(), fillHeader(), fillInlineCss(), fillJavaScriptFiles(), fillLeftContent(), fillLeftNav(), fillLightbox(), fillMainContent(), fillMainMenu(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPermanentLink(), fillRightContent(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), getMainMenu(), getTabsHTML(), ilYuiUtil\initDom(), initHelp(), ilUIHookPluginGUI\KEEP, ILIAS\Filesystem\Stream\Streams\ofString(), parseCurrentBlock(), setCenterColumnClass(), and setCurrentBlock().
ilDataCollectionGlobalTemplate::printToString | ( | ) |
Use this method to get the finally rendered page as string.
Implements ilGlobalTemplateInterface.
Definition at line 70 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Reset css files.
Definition at line 544 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::resetHeaderBlock | ( | bool | $a_reset_header_action = true | ) |
Reset all header properties: title, icon, description, alerts, action menu.
Implements ilGlobalTemplateInterface.
Definition at line 1453 of file class.ilDataCollectionGlobalTemplate.php.
References setAlertProperties(), setDescription(), setFileUploadRefId(), setHeaderActionMenu(), setTitle(), and setTitleIcon().
ilDataCollectionGlobalTemplate::resetJavascript | ( | ) |
Reset javascript files.
Implements ilGlobalTemplateInterface.
Definition at line 367 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setAlertProperties | ( | array | $alerts | ) |
Set alert properties.
array<int,array> | $alerts |
Implements ilGlobalTemplateInterface.
Definition at line 635 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilDataCollectionGlobalTemplate::setBodyClass | ( | string | $a_class = "" | ) |
Sets the body-tags class.
Implements ilGlobalTemplateInterface.
Definition at line 527 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by __construct().
|
private |
Definition at line 904 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
ilDataCollectionGlobalTemplate::setContent | ( | string | $a_html | ) |
Sets content for standard template.
Implements ilGlobalTemplateInterface.
Definition at line 860 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setCurrentBlock | ( | string | $part = "DEFAULT" | ) |
Sets the template to the given block.
Implements ilGlobalTemplateInterface.
Definition at line 1499 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), printToStdout(), and setCenterColumnClass().
ilDataCollectionGlobalTemplate::setDescription | ( | string | $a_descr | ) |
Sets description below title in standard template.
Implements ilGlobalTemplateInterface.
Definition at line 624 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilDataCollectionGlobalTemplate::setFileUploadRefId | ( | int | $a_ref_id | ) |
Enables the file upload into this object by dropping a file.
Implements ilGlobalTemplateInterface.
Definition at line 1470 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by resetHeaderBlock().
ilDataCollectionGlobalTemplate::setHeaderActionMenu | ( | string | $a_header | ) |
Set header action menu.
Implements ilGlobalTemplateInterface.
Definition at line 660 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by resetHeaderBlock().
ilDataCollectionGlobalTemplate::setHeaderPageTitle | ( | string | $a_title | ) |
Sets the title of the page (for browser window).
Implements ilGlobalTemplateInterface.
Definition at line 670 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setLeftContent | ( | string | $a_html | ) |
Sets content of left column.
Implements ilGlobalTemplateInterface.
Definition at line 870 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setLeftNavContent | ( | string | $a_content | ) |
Sets content of left navigation column.
Implements ilGlobalTemplateInterface.
Definition at line 878 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setLocator | ( | ) |
Insert locator.
Implements ilGlobalTemplateInterface.
Definition at line 768 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, $ilPluginAdmin, and setVariable().
ilDataCollectionGlobalTemplate::setLoginTargetPar | ( | string | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Implements ilGlobalTemplateInterface.
Definition at line 1060 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setOnScreenMessage | ( | string | $type, |
string | $a_txt, | ||
bool | $a_keep = false |
||
) |
Set a message to be displayed to the user.
Please use instead of ilUtil::sendInfo(), ilUtil::sendSuccess() and ilUtil::sendFailure().
Implements ilGlobalTemplateInterface.
Definition at line 225 of file class.ilDataCollectionGlobalTemplate.php.
References $type, and ilSession\set().
ilDataCollectionGlobalTemplate::setPageFormAction | ( | string | $a_action | ) |
Sets the pages form action.
Implements ilGlobalTemplateInterface.
Definition at line 1035 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setPermanentLink | ( | string | $a_type, |
?int | $a_id, | ||
string | $a_append = "" , |
||
string | $a_target = "" , |
||
string | $a_title = "" |
||
) |
Generates and sets a permanent ilias link.
Implements ilGlobalTemplateInterface.
Definition at line 1415 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setRightContent | ( | string | $a_html | ) |
Sets content of right column.
Implements ilGlobalTemplateInterface.
Definition at line 899 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setSubTabs | ( | string | $a_tabs_html | ) |
sets subtabs in standard template
Implements ilGlobalTemplateInterface.
Definition at line 818 of file class.ilDataCollectionGlobalTemplate.php.
References setVariable().
ilDataCollectionGlobalTemplate::setTabs | ( | string | $a_tabs_html | ) |
sets tabs in standard template
Implements ilGlobalTemplateInterface.
Definition at line 804 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
ilDataCollectionGlobalTemplate::setTitle | ( | string | $a_title, |
bool | $hidden = false |
||
) |
Sets title in standard template.
Will override the header_page_title.
Implements ilGlobalTemplateInterface.
Definition at line 618 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilDataCollectionGlobalTemplate::setTitleIcon | ( | string | $a_icon_path, |
string | $a_icon_desc = "" |
||
) |
set title icon
Implements ilGlobalTemplateInterface.
Definition at line 629 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilDataCollectionGlobalTemplate::setTreeFlatIcon | ( | string | $a_link, |
string | $a_mode | ||
) |
Sets a tree or flat icon.
string | $a_mode | ("tree" | "flat") |
Implements ilGlobalTemplateInterface.
Definition at line 1330 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setVariable | ( | string | $variable, |
$value = '' |
|||
) |
Sets the given variable to the given value.
mixed | $value |
Implements ilGlobalTemplateInterface.
Definition at line 1489 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillFooter(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillLightbox(), fillMainContent(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPageFormAction(), fillPermanentLink(), fillRightContent(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), setCenterColumnClass(), setLocator(), setSubTabs(), and setTabs().
ilDataCollectionGlobalTemplate::touchBlock | ( | string | $block | ) |
overwrites ITX::touchBlock.
Implements ilGlobalTemplateInterface.
Definition at line 1504 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillLeftNav(), fillPageFormAction(), fillSideIcons(), fillTabs(), and setTabs().
|
private |
Definition at line 1494 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 1360 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 1361 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 1359 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillAdminPanel().
|
protected |
Definition at line 31 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 460 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 33 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 616 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by getHeaderActionMenu().
|
protected |
Definition at line 612 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 42 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 41 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillHeader().
|
protected |
Definition at line 32 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Stores CSS to be included directly.
array
Definition at line 465 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 289 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 299 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 294 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 34 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 35 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 27 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 38 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by getLoginTargetPar().
|
protected |
Definition at line 37 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 189 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 190 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 223 of file class.ilDataCollectionGlobalTemplate.php.
|
staticprotected |
Definition at line 217 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by initHelp().
|
protected |
Definition at line 30 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 25 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 26 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 43 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 36 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Definition at line 88 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 28 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 799 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 798 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 29 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 613 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 615 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 614 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 39 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 24 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 40 of file class.ilDataCollectionGlobalTemplate.php.