ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
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 ( $file, $flag1, $flag2, $in_module='', $vars=self::DEFAULT_BLOCK, $plugin=false, $a_use_cache=true) | |
get (string $part=null, 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) | |
![]() | |
__construct (string $file, bool $flag1, bool $flag2, string $in_module='', string $vars=self::DEFAULT_BLOCK, bool $plugin=false, bool $a_use_cache=true) | |
printToString (string $part=self::DEFAULT_BLOCK) | |
hideFooter () | |
Make the template hide the footer. More... | |
setOnScreenMessage (string $a_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... | |
fillOnLoadCode () | |
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) | |
setBodyClass (string $a_class="") | |
Sets the body-tags class. More... | |
fillBodyClass () | |
renderPage (string $part, bool $a_fill_tabs, bool $a_skip_main_menu, Container $DIC) | |
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 descripton below title in standard template. More... | |
setTitleIcon (string $a_icon_path, string $a_icon_desc="") | |
set title icon More... | |
setAlertProperties (array $a_props) | |
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) | |
setSubTabs (string $a_tabs_html) | |
sets subtabs in standard template More... | |
fillTabs () | |
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... | |
fillContentLanguage () | |
fillWindowTitle () | |
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) | |
printToStdout (string $part=self::DEFAULT_BLOCK, bool $a_fill_tabs=true, bool $a_skip_main_menu=false) | |
fillScreenReaderFocus () | |
setTreeFlatIcon (string $a_link, string $a_mode) | |
Sets a tree or flat icon. More... | |
addLightbox (string $a_html, string $a_id) | |
Add lightbox html. More... | |
addAdminPanelToolbar (ilToolbarGUI $toolb, bool $a_bottom_panel=true, bool $a_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=self::DEFAULT_BLOCK) | |
setVariable (string $variable, $value='') | |
Sets the given variable to the given value. More... | |
setCurrentBlock (string $part=self::DEFAULT_BLOCK) | |
touchBlock (string $block) | |
parseCurrentBlock (string $part=self::DEFAULT_BLOCK) | |
addBlockFile (string $var, string $block, string $template_name, string $in_module=null) | |
blockExists (string $a_blockname) | |
check if block exists in actual template More... | |
getJSFiles () | |
getCSSFiles () | |
![]() | |
printToString () | |
Use this method to get the finally rendered page as string. More... | |
![]() | |
setCurrentBlock (string $name) | |
Set the block to work on. More... | |
parseCurrentBlock () | |
Parse the block that is currently worked on. More... | |
touchBlock (string $name) | |
Touch a block without working further on it. More... | |
setVariable (string $name, $value) | |
Set a variable in the current block. More... | |
get (string $block=null) | |
Get the rendered template or a specific block. More... | |
addOnLoadCode (string $code) | |
Add some javascript to be executed on_load of the rendered page. More... | |
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 28 of file ilIndependentTemplate.php.
ilIndependentGlobalTemplate::__construct | ( | $file, | |
$flag1, | |||
$flag2, | |||
$in_module = '' , |
|||
$vars = self::DEFAULT_BLOCK , |
|||
$plugin = false , |
|||
$a_use_cache = true |
|||
) |
Definition at line 30 of file ilIndependentTemplate.php.
References ilGlobalTemplate\$in_module, XapiProxy\$plugin, and ilGlobalTemplate\setBodyClass().
ilIndependentGlobalTemplate::get | ( | string | $part = null , |
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 |
||
) |
Definition at line 44 of file ilIndependentTemplate.php.