|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilGlobalPageTemplate. More...
Inheritance diagram for ilGlobalPageTemplate:
Collaboration diagram for ilGlobalPageTemplate:Public Member Functions | |
| __construct (Services $gs, UIServices $ui, HTTPServices $http) | |
| @inheritDoc More... | |
| printToStdout ($part="DEFAULT", $a_fill_tabs=true, $a_skip_main_menu=false) | |
| @inheritDoc More... | |
| printToString () | |
| @inheritDoc More... | |
| addJavaScript ($a_js_file, $a_add_version_parameter=true, $a_batch=2) | |
| @inheritDoc More... | |
| addCss ($a_css_file, $media="screen") | |
| @inheritDoc More... | |
| addOnLoadCode ($a_code, $a_batch=2) | |
| @inheritDoc More... | |
| addInlineCss ($a_css, $media="screen") | |
| @inheritDoc More... | |
| setContent ($a_html) | |
| @inheritDoc More... | |
| setLeftContent ($a_html) | |
| @inheritDoc More... | |
| setRightContent ($a_html) | |
| @inheritDoc More... | |
| setFilter (string $filter) | |
| setTitle ($a_title, $hidden=false) | |
| @inheritDoc More... | |
| setDescription ($a_descr) | |
| @inheritDoc More... | |
| setTitleIcon ($a_icon_path, $a_icon_desc="") | |
| @inheritDoc More... | |
| setBanner (string $img_src) | |
| setAlertProperties (array $a_props) | |
| @inheritDoc More... | |
| setOnScreenMessage ($a_type, $a_txt, $a_keep=false) | |
| @inheritDoc More... | |
| enableDragDropFileUpload ($a_ref_id) | |
| @inheritDoc More... | |
| setHeaderActionMenu ($a_header) | |
| @inheritDoc More... | |
| setHeaderPageTitle ($a_title) | |
| @inheritDoc More... | |
| addLightbox ($a_html, $a_id) | |
| @inheritDoc More... | |
| setPageFormAction ($a_action) | |
| addAdminPanelToolbar (ilToolbarGUI $toolb, $a_bottom_panel=true, $a_arrow=false) | |
| @inheritDoc More... | |
| setVariable ($variable, $value='') | |
| resetJavascript () | |
| @inheritDoc More... | |
| get ($part="DEFAULT") | |
| @inheritDoc More... | |
| setCurrentBlock ($blockname="DEFAULT") | |
| @inheritDoc More... | |
| touchBlock ($blockname) | |
| @inheritDoc More... | |
| parseCurrentBlock ($blockname="DEFAULT") | |
| @inheritDoc More... | |
| addBlockFile ($var, $block, $tplname, $in_module=false) | |
| @inheritDoc More... | |
| blockExists ($blockname) | |
| @inheritDoc More... | |
| loadStandardTemplate () | |
| @inheritDoc More... | |
| setLocator () | |
| @inheritDoc More... | |
| setPermanentLink ($a_type, $a_id, $a_append="", $a_target="", $a_title="") | |
| @inheritDoc More... | |
| setTreeFlatIcon ($a_link, $a_mode) | |
| @inheritDoc More... | |
| hideFooter () | |
| @inheritDoc More... | |
| setLeftNavContent ($a_content) | |
| @inheritDoc More... | |
| resetHeaderBlock ($a_reset_header_action=true) | |
| @inheritDoc More... | |
| setLoginTargetPar ($a_val) | |
| @inheritDoc More... | |
| getOnLoadCodeForAsynch () | |
| @inheritDoc More... | |
| fillJavaScriptFiles ($a_force=false) | |
| setBodyClass ($a_class="") | |
| @inheritDoc More... | |
| clearHeader () | |
| @inheritDoc More... | |
| setTabs ($a_tabs_html) | |
| @inheritDoc More... | |
| setSubTabs ($a_tabs_html) | |
| @inheritDoc 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) | |
| @inheritDoc More... | |
| 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... | |
| 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) | |
| printToString () | |
| Use this method to get the finally rendered page as string. More... | |
| setTreeFlatIcon ($a_link, $a_mode) | |
| set tree/flat icon More... | |
| addLightbox ($a_html, $a_id) | |
| Add lightbox html. More... | |
| addAdminPanelToolbar (ilToolbarGUI $toolb, $a_bottom_panel=true, $a_arrow=false) | |
| Add admin panel commands as toolbar. More... | |
| setPermanentLink ($a_type, $a_id, $a_append="", $a_target="", $a_title="") | |
| resetHeaderBlock ($a_reset_header_action=true) | |
| Reset all header properties: title, icon, description, alerts, action menu. More... | |
| enableDragDropFileUpload ($a_ref_id) | |
| Enables the file upload into this object by dropping a file. More... | |
| get ($part="DEFAULT") | |
| setVariable ($variable, $value='') | |
| setCurrentBlock ($part="DEFAULT") | |
| @access public More... | |
| touchBlock ($block) | |
| overwrites ITX::touchBlock. More... | |
| parseCurrentBlock ($part="DEFAULT") | |
| Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt. More... | |
| addBlockFile ($var, $block, $tplname, $in_module=false) | |
| overwrites ITX::addBlockFile More... | |
| blockExists ($a_blockname) | |
| check if block exists in actual template More... | |
Private Member Functions | |
| prepareOutputHeaders () | |
| prepareBasicJS () | |
| prepareBasicCSS () | |
| handleReferer () | |
| Old method from global template fixing #26968. More... | |
Private Attributes | |
| $http | |
| $gs | |
| $ui | |
| $legacy_content_template | |
| $lng | |
| $il_settings | |
Static Private Attributes | |
| static | $ignored_blocks = ['ContentStyle', "DEFAULT", "SyntaxStyle", ""] |
Class ilGlobalPageTemplate.
Definition at line 31 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::__construct | ( | Services | $gs, |
| UIServices | $ui, | ||
| HTTPServices | $http | ||
| ) |
@inheritDoc
Definition at line 69 of file class.ilGlobalPageTemplate.php.
References $DIC, $gs, $http, $ui, ILIAS\FileDelivery\http(), and ui().
Here is the call graph for this function:| ilGlobalPageTemplate::addAdminPanelToolbar | ( | ilToolbarGUI | $toolb, |
$a_bottom_panel = true, |
|||
$a_arrow = false |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 359 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::addBlockFile | ( | $var, | |
| $block, | |||
| $tplname, | |||
$in_module = false |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 457 of file class.ilGlobalPageTemplate.php.
References blockExists().
Here is the call graph for this function:| ilGlobalPageTemplate::addCss | ( | $a_css_file, | |
$media = "screen" |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 177 of file class.ilGlobalPageTemplate.php.
Referenced by setVariable().
Here is the caller graph for this function:| ilGlobalPageTemplate::addInlineCss | ( | $a_css, | |
$media = "screen" |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 195 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::addJavaScript | ( | $a_js_file, | |
$a_add_version_parameter = true, |
|||
$a_batch = 2 |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 168 of file class.ilGlobalPageTemplate.php.
Referenced by ilTermsOfServiceAcceptanceHistoryTableGUI\__construct(), and ILIAS\COPage\Editor\UI\Init\initUI().
Here is the caller graph for this function:| ilGlobalPageTemplate::addLightbox | ( | $a_html, | |
| $a_id | |||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 341 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::addOnLoadCode | ( | $a_code, | |
$a_batch = 2 |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 186 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::blockExists | ( | $blockname | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 470 of file class.ilGlobalPageTemplate.php.
Referenced by addBlockFile(), parseCurrentBlock(), setCurrentBlock(), and touchBlock().
Here is the caller graph for this function:| ilGlobalPageTemplate::clearHeader | ( | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 602 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::enableDragDropFileUpload | ( | $a_ref_id | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 314 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::fillJavaScriptFiles | ( | $a_force = false | ) |
| bool | $a_force |
Implements ilGlobalTemplateInterface.
Definition at line 584 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::get | ( | $part = "DEFAULT" | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 399 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::getOnLoadCodeForAsynch | ( | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 565 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::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 |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 629 of file class.ilGlobalPageTemplate.php.
|
private |
Old method from global template fixing #26968.
Definition at line 638 of file class.ilGlobalPageTemplate.php.
References $_GET, $_POST, $_SERVER, and $_SESSION.
Referenced by printToStdout().
Here is the caller graph for this function:| ilGlobalPageTemplate::hideFooter | ( | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 526 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::loadStandardTemplate | ( | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 489 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::parseCurrentBlock | ( | $blockname = "DEFAULT" | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 441 of file class.ilGlobalPageTemplate.php.
References blockExists().
Here is the call graph for this function:
|
private |
Definition at line 116 of file class.ilGlobalPageTemplate.php.
References ilUtil\getNewContentStyleSheetLocation(), and ilUtil\getStyleSheetLocation().
Referenced by printToStdout(), and printToString().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 93 of file class.ilGlobalPageTemplate.php.
References ilSessionReminder\createInstanceWithCurrentUserSession(), ilUIFramework\init(), ilYuiUtil\initConnection(), ilBuddySystemGUI\initializeFrontend(), ilOnScreenChatGUI\initializeFrontend(), iljQueryUtil\initjQuery(), iljQueryUtil\initjQueryUI(), and ILIAS\Accessibility\GlobalPageHandler\initPage().
Referenced by printToStdout(), and printToString().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 81 of file class.ilGlobalPageTemplate.php.
References ILIAS\FileDelivery\http().
Referenced by printToStdout(), and printToString().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalPageTemplate::printToStdout | ( | $part = "DEFAULT", |
|
$a_fill_tabs = true, |
|||
$a_skip_main_menu = false |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 126 of file class.ilGlobalPageTemplate.php.
References ilObjLanguageAccess\_saveUsages(), handleReferer(), ILIAS\FileDelivery\http(), prepareBasicCSS(), prepareBasicJS(), prepareOutputHeaders(), print, and ui().
Here is the call graph for this function:| ilGlobalPageTemplate::printToString | ( | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 148 of file class.ilGlobalPageTemplate.php.
References prepareBasicCSS(), prepareBasicJS(), prepareOutputHeaders(), and ui().
Referenced by ILIAS\Blog\Export\BlogHtmlExport\writeExportFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlobalPageTemplate::resetHeaderBlock | ( | $a_reset_header_action = true | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 544 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::resetJavascript | ( | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 390 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setAlertProperties | ( | array | $a_props | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 294 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setBanner | ( | string | $img_src | ) |
Definition at line 283 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setBodyClass | ( | $a_class = "" | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 593 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setContent | ( | $a_html | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 207 of file class.ilGlobalPageTemplate.php.
Referenced by ILIAS\Blog\Export\BlogHtmlExport\writeExportFile().
Here is the caller graph for this function:| ilGlobalPageTemplate::setCurrentBlock | ( | $blockname = "DEFAULT" | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 408 of file class.ilGlobalPageTemplate.php.
References blockExists().
Here is the call graph for this function:| ilGlobalPageTemplate::setDescription | ( | $a_descr | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 267 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setFilter | ( | string | $filter | ) |
| string | $filter |
Definition at line 236 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setHeaderActionMenu | ( | $a_header | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 323 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setHeaderPageTitle | ( | $a_title | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 332 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setLeftContent | ( | $a_html | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 216 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setLeftNavContent | ( | $a_content | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 535 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setLocator | ( | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 498 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setLoginTargetPar | ( | $a_val | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 553 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setOnScreenMessage | ( | $a_type, | |
| $a_txt, | |||
$a_keep = false |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 303 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setPageFormAction | ( | $a_action | ) |
| $a_action |
Implements ilGlobalTemplateInterface.
Definition at line 350 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setPermanentLink | ( | $a_type, | |
| $a_id, | |||
$a_append = "", |
|||
$a_target = "", |
|||
$a_title = "" |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 507 of file class.ilGlobalPageTemplate.php.
References ilLink\_getStaticLink().
Here is the call graph for this function:| ilGlobalPageTemplate::setRightContent | ( | $a_html | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 225 of file class.ilGlobalPageTemplate.php.
Referenced by ILIAS\Blog\Export\BlogHtmlExport\writeExportFile().
Here is the caller graph for this function:| ilGlobalPageTemplate::setSubTabs | ( | $a_tabs_html | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 620 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setTabs | ( | $a_tabs_html | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 611 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setTitle | ( | $a_title, | |
$hidden = false |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 248 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setTitleIcon | ( | $a_icon_path, | |
$a_icon_desc = "" |
|||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 276 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setTreeFlatIcon | ( | $a_link, | |
| $a_mode | |||
| ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 517 of file class.ilGlobalPageTemplate.php.
| ilGlobalPageTemplate::setVariable | ( | $variable, | |
$value = '' |
|||
| ) |
| $variable | ||
| string | $value |
Implements ilGlobalTemplateInterface.
Definition at line 376 of file class.ilGlobalPageTemplate.php.
References addCss().
Here is the call graph for this function:| ilGlobalPageTemplate::touchBlock | ( | $blockname | ) |
@inheritDoc
Implements ilGlobalTemplateInterface.
Definition at line 425 of file class.ilGlobalPageTemplate.php.
References blockExists().
Here is the call graph for this function:
|
private |
Definition at line 48 of file class.ilGlobalPageTemplate.php.
Referenced by __construct().
|
private |
Definition at line 44 of file class.ilGlobalPageTemplate.php.
Referenced by __construct().
|
staticprivate |
Definition at line 37 of file class.ilGlobalPageTemplate.php.
|
private |
Definition at line 64 of file class.ilGlobalPageTemplate.php.
|
private |
Definition at line 56 of file class.ilGlobalPageTemplate.php.
|
private |
Definition at line 60 of file class.ilGlobalPageTemplate.php.
|
private |
Definition at line 52 of file class.ilGlobalPageTemplate.php.
Referenced by __construct().