ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 public. More... | |
addBlockFile ($var, $block, $tplname, $in_module=false) | |
overwrites ITX::addBlockFile public More... | |
blockExists ($a_blockname) | |
check if block exists in actual template private More... | |
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 13 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::__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 36 of file class.ilCOPageGlobalTemplate.php.
References XapiProxy\$plugin, and setBodyClass().
ilCOPageGlobalTemplate::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 1649 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::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 1819 of file class.ilCOPageGlobalTemplate.php.
Referenced by loadStandardTemplate().
ilCOPageGlobalTemplate::addCss | ( | $a_css_file, | |
$media = "screen" |
|||
) |
Add a css file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 589 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::addInlineCss | ( | $a_css, | |
$media = "screen" |
|||
) |
Add a css file that should be included in the header.
Implements ilGlobalTemplateInterface.
Definition at line 603 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::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 426 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::addLightbox | ( | $a_html, | |
$a_id | |||
) |
Add lightbox html.
Implements ilGlobalTemplateInterface.
Definition at line 1611 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::addOnLoadCode | ( | $a_code, | |
$a_batch = 2 |
|||
) |
Add on load code.
Implements ilGlobalTemplateInterface.
Definition at line 450 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::blockExists | ( | $a_blockname | ) |
check if block exists in actual template private
string | blockname |
Implements ilGlobalTemplateInterface.
Definition at line 1830 of file class.ilCOPageGlobalTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavaScriptFiles(), fillScreenReaderFocus(), fillTabs(), getSpecial(), getTabsHTML(), printToStdout(), setCenterColumnClass(), and setTabs().
ilCOPageGlobalTemplate::clearHeader | ( | ) |
Clear header.
Implements ilGlobalTemplateInterface.
Definition at line 788 of file class.ilCOPageGlobalTemplate.php.
References setAlertProperties(), setDescription(), setTitle(), and setTitleIcon().
ilCOPageGlobalTemplate::enableDragDropFileUpload | ( | $a_ref_id | ) |
Enables the file upload into this object by dropping a file.
Implements ilGlobalTemplateInterface.
Definition at line 1749 of file class.ilCOPageGlobalTemplate.php.
Referenced by resetHeaderBlock().
|
private |
Put admin panel into template:
Definition at line 1661 of file class.ilCOPageGlobalTemplate.php.
References $admin_panel_commands_toolbar, $DIC, $lng, fillPageFormAction(), ilUtil\getImagePath(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 652 of file class.ilCOPageGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Add current user language to meta tags.
Definition at line 1162 of file class.ilCOPageGlobalTemplate.php.
References $DIC, $lng, and setVariable().
Referenced by getSpecial(), and printToStdout().
ilCOPageGlobalTemplate::fillCssFiles | ( | $a_force = false | ) |
Fill in the css file tags.
boolean | $a_force |
Definition at line 618 of file class.ilCOPageGlobalTemplate.php.
References $filename, blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill the footer area.
Definition at line 83 of file class.ilCOPageGlobalTemplate.php.
References $_GET, $_SERVER, $DIC, Vendor\Package\$f, $GLOBALS, $ilBench, $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 831 of file class.ilCOPageGlobalTemplate.php.
References $DIC, $lng, $title, getHeaderActionMenu(), parseCurrentBlock(), setCurrentBlock(), setVariable(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill in the inline css.
boolean | $a_force |
Definition at line 674 of file class.ilCOPageGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
protected |
string | $file | |
string | $vers |
Definition at line 556 of file class.ilCOPageGlobalTemplate.php.
References ilUtil\appendUrlParameterString(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by fillJavaScriptFiles().
ilCOPageGlobalTemplate::fillJavaScriptFiles | ( | $a_force = false | ) |
Implements ilGlobalTemplateInterface.
Definition at line 500 of file class.ilCOPageGlobalTemplate.php.
References $DIC, $i, $ilSetting, blockExists(), and fillJavascriptFile().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1111 of file class.ilCOPageGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill left navigation frame.
Definition at line 1060 of file class.ilCOPageGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill lightbox content.
Definition at line 1622 of file class.ilCOPageGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1104 of file class.ilCOPageGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 276 of file class.ilCOPageGlobalTemplate.php.
References $DIC, $tpl, and variableExists().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill message area.
Definition at line 354 of file class.ilCOPageGlobalTemplate.php.
References $_SESSION, $DIC, $out, $txt, getMessageTextForType(), ilUtil\getSystemMessageHTML(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill Content Style.
Definition at line 689 of file class.ilCOPageGlobalTemplate.php.
References ilUtil\getNewContentStyleSheetLocation(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Fill add on load code.
Definition at line 536 of file class.ilCOPageGlobalTemplate.php.
References $i, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1207 of file class.ilCOPageGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), setVariable(), and touchBlock().
Referenced by fillAdminPanel().
|
private |
Fill in permanent link.
Definition at line 1712 of file class.ilCOPageGlobalTemplate.php.
References setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1124 of file class.ilCOPageGlobalTemplate.php.
References parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Accessibility focus for screen readers.
Definition at line 1535 of file class.ilCOPageGlobalTemplate.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 1549 of file class.ilCOPageGlobalTemplate.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 997 of file class.ilCOPageGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1140 of file class.ilCOPageGlobalTemplate.php.
References $DIC, parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
|
private |
Definition at line 1173 of file class.ilCOPageGlobalTemplate.php.
References $DIC, $ilSetting, $title, setVariable(), and ilUtil\stripScriptHTML().
Referenced by getSpecial(), and printToStdout().
ilCOPageGlobalTemplate::get | ( | $part = "DEFAULT" | ) |
string |
Implements ilGlobalTemplateInterface.
Definition at line 1763 of file class.ilCOPageGlobalTemplate.php.
|
private |
Get header action menu.
Definition at line 908 of file class.ilCOPageGlobalTemplate.php.
References $header_action.
Referenced by fillHeader().
|
private |
Get target parameter for login.
Definition at line 1235 of file class.ilCOPageGlobalTemplate.php.
Referenced by getMainMenu().
|
private |
Definition at line 263 of file class.ilCOPageGlobalTemplate.php.
References $DIC, getLoginTargetPar(), and variableExists().
Referenced by getSpecial(), and printToStdout().
|
private |
$m |
Definition at line 385 of file class.ilCOPageGlobalTemplate.php.
References $_SESSION, and $txt.
Referenced by fillMessage().
ilCOPageGlobalTemplate::getOnLoadCodeForAsynch | ( | ) |
Get js onload code for ajax calls.
Implements ilGlobalTemplateInterface.
Definition at line 464 of file class.ilCOPageGlobalTemplate.php.
References $i.
ilCOPageGlobalTemplate::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 1259 of file class.ilCOPageGlobalTemplate.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 1012 of file class.ilCOPageGlobalTemplate.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 1477 of file class.ilCOPageGlobalTemplate.php.
References $_GET, $_POST, $_SERVER, and $_SESSION.
Referenced by getSpecial(), and printToStdout().
ilCOPageGlobalTemplate::hideFooter | ( | ) |
Make the template hide the footer.
Implements ilGlobalTemplateInterface.
Definition at line 75 of file class.ilCOPageGlobalTemplate.php.
|
private |
Init help.
Definition at line 296 of file class.ilCOPageGlobalTemplate.php.
Referenced by getSpecial(), and printToStdout().
ilCOPageGlobalTemplate::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 713 of file class.ilCOPageGlobalTemplate.php.
References addBlockFile(), ilUIFramework\init(), iljQueryUtil\initjQuery(), and iljQueryUtil\initjQueryUI().
ilCOPageGlobalTemplate::parseCurrentBlock | ( | $part = "DEFAULT" | ) |
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt public.
string |
Implements ilGlobalTemplateInterface.
Definition at line 1805 of file class.ilCOPageGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), printToStdout(), and setCenterColumnClass().
ilCOPageGlobalTemplate::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 1353 of file class.ilCOPageGlobalTemplate.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().
ilCOPageGlobalTemplate::printToString | ( | ) |
Implements ilGlobalTemplateInterface.
Definition at line 52 of file class.ilCOPageGlobalTemplate.php.
|
private |
Reset css files.
Definition at line 664 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::resetHeaderBlock | ( | $a_reset_header_action = true | ) |
Reset all header properties: title, icon, description, alerts, action menu.
Implements ilGlobalTemplateInterface.
Definition at line 1732 of file class.ilCOPageGlobalTemplate.php.
References enableDragDropFileUpload(), setAlertProperties(), setDescription(), setHeaderActionMenu(), setTitle(), and setTitleIcon().
ilCOPageGlobalTemplate::resetJavascript | ( | ) |
Reset javascript files.
Implements ilGlobalTemplateInterface.
Definition at line 487 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::setAlertProperties | ( | array | $a_props | ) |
Set alert properties.
array | $a_props |
Implements ilGlobalTemplateInterface.
Definition at line 780 of file class.ilCOPageGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilCOPageGlobalTemplate::setBodyClass | ( | $a_class = "" | ) |
Implements ilGlobalTemplateInterface.
Definition at line 647 of file class.ilCOPageGlobalTemplate.php.
Referenced by __construct().
|
private |
Definition at line 1078 of file class.ilCOPageGlobalTemplate.php.
References blockExists(), parseCurrentBlock(), setCurrentBlock(), and setVariable().
Referenced by getSpecial(), and printToStdout().
ilCOPageGlobalTemplate::setContent | ( | $a_html | ) |
Sets content for standard template.
Implements ilGlobalTemplateInterface.
Definition at line 1034 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::setCurrentBlock | ( | $part = "DEFAULT" | ) |
public
string |
Implements ilGlobalTemplateInterface.
Definition at line 1783 of file class.ilCOPageGlobalTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavascriptFile(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), getSpecial(), printToStdout(), and setCenterColumnClass().
ilCOPageGlobalTemplate::setDescription | ( | $a_descr | ) |
Sets descripton below title in standard template.
Implements ilGlobalTemplateInterface.
Definition at line 761 of file class.ilCOPageGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilCOPageGlobalTemplate::setHeaderActionMenu | ( | $a_header | ) |
Set header action menu.
string | $a_gui | $a_header |
Implements ilGlobalTemplateInterface.
Definition at line 810 of file class.ilCOPageGlobalTemplate.php.
Referenced by resetHeaderBlock().
ilCOPageGlobalTemplate::setHeaderPageTitle | ( | $a_title | ) |
Sets the title of the page (for browser window).
Implements ilGlobalTemplateInterface.
Definition at line 823 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::setLeftContent | ( | $a_html | ) |
Sets content of left column.
Implements ilGlobalTemplateInterface.
Definition at line 1044 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::setLeftNavContent | ( | $a_content | ) |
Sets content of left navigation column.
Implements ilGlobalTemplateInterface.
Definition at line 1052 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::setLocator | ( | ) |
Insert locator.
Implements ilGlobalTemplateInterface.
Definition at line 923 of file class.ilCOPageGlobalTemplate.php.
References $DIC, ilMainMenuGUI\MODE_TOPBAR_ONLY, ilMainMenuGUI\MODE_TOPBAR_REDUCED, and setVariable().
ilCOPageGlobalTemplate::setLoginTargetPar | ( | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Implements ilGlobalTemplateInterface.
Definition at line 1227 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::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 339 of file class.ilCOPageGlobalTemplate.php.
References $_SESSION.
ilCOPageGlobalTemplate::setPageFormAction | ( | $a_action | ) |
Implements ilGlobalTemplateInterface.
Definition at line 1202 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::setPermanentLink | ( | $a_type, | |
$a_id, | |||
$a_append = "" , |
|||
$a_target = "" , |
|||
$a_title = "" |
|||
) |
Implements ilGlobalTemplateInterface.
Definition at line 1699 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::setRightContent | ( | $a_html | ) |
Sets content of right column.
Implements ilGlobalTemplateInterface.
Definition at line 1073 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::setSubTabs | ( | $a_tabs_html | ) |
sets subtabs in standard template
Implements ilGlobalTemplateInterface.
Definition at line 992 of file class.ilCOPageGlobalTemplate.php.
References setVariable().
ilCOPageGlobalTemplate::setTabs | ( | $a_tabs_html | ) |
sets tabs in standard template
Implements ilGlobalTemplateInterface.
Definition at line 978 of file class.ilCOPageGlobalTemplate.php.
References blockExists(), setVariable(), and touchBlock().
ilCOPageGlobalTemplate::setTitle | ( | $a_title, | |
$hidden = false |
|||
) |
Sets title in standard template.
Will override the header_page_title.
Implements ilGlobalTemplateInterface.
Definition at line 752 of file class.ilCOPageGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilCOPageGlobalTemplate::setTitleIcon | ( | $a_icon_path, | |
$a_icon_desc = "" |
|||
) |
set title icon
Implements ilGlobalTemplateInterface.
Definition at line 769 of file class.ilCOPageGlobalTemplate.php.
Referenced by clearHeader(), and resetHeaderBlock().
ilCOPageGlobalTemplate::setTreeFlatIcon | ( | $a_link, | |
$a_mode | |||
) |
set tree/flat icon
string | link target |
strong | mode ("tree" | "flat") |
Implements ilGlobalTemplateInterface.
Definition at line 1601 of file class.ilCOPageGlobalTemplate.php.
ilCOPageGlobalTemplate::setVariable | ( | $variable, | |
$value = '' |
|||
) |
Implements ilGlobalTemplateInterface.
Definition at line 1768 of file class.ilCOPageGlobalTemplate.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().
ilCOPageGlobalTemplate::touchBlock | ( | $block | ) |
overwrites ITX::touchBlock.
public
string |
Implements ilGlobalTemplateInterface.
Definition at line 1794 of file class.ilCOPageGlobalTemplate.php.
Referenced by fillLeftNav(), fillPageFormAction(), fillScreenReaderFocus(), fillSideIcons(), fillTabs(), and setTabs().
|
private |
Definition at line 1773 of file class.ilCOPageGlobalTemplate.php.
Referenced by fillMainMenu(), and getMainMenu().
|
protected |
Definition at line 1640 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 1641 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 1639 of file class.ilCOPageGlobalTemplate.php.
Referenced by fillAdminPanel().
|
protected |
Definition at line 578 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 745 of file class.ilCOPageGlobalTemplate.php.
Referenced by getHeaderActionMenu().
|
protected |
Definition at line 741 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Stores CSS to be included directly.
array
Definition at line 584 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 409 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 421 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 415 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 19 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 256 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 261 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 326 of file class.ilCOPageGlobalTemplate.php.
|
staticprotected |
Definition at line 319 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 16 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 17 of file class.ilCOPageGlobalTemplate.php.
|
private |
Definition at line 70 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 20 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 973 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 968 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 25 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 742 of file class.ilCOPageGlobalTemplate.php.
Referenced by fillHeader(), and fillWindowTitle().
|
protected |
Definition at line 744 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 743 of file class.ilCOPageGlobalTemplate.php.
|
protected |
Definition at line 15 of file class.ilCOPageGlobalTemplate.php.
const ilCOPageGlobalTemplate::MESSAGE_TYPE_FAILURE = 'failure' |
Definition at line 311 of file class.ilCOPageGlobalTemplate.php.
const ilCOPageGlobalTemplate::MESSAGE_TYPE_INFO = "info" |
Definition at line 312 of file class.ilCOPageGlobalTemplate.php.
const ilCOPageGlobalTemplate::MESSAGE_TYPE_QUESTION = "question" |
Definition at line 314 of file class.ilCOPageGlobalTemplate.php.
const ilCOPageGlobalTemplate::MESSAGE_TYPE_SUCCESS = "success" |
Definition at line 313 of file class.ilCOPageGlobalTemplate.php.