ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
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) | |
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... | |
addAdminPanelToolbar (ilToolbarGUI $toolbar, bool $is_bottom_panel=true, bool $has_arrow=false) | |
setPermanentLink (string $a_type, ?int $a_id, string $a_append="", string $a_target="", string $a_title="") | |
Generates and sets a permanent ilias link. More... | |
resetHeaderBlock (bool $a_reset_header_action=true) | |
Reset all header properties: title, icon, description, alerts, action menu. More... | |
setFileUploadRefId (int $a_ref_id) | |
Enables the file upload into this object by dropping a file. More... | |
get (string $part="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... | |
![]() | |
addAdminPanelToolbar (\ilToolbarGUI $toolbar, bool $is_bottom_panel=true, bool $has_arrow=false) | |
Add admin panel commands as toolbar. More... | |
Protected Member Functions | |
fillJavascriptFile (string $file, string $vers) | |
Protected Attributes | |
string | $tree_flat_link = "" |
string | $page_form_action = "" |
array | $permanent_link = [] |
bool | $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 = [0 => "assets/js/Basic.js"] |
array | $js_files_vp = ["assets/js/Basic.js" => true] |
array | $js_files_batch = ["assets/js/Basic.js" => 1] |
array | $css_files = [] |
Stores CSS-files to be included. More... | |
array | $inline_css = [] |
Stores CSS to be included directly. More... | |
string | $header_page_title = "" |
string | $title = "" |
string | $title_desc = "" |
array | $title_alerts = [] |
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 array | $message_types |
Private Member Functions | |
getMainMenu () | |
fillMainMenu () | |
initHelp () | |
fillMessage () | |
Fill message area. More... | |
getMessageTextForType (string $m) | |
fillOnLoadCode () | |
Fill add on load code. More... | |
fillBodyClass () | |
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 () | |
fillSideIcons () | |
Fill side icons (upper icon, tree icon, web folder icon) More... | |
fillAdminPanel () | |
Put admin panel into template: More... | |
Private Attributes | |
ilLanguage | $lng |
ilLocatorGUI | $locator |
ilTabsGUI | $tabs |
ilToolbarGUI | $toolbar |
ilSetting | $settings |
ilComponentFactory | $component_factory |
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' |
Definition at line 21 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 |
||
) |
Definition at line 49 of file class.ilDataCollectionGlobalTemplate.php.
References $DIC, XapiProxy\$plugin, ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\locator(), setBodyClass(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
ilDataCollectionGlobalTemplate::addAdminPanelToolbar | ( | ilToolbarGUI | $toolbar, |
bool | $is_bottom_panel = true , |
||
bool | $has_arrow = false |
||
) |
Definition at line 1144 of file class.ilDataCollectionGlobalTemplate.php.
References $toolbar.
ilDataCollectionGlobalTemplate::addBlockFile | ( | string | $var, |
string | $block, | ||
string | $template_name, | ||
?string | $in_module = null |
||
) |
overwrites ITX::addBlockFile
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1268 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 ILIAS\UICore\GlobalTemplate.
Definition at line 360 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 ILIAS\UICore\GlobalTemplate.
Definition at line 374 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 ILIAS\UICore\GlobalTemplate.
Definition at line 201 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::addOnLoadCode | ( | string | $a_code, |
int | $a_batch = 2 |
||
) |
Add on load code.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 226 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::blockExists | ( | string | $block_name | ) |
check if block exists in actual template
string | $block_name |
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1273 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavaScriptFiles(), fillTabs(), getSpecial(), getTabsHTML(), printToStdout(), setCenterColumnClass(), and setTabs().
ilDataCollectionGlobalTemplate::clearHeader | ( | ) |
Clear header.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 522 of file class.ilDataCollectionGlobalTemplate.php.
References setAlertProperties(), setDescription(), setTitle(), and setTitleIcon().
|
private |
Put admin panel into template:
Definition at line 1159 of file class.ilDataCollectionGlobalTemplate.php.
References $admin_panel_commands_toolbar, fillPageFormAction(), ilUtil\getImagePath(), ILIAS\Repository\lng(), null, parseCurrentBlock(), setCurrentBlock(), ilToolbarGUI\setLeadingImage(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 422 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 841 of file class.ilDataCollectionGlobalTemplate.php.
References ILIAS\Repository\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 388 of file class.ilDataCollectionGlobalTemplate.php.
References $filename, blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill header.
Definition at line 557 of file class.ilDataCollectionGlobalTemplate.php.
References $icon_desc, getHeaderActionMenu(), ILIAS\Repository\lng(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill in the inline css.
Definition at line 434 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
protected |
Definition at line 330 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 ILIAS\UICore\GlobalTemplate.
Definition at line 277 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), fillJavascriptFile(), and ILIAS_VERSION.
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 795 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill left navigation frame.
Definition at line 736 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 788 of file class.ilDataCollectionGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 91 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by getSpecial(), and printToStdout().
|
private |
Fill message area.
Definition at line 139 of file class.ilDataCollectionGlobalTemplate.php.
References $out, $txt, ilSession\clear(), ilSession\get(), getMessageTextForType(), ilUtil\getSystemMessageHTML(), ilSession\has(), ILIAS\FileDelivery\http(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill Content Style.
Definition at line 449 of file class.ilDataCollectionGlobalTemplate.php.
References ilUtil\getNewContentStyleSheetLocation(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill add on load code.
Definition at line 314 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 877 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by fillAdminPanel().
|
private |
Definition at line 808 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 1102 of file class.ilDataCollectionGlobalTemplate.php.
References ilFrameTargetInfo\_getFrame(), ilUtil\getImagePath(), ILIAS\Repository\lng(), parseCurrentBlock(), setCurrentBlock(), ILIAS\Repository\settings(), setVariable(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 677 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 824 of file class.ilDataCollectionGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and ILIAS\Repository\toolbar().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 847 of file class.ilDataCollectionGlobalTemplate.php.
References ILIAS\Repository\settings(), setVariable(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and printToStdout().
ilDataCollectionGlobalTemplate::get | ( | string | $part = "DEFAULT" | ) |
string |
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1243 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Get header action menu.
Definition at line 618 of file class.ilDataCollectionGlobalTemplate.php.
References $header_action.
Referenced by fillHeader().
|
private |
Definition at line 87 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 162 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 ILIAS\UICore\GlobalTemplate.
Definition at line 239 of file class.ilDataCollectionGlobalTemplate.php.
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 ILIAS\UICore\GlobalTemplate.
Definition at line 917 of file class.ilDataCollectionGlobalTemplate.php.
References ilObjLanguageAccess\_saveUsages(), blockExists(), fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavaScriptFiles(), fillLeftContent(), fillLeftNav(), fillMainContent(), fillMainMenu(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillRightContent(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), getMainMenu(), getTabsHTML(), initHelp(), parseCurrentBlock(), setCenterColumnClass(), and setCurrentBlock().
|
private |
Definition at line 692 of file class.ilDataCollectionGlobalTemplate.php.
References blockExists(), and ILIAS\Repository\tabs().
Referenced by getSpecial(), and printToStdout().
ilDataCollectionGlobalTemplate::hideFooter | ( | ) |
Make the template hide the footer.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 99 of file class.ilDataCollectionGlobalTemplate.php.
References $message_types.
|
private |
Definition at line 95 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 ILIAS\UICore\GlobalTemplate.
Definition at line 468 of file class.ilDataCollectionGlobalTemplate.php.
References addBlockFile(), iljQueryUtil\initjQuery(), and iljQueryUtil\initjQueryUI().
ilDataCollectionGlobalTemplate::parseCurrentBlock | ( | string | $block_name = "DEFAULT" | ) |
Parses the given block.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1263 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 ILIAS\UICore\GlobalTemplate.
Definition at line 993 of file class.ilDataCollectionGlobalTemplate.php.
References XapiProxy\$plugin, XapiProxy\$resp, ilObjLanguageAccess\_saveUsages(), blockExists(), exit, fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavaScriptFiles(), fillLeftContent(), fillLeftNav(), fillMainContent(), fillMainMenu(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillRightContent(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), getMainMenu(), getTabsHTML(), ILIAS\UI\examples\Symbol\Glyph\Header\header(), ILIAS\FileDelivery\http(), 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 ILIAS\UICore\GlobalTemplate.
Definition at line 72 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::resetHeaderBlock | ( | bool | $a_reset_header_action = true | ) |
Reset all header properties: title, icon, description, alerts, action menu.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1212 of file class.ilDataCollectionGlobalTemplate.php.
References setAlertProperties(), setDescription(), setFileUploadRefId(), setHeaderActionMenu(), setTitle(), and setTitleIcon().
ilDataCollectionGlobalTemplate::resetJavascript | ( | ) |
Reset javascript files.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 264 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setAlertProperties | ( | array | $alerts | ) |
Set alert properties.
array<int,array> | $alerts |
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 514 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilDataCollectionGlobalTemplate::setBodyClass | ( | string | $a_class = "" | ) |
Sets the body-tags class.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 417 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by __construct().
|
private |
Definition at line 754 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 ILIAS\UICore\GlobalTemplate.
Definition at line 710 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setCurrentBlock | ( | string | $part = "DEFAULT" | ) |
Sets the template to the given block.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1253 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 ILIAS\UICore\GlobalTemplate.
Definition at line 503 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 ILIAS\UICore\GlobalTemplate.
Definition at line 1229 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by resetHeaderBlock().
ilDataCollectionGlobalTemplate::setHeaderActionMenu | ( | string | $a_header | ) |
Set header action menu.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 539 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by resetHeaderBlock().
ilDataCollectionGlobalTemplate::setHeaderPageTitle | ( | string | $a_title | ) |
Sets the title of the page (for browser window).
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 549 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setLeftContent | ( | string | $a_html | ) |
Sets content of left column.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 720 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setLeftNavContent | ( | string | $a_content | ) |
Sets content of left navigation column.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 728 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setLocator | ( | ) |
Insert locator.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 630 of file class.ilDataCollectionGlobalTemplate.php.
References ILIAS\Repository\locator(), and setVariable().
ilDataCollectionGlobalTemplate::setLoginTargetPar | ( | string | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 897 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 ILIAS\UICore\GlobalTemplate.
Definition at line 124 of file class.ilDataCollectionGlobalTemplate.php.
References ilSession\set().
ilDataCollectionGlobalTemplate::setPageFormAction | ( | string | $a_action | ) |
Sets the pages form action.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 872 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 ILIAS\UICore\GlobalTemplate.
Definition at line 1193 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setRightContent | ( | string | $a_html | ) |
Sets content of right column.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 749 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setSubTabs | ( | string | $a_tabs_html | ) |
sets subtabs in standard template
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 672 of file class.ilDataCollectionGlobalTemplate.php.
References setVariable().
ilDataCollectionGlobalTemplate::setTabs | ( | string | $a_tabs_html | ) |
sets tabs in standard template
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 658 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 ILIAS\UICore\GlobalTemplate.
Definition at line 497 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilDataCollectionGlobalTemplate::setTitleIcon | ( | string | $a_icon_path, |
string | $a_icon_desc = "" |
||
) |
set title icon
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 508 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 ILIAS\UICore\GlobalTemplate.
Definition at line 1127 of file class.ilDataCollectionGlobalTemplate.php.
ilDataCollectionGlobalTemplate::setVariable | ( | string | $variable, |
$value = '' |
|||
) |
Sets the given variable to the given value.
mixed | $value |
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1248 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillCssFiles(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillMainContent(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillTabs(), fillToolbar(), fillWindowTitle(), setCenterColumnClass(), setLocator(), setSubTabs(), and setTabs().
ilDataCollectionGlobalTemplate::touchBlock | ( | string | $block | ) |
overwrites ITX::touchBlock.
Implements ILIAS\UICore\GlobalTemplate.
Definition at line 1258 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillLeftNav(), fillPageFormAction(), fillSideIcons(), fillTabs(), and setTabs().
|
protected |
Definition at line 1141 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 1142 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 1140 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillAdminPanel().
|
protected |
Definition at line 35 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Definition at line 28 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Stores CSS-files to be included.
Definition at line 351 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 37 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 495 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by getHeaderActionMenu().
|
protected |
Definition at line 491 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 46 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 45 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by fillHeader().
|
protected |
Definition at line 36 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Stores CSS to be included directly.
Definition at line 355 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 186 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 196 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 191 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 38 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 39 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Definition at line 23 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Definition at line 24 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.
|
protected |
Definition at line 84 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 85 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 122 of file class.ilDataCollectionGlobalTemplate.php.
|
staticprotected |
Definition at line 116 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by hideFooter().
|
protected |
Definition at line 34 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 30 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 31 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 47 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 40 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Definition at line 27 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 32 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 653 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Definition at line 25 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 652 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 33 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 492 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 494 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 493 of file class.ilDataCollectionGlobalTemplate.php.
|
private |
Definition at line 26 of file class.ilDataCollectionGlobalTemplate.php.
Referenced by addAdminPanelToolbar().
|
protected |
Definition at line 43 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 29 of file class.ilDataCollectionGlobalTemplate.php.
|
protected |
Definition at line 44 of file class.ilDataCollectionGlobalTemplate.php.