|
ILIAS
Release_4_4_x_branch Revision 61816
|
special template class to simplify handling of ITX/PEAR More...
Inheritance diagram for ilTemplate:
Collaboration diagram for ilTemplate:Public Member Functions | |
| ilTemplate ($file, $flag1, $flag2, $in_module=false, $vars="DEFAULT", $plugin=false, $a_use_cache=false) | |
| constructor | |
| init () | |
| Clears all datafields of the object and rebuild the internal blocklist. | |
| setAddFooter ($value) | |
| getAddFooter () | |
| getAsynch () | |
| Use this for final get before sending asynchronous output (ajax) per echo to output. | |
| get ($part="DEFAULT", $add_error_mess=false, $handle_referer=false, $add_ilias_footer=false, $add_standard_elements=false, $a_main_menu=true, $a_tabs=true) | |
| ??? public | |
| setMessage ($a_type, $a_txt, $a_keep=false) | |
| Set message. | |
| fillMessage () | |
| getMessageHTML ($a_txt, $a_type="info") | |
| Get HTML for a system message. | |
| getContentType () | |
| Get the content type for the template output. | |
| setContentType ($a_content_type="text/html") | |
| Set the content type for the template output. | |
| setFrameFixedWidth ($a_value) | |
| Restrict content frame to fixed width (will be centered on screen) | |
| show ($part="DEFAULT", $a_fill_tabs=true, $a_skip_main_menu=false) | |
| public | |
| fillContentLanguage () | |
| Add current user language to meta tags. | |
| fillWindowTitle () | |
| getTabsHTML () | |
| Get tabs HTML. | |
| fillTabs () | |
| fillToolbar () | |
| fillPageFormAction () | |
| fillJavaScriptFiles ($a_force=false) | |
| fillCssFiles ($a_force=false) | |
| Fill in the css file tags. | |
| fillInlineCss () | |
| Fill in the inline css. | |
| setContentStyleSheet ($a_style) | |
| Set content style (used for page content editor) | |
| fillContentStyle () | |
| Fill Content Style. | |
| getMainMenu () | |
| fillMainMenu () | |
| initHelp () | |
| Init help. | |
| addILIASFooter () | |
| add ILIAS footer | |
| handleReferer () | |
| TODO: this is nice, but shouldn't be done here (-> maybe at the end of ilias.php!?, alex) | |
| blockExists ($a_blockname) | |
| check if block exists in actual template private | |
| fillVars () | |
| all template vars defined in $vars will be replaced automatically without setting and parsing them with setVariable & parseCurrentBlock private | |
| setCurrentBlock ($part="DEFAULT") | |
| Überladene Funktion, die sich hier lokal noch den aktuellen Block merkt. | |
| touchBlock ($block) | |
| overwrites ITX::touchBlock. | |
| parseCurrentBlock ($part="DEFAULT") | |
| Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt public. | |
| replaceFromDatabase (&$DB, $block, $conv, $select="default") | |
| ??? TODO: Adjust var names to ilias. | |
| prepareForFormular ($vars) | |
| Wird angewendet, wenn die Daten in ein Formular replaced werden sollen, Dann wird erst noch ein htmlspecialchars drumherum gemacht. | |
| replace () | |
| ??? public | |
| replaceDefault () | |
| ??? public | |
| checkTopic ($a_block, $a_topic) | |
| checks for a topic in the template private | |
| includeNavigation () | |
| check if there is a NAVIGATION-topic public | |
| includeTree () | |
| check if there is a TREE-topic public | |
| fileExists ($filename) | |
| check if a file exists public | |
| addBlockFile ($var, $block, $tplname, $in_module=false) | |
| overwrites ITX::addBlockFile public | |
| loadTemplatefile ($filename, $removeUnknownVariables=true, $removeEmptyBlocks=true) | |
| Reads a template file from the disk. | |
| getTemplatePath ($a_tplname, $a_in_module=false, $a_plugin=false) | |
| builds a full template path with template and module name | |
| getTemplateIdentifier ($a_tplname, $a_in_module=false) | |
| get a unique template identifier | |
| setHeaderPageTitle ($a_title) | |
| setStyleSheetLocation ($a_stylesheet) | |
| setNewContentStyleSheetLocation ($a_stylesheet) | |
| getStandardTemplate () | |
| setTitle ($a_title) | |
| sets title in standard template | |
| setTitleColor ($a_val) | |
| Set title color. | |
| getTitleColor () | |
| Get title color. | |
| setAlertProperties (array $a_props) | |
| Set alert properties. | |
| setTitleIcon ($a_icon_path, $a_icon_desc="") | |
| set title icon | |
| setBodyClass ($a_class="") | |
| fillBodyClass () | |
| setPageFormAction ($a_action) | |
| setDescription ($a_descr) | |
| sets title in standard template | |
| stopTitleFloating () | |
| set stop floating (if no tabs are used) | |
| setHeaderActionMenu ($a_header) | |
| Set header action menu. | |
| getHeaderActionMenu () | |
| Get header action menu. | |
| setContent ($a_html) | |
| sets content for standard template | |
| fillMainContent () | |
| Fill main content. | |
| setRightContent ($a_html) | |
| sets content of right column | |
| setLeftContent ($a_html) | |
| sets content of left column | |
| setLeftNavContent ($a_content) | |
| Sets content of left navigation column. | |
| fillLeftNav () | |
| Fill left navigation frame. | |
| setLocator () | |
| Insert locator. | |
| setTabs ($a_tabs_html) | |
| sets tabs in standard template | |
| setSubTabs ($a_tabs_html) | |
| sets subtabs in standard template | |
| setUpperIcon ($a_link, $a_frame="") | |
| sets icon to upper level | |
| setLoginTargetPar ($a_val) | |
| Set target parameter for login (public sector). | |
| getLoginTargetPar () | |
| Get target parameter for login. | |
| fillScreenReaderFocus () | |
| Accessibility focus for screen readers. | |
| fillSideIcons () | |
| Fill side icons (upper icon, tree icon, webfolder icon) | |
| setMountWebfolderIcon ($a_ref_id) | |
| shows icon for mounting a webfolder | |
| setTreeFlatIcon ($a_link, $a_mode) | |
| set tree/flat icon | |
| addJavaScript ($a_js_file, $a_add_version_parameter=true, $a_batch=2) | |
| Add a javascript file that should be included in the header. | |
| resetJavascript () | |
| Reset javascript files. | |
| resetCss () | |
| Reset css files. | |
| addOnLoadCode ($a_code, $a_batch=2) | |
| Add on load code. | |
| addCss ($a_css_file, $media="screen") | |
| Add a css file that should be included in the header. | |
| addInlineCss ($a_css, $media="screen") | |
| Add a css file that should be included in the header. | |
| addLightbox ($a_html, $a_id) | |
| Add lightbox html. | |
| fillLightbox () | |
| Fill lightbox content. | |
| setPageActions ($a_page_actions_html) | |
| Show admin view button. | |
| setEditPageButton ($a_link, $a_txt, $a_frame) | |
| Show admin view button. | |
| addAdminPanelCommand ($a_cmd, $a_txt, $a_arrow=false) | |
| Add a command to the admin panel. | |
| addAdminPanelToolbar (ilToolbarGUI $toolb, $a_bottom_panel=true, $a_arrow=false) | |
| Add admin panel commands as toolbar. | |
| fillAdminPanel () | |
| Put admin panel into template: | |
| setPermanentLink ($a_type, $a_id, $a_append="", $a_target="") | |
| fillPermanentLink () | |
| Fill in permanent link. | |
| fillOnLoadCode () | |
| Fill add on load code. | |
| getOnLoadCodeForAsynch () | |
| Get js onload code for ajax calls. | |
| setFullscreenHeader ($a_title, $a_description=null, $a_icon=null, $a_img=null, $a_bg_color=null, $a_font_color=null, $a_width=880, $a_height=100, $a_export=false) | |
| Set fullscreen header data. | |
| setTopBar ($a_back_url=null) | |
| Add top toolbar. | |
| resetHeaderBlock ($a_reset_header_action=true) | |
| Set variable. | |
| enableDragDropFileUpload ($a_ref_id) | |
| Enables the file upload into this object by dropping a file. | |
| ilTemplate ($file, $flag1, $flag2, $in_module=false, $vars="DEFAULT") | |
| constructor | |
| getTemplatePath ($a_tplname, $a_in_module=false, $a_plugin=false) | |
| builds a full template path with template and module name | |
| addBlockFile ($var, $block, $tplname, $in_module=false) | |
| show ($part="DEFAULT") | |
| public | |
| getMessageHTML ($a_txt, $a_type="info") | |
| Get HTML for a system message. | |
| setCurrentBlock ($part="DEFAULT") | |
| Überladene Funktion, die sich hier lokal noch den aktuellen Block merkt. | |
| touchBlock ($block) | |
| overwrites ITX::touchBlock. | |
| parseCurrentBlock ($part="DEFAULT") | |
| Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt public. | |
| setMessage ($a_type, $a_txt, $a_keep=false) | |
| Set message. | |
| fillMessage () | |
| blockExists ($a_blockname) | |
| check if block exists in actual template private | |
| addJavaScript ($a_js_file) | |
| Add a javascript file that should be included in the header. | |
| fillJavaScriptFiles () | |
| get ($part="DEFAULT") | |
| Returns a block with all replacements done. | |
Public Member Functions inherited from ilTemplateX | |
| callConstructor () | |
| callConstructor () | |
Public Member Functions inherited from HTML_Template_ITX | |
| HTML_Template_ITX ($root= '') | |
| Builds some complex regexps and calls the constructor of the parent class. | |
| replaceBlock ($block, $template, $keep_content=false) | |
| Replaces an existing block with new content. | |
| replaceBlockfile ($block, $filename, $keep_content=false) | |
| Replaces an existing block with new content from a file. | |
| addBlock ($placeholder, $blockname, $template) | |
| Adds a block to the template changing a variable placeholder to a block placeholder. | |
| addBlockfile ($placeholder, $blockname, $filename) | |
| Adds a block taken from a file to the template changing a variable placeholder to a block placeholder. | |
| placeholderExists ($placeholder, $block= '') | |
| Returns the name of the (first) block that contains the specified placeholder. | |
| performCallback () | |
| Checks the list of function calls in the template and calls their callback function. | |
| getFunctioncalls () | |
| Returns a list of all function calls in the current template. | |
| setFunctioncontent ($functionID, $replacement) | |
| Replaces a function call with the given replacement. | |
| setCallbackFunction ($tplfunction, $callbackfunction, $callbackobject= '', $expandCallbackParameters=false) | |
| Sets a callback function. | |
| setCallbackFuntiontable ($functions) | |
| Sets the Callback function lookup table. | |
| removeBlockData ($block) | |
| Recursively removes all data assiciated with a block, including all inner blocks. | |
| getBlocklist () | |
| Returns a list of blocknames in the template. | |
| getBlockvariables ($block) | |
| Returns a list of variables of a block. | |
| BlockvariableExists ($block, $variable) | |
| Checks wheter a block variable exists. | |
| buildFunctionlist () | |
| Builds a functionlist from the template. | |
| getValue ($code, $delimiter) | |
| Truncates the given code from the first occurence of $delimiter but ignores $delimiter enclosed by " or '. | |
| deleteFromBlockvariablelist ($block, $variables) | |
| Deletes one or many variables from the block variable list. | |
| updateBlockvariablelist ($block) | |
| Updates the variable list of a block. | |
| findPlaceholderBlocks ($variable) | |
| Returns an array of blocknames where the given variable placeholder is used. | |
| warning ($message, $file= '', $line=0) | |
| Handles warnings, saves them to $warn and prints them or calls die() depending on the flags. | |
Public Member Functions inherited from HTML_Template_IT | |
| HTML_Template_IT ($root= '', $options=null) | |
| Builds some complex regular expressions and optinally sets the file root directory. | |
| setOption ($option, $value) | |
| Sets the option for the template class. | |
| setOptions ($options) | |
| Sets the options for the template class. | |
| parse ($block= '__global__', $flag_recursion=false) | |
| Parses the given block. | |
| parseCurrentBlock () | |
| Parses the current block. | |
| setVariable ($variable, $value= '') | |
| Sets a variable value. | |
| free () | |
| Clears all datafields of the object. | |
| setTemplate ($template, $removeUnknownVariables=true, $removeEmptyBlocks=true) | |
| Sets the template. | |
| setRoot ($root) | |
| Sets the file root. | |
| buildBlockvariablelist () | |
| Build a list of all variables within of a block. | |
| getGlobalvariables () | |
| Returns a list of all global variables. | |
| findBlocks ($string) | |
| Recusively builds a list of all blocks within the template. | |
| getFile ($filename) | |
| Reads a file from disk and returns its content. | |
| _addPregDelimiters ($str) | |
| Adds delimiters to a string, so it can be used as a pattern in preg_* functions. | |
| _preserveOpeningDelimiter ($str) | |
| Replaces an opening delimiter by a special string. | |
| errorMessage ($value, $blockname= '') | |
| Return a textual error message for a IT error code. | |
Static Public Member Functions | |
| static | buildLoginTarget () |
| Add current object (repository/workspace) as target for login url. | |
Data Fields | |
| $contenttype | |
| $vars | |
| $activeBlock | |
| $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() | |
| $admin_panel_commands = array() | |
Protected Attributes | |
| $message = "" | |
| $title_desc = "" | |
| $upper_icon = "" | |
| $tree_flat_link = "" | |
| $mount_webfolder = "" | |
| $stop_floating = "" | |
| $page_form_action = "" | |
| $page_actions = array() | |
| $permanent_link = false | |
| $content_style_sheet = "" | |
| $frame_fixed_width = false | |
| $title_alerts = array() | |
| $header_action | |
| $lightbox = array() | |
Static Protected Attributes | |
| static | $il_cache = array() |
Private Member Functions | |
| fillNewContentStyle () | |
| Fill Content Style. | |
| variableExists ($a_variablename) | |
| fillHeader () | |
| Fill header. | |
| fillStopFloating () | |
| stop floating | |
| fillRightContent () | |
| Fill right content. | |
| setCenterColumnClass () | |
| fillLeftContent () | |
| Fill left content. | |
Private Attributes | |
| $addFooter | |
special template class to simplify handling of ITX/PEAR
Definition at line 11 of file class.ilTemplate.php.
| ilTemplate::addAdminPanelCommand | ( | $a_cmd, | |
| $a_txt, | |||
$a_arrow = false |
|||
| ) |
Add a command to the admin panel.
Definition at line 2225 of file class.ilTemplate.php.
| ilTemplate::addAdminPanelToolbar | ( | ilToolbarGUI | $toolb, |
$a_bottom_panel = true, |
|||
$a_arrow = false |
|||
| ) |
Add admin panel commands as toolbar.
| ilToolbarGUI | $toolb | |
| bool | $a_top_only |
Definition at line 2241 of file class.ilTemplate.php.
| ilTemplate::addBlockFile | ( | $var, | |
| $block, | |||
| $tplname, | |||
$in_module = false |
|||
| ) |
Definition at line 134 of file class.ilTemplate.php.
References addBlockFile(), and getTemplatePath().
Here is the call graph for this function:| ilTemplate::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 |
Definition at line 1342 of file class.ilTemplate.php.
References HTML_Template_IT\$template, HTML_Template_ITX\addBlock(), HTML_Template_IT\getFile(), ilPluginAdmin\getPluginObject(), getTemplateIdentifier(), getTemplatePath(), IL_COMP_SERVICE, and ilUIHookPluginGUI\KEEP.
Referenced by addBlockFile(), and getStandardTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::addCss | ( | $a_css_file, | |
$media = "screen" |
|||
| ) |
Add a css file that should be included in the header.
Definition at line 2163 of file class.ilTemplate.php.
| ilTemplate::addILIASFooter | ( | ) |
add ILIAS footer
Definition at line 825 of file class.ilTemplate.php.
References $_GET, $_REQUEST, $_SESSION, $d, $file, $GLOBALS, $ilBench, $ilCtrl, $ilSetting, $lng, $total, ilObjLanguageAccess\_checkTranslate(), ilLink\_getStaticLink(), ilObjLanguageExtGUI\_getTranslationLink(), ilUtil\appendUrlParameterString(), getAddFooter(), ilTemplate(), ilImprint\isActive(), HTML_Template_IT\setVariable(), ilUtil\sortArray(), and ilValidatorAdapter\validate().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::addInlineCss | ( | $a_css, | |
$media = "screen" |
|||
| ) |
Add a css file that should be included in the header.
Definition at line 2174 of file class.ilTemplate.php.
| ilTemplate::addJavaScript | ( | $a_js_file | ) |
Add a javascript file that should be included in the header.
Definition at line 435 of file class.ilTemplate.php.
| ilTemplate::addJavaScript | ( | $a_js_file, | |
$a_add_version_parameter = true, |
|||
$a_batch = 2 |
|||
| ) |
Add a javascript file that should be included in the header.
Definition at line 2110 of file class.ilTemplate.php.
| ilTemplate::addLightbox | ( | $a_html, | |
| $a_id | |||
| ) |
Add lightbox html.
Definition at line 2182 of file class.ilTemplate.php.
| ilTemplate::addOnLoadCode | ( | $a_code, | |
$a_batch = 2 |
|||
| ) |
Add on load code.
Definition at line 2150 of file class.ilTemplate.php.
| ilTemplate::blockExists | ( | $a_blockname | ) |
check if block exists in actual template private
| string | blockname |
Reimplemented from HTML_Template_ITX.
Definition at line 426 of file class.ilTemplate.php.
| ilTemplate::blockExists | ( | $a_blockname | ) |
check if block exists in actual template private
| string | blockname |
Reimplemented from HTML_Template_ITX.
Definition at line 1095 of file class.ilTemplate.php.
Referenced by fillBodyClass(), fillCssFiles(), fillInlineCss(), fillJavaScriptFiles(), fillScreenReaderFocus(), fillTabs(), get(), getTabsHTML(), setCenterColumnClass(), setTabs(), and show().
Here is the caller graph for this function:
|
static |
Add current object (repository/workspace) as target for login url.
Definition at line 2499 of file class.ilTemplate.php.
References $_GET, $ilUser, ilObject\_lookupObjId(), ilObject\_lookupType(), and ilWorkspaceTree\lookupObjectId().
Referenced by setTopBar().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::checkTopic | ( | $a_block, | |
| $a_topic | |||
| ) |
checks for a topic in the template private
| string | |
| string |
Definition at line 1297 of file class.ilTemplate.php.
Referenced by includeNavigation(), and includeTree().
Here is the caller graph for this function:| ilTemplate::enableDragDropFileUpload | ( | $a_ref_id | ) |
Enables the file upload into this object by dropping a file.
Definition at line 2567 of file class.ilTemplate.php.
Referenced by resetHeaderBlock().
Here is the caller graph for this function:| ilTemplate::fileExists | ( | $filename | ) |
check if a file exists public
Definition at line 1327 of file class.ilTemplate.php.
References $filename.
| ilTemplate::fillAdminPanel | ( | ) |
Put admin panel into template:
Definition at line 2253 of file class.ilTemplate.php.
References $cmd, $lng, fillPageFormAction(), ilUtil\getImagePath(), HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillBodyClass | ( | ) |
Definition at line 1725 of file class.ilTemplate.php.
References blockExists(), HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillContentLanguage | ( | ) |
Add current user language to meta tags.
public
Definition at line 568 of file class.ilTemplate.php.
References $ilUser, $lng, and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillContentStyle | ( | ) |
Fill Content Style.
Definition at line 767 of file class.ilTemplate.php.
References HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillCssFiles | ( | $a_force = false | ) |
Fill in the css file tags.
| boolean | $a_force |
Definition at line 716 of file class.ilTemplate.php.
References $filename, blockExists(), HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Fill header.
Definition at line 1617 of file class.ilTemplate.php.
References $ilCtrl, $ilUser, $lng, $ref_id, getHeaderActionMenu(), getTitleColor(), HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), HTML_Template_IT\setVariable(), ilUtil\stripScriptHTML(), and touchBlock().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillInlineCss | ( | ) |
Fill in the inline css.
| boolean | $a_force |
Definition at line 741 of file class.ilTemplate.php.
References blockExists(), HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillJavaScriptFiles | ( | ) |
Definition at line 443 of file class.ilTemplate.php.
References $file, blockExists(), HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillJavaScriptFiles | ( | $a_force = false | ) |
Definition at line 672 of file class.ilTemplate.php.
References $file, $ilSetting, $ilUser, ilUtil\appendUrlParameterString(), blockExists(), HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:
|
private |
Fill left content.
Definition at line 1860 of file class.ilTemplate.php.
References HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillLeftNav | ( | ) |
Fill left navigation frame.
Definition at line 1881 of file class.ilTemplate.php.
References HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), HTML_Template_IT\setVariable(), and touchBlock().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillLightbox | ( | ) |
Fill lightbox content.
| @return |
Definition at line 2193 of file class.ilTemplate.php.
References HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillMainContent | ( | ) |
Fill main content.
Definition at line 1802 of file class.ilTemplate.php.
References HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillMainMenu | ( | ) |
Definition at line 800 of file class.ilTemplate.php.
References $tpl, and variableExists().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillMessage | ( | ) |
Definition at line 329 of file class.ilTemplate.php.
References $_SESSION, $lng, $out, getMessageHTML(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillMessage | ( | ) |
Definition at line 368 of file class.ilTemplate.php.
References $lng, $out, ilSession\clear(), get(), ilSession\get(), ilUtil\getImagePath(), ilTemplate(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:
|
private |
Fill Content Style.
Definition at line 781 of file class.ilTemplate.php.
References ilUtil\getNewContentStyleSheetLocation(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillOnLoadCode | ( | ) |
Fill add on load code.
Definition at line 2344 of file class.ilTemplate.php.
References HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillPageFormAction | ( | ) |
Definition at line 661 of file class.ilTemplate.php.
References HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), HTML_Template_IT\setVariable(), and touchBlock().
Referenced by fillAdminPanel().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillPermanentLink | ( | ) |
Fill in permanent link.
Definition at line 2327 of file class.ilTemplate.php.
References HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Fill right content.
Definition at line 1821 of file class.ilTemplate.php.
References HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillScreenReaderFocus | ( | ) |
Accessibility focus for screen readers.
Definition at line 1973 of file class.ilTemplate.php.
References $ilUser, blockExists(), and touchBlock().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillSideIcons | ( | ) |
Fill side icons (upper icon, tree icon, webfolder icon)
Definition at line 1986 of file class.ilTemplate.php.
References $ilSetting, $lng, $mount_webfolder, ilFrameTargetInfo\_getFrame(), ilAccessKeyGUI\getAttribute(), ilUtil\getImagePath(), HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), HTML_Template_IT\setVariable(), touchBlock(), ilAccessKey\TREE_OFF, and ilAccessKey\TREE_ON.
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
stop floating
Definition at line 1760 of file class.ilTemplate.php.
References touchBlock().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillTabs | ( | ) |
Definition at line 629 of file class.ilTemplate.php.
References blockExists(), HTML_Template_IT\setVariable(), and touchBlock().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillToolbar | ( | ) |
Definition at line 648 of file class.ilTemplate.php.
References HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillVars | ( | ) |
all template vars defined in $vars will be replaced automatically without setting and parsing them with setVariable & parseCurrentBlock private
Definition at line 1112 of file class.ilTemplate.php.
References HTML_Template_IT\setVariable().
Referenced by parseCurrentBlock(), and touchBlock().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::fillWindowTitle | ( | ) |
Definition at line 589 of file class.ilTemplate.php.
References $ilSetting, HTML_Template_IT\setVariable(), and ilUtil\stripScriptHTML().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::get | ( | $part = "DEFAULT", |
|
$add_error_mess = false, |
|||
$handle_referer = false, |
|||
$add_ilias_footer = false, |
|||
$add_standard_elements = false, |
|||
$a_main_menu = true, |
|||
$a_tabs = true |
|||
| ) |
??? public
| string |
Definition at line 196 of file class.ilTemplate.php.
References addILIASFooter(), blockExists(), fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillContentStyle(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavaScriptFiles(), fillLeftContent(), fillLeftNav(), fillLightbox(), fillMainContent(), fillMainMenu(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPermanentLink(), fillRightContent(), fillScreenReaderFocus(), fillSideIcons(), fillStopFloating(), fillTabs(), fillToolbar(), fillWindowTitle(), getMainMenu(), ilPluginAdmin\getPluginObject(), getTabsHTML(), handleReferer(), IL_COMP_SERVICE, initHelp(), ilUIHookPluginGUI\KEEP, HTML_Template_IT\parseCurrentBlock(), setCenterColumnClass(), and setCurrentBlock().
Referenced by fillMessage(), get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::get | ( | $block = "DEFAULT" | ) |
Returns a block with all replacements done.
| string | name of the block |
| PEAR_Error | public |
Reimplemented from HTML_Template_IT.
Definition at line 460 of file class.ilTemplate.php.
References get().
Here is the call graph for this function:| ilTemplate::getAddFooter | ( | ) |
Definition at line 174 of file class.ilTemplate.php.
References $addFooter.
Referenced by addILIASFooter().
Here is the caller graph for this function:| ilTemplate::getAsynch | ( | ) |
Use this for final get before sending asynchronous output (ajax) per echo to output.
Definition at line 184 of file class.ilTemplate.php.
References getContentType().
Here is the call graph for this function:| ilTemplate::getContentType | ( | ) |
Get the content type for the template output.
Definition at line 404 of file class.ilTemplate.php.
References $contenttype.
Referenced by getAsynch(), and show().
Here is the caller graph for this function:| ilTemplate::getHeaderActionMenu | ( | ) |
Get header action menu.
Definition at line 1783 of file class.ilTemplate.php.
References $header_action.
Referenced by fillHeader().
Here is the caller graph for this function:| ilTemplate::getLoginTargetPar | ( | ) |
Get target parameter for login.
Definition at line 1965 of file class.ilTemplate.php.
Referenced by getMainMenu(), and setTopBar().
Here is the caller graph for this function:| ilTemplate::getMainMenu | ( | ) |
Definition at line 789 of file class.ilTemplate.php.
References getLoginTargetPar(), and variableExists().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::getMessageHTML | ( | $a_txt, | |
$a_type = "info" |
|||
| ) |
Get HTML for a system message.
Definition at line 258 of file class.ilTemplate.php.
References $lng, ilUtil\getImagePath(), and ilTemplate().
Here is the call graph for this function:| ilTemplate::getMessageHTML | ( | $a_txt, | |
$a_type = "info" |
|||
| ) |
Get HTML for a system message.
Definition at line 383 of file class.ilTemplate.php.
References $lng, ilUtil\getImagePath(), and ilTemplate().
Referenced by fillMessage(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::getOnLoadCodeForAsynch | ( | ) |
Get js onload code for ajax calls.
Definition at line 2368 of file class.ilTemplate.php.
| ilTemplate::getStandardTemplate | ( | ) |
Definition at line 1561 of file class.ilTemplate.php.
References addBlockFile(), and iljQueryUtil\initjQuery().
Here is the call graph for this function:| ilTemplate::getTabsHTML | ( | ) |
Get tabs HTML.
| @return |
Definition at line 617 of file class.ilTemplate.php.
References blockExists().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::getTemplateIdentifier | ( | $a_tplname, | |
$a_in_module = false |
|||
| ) |
get a unique template identifier
The identifier is common for default or customized skins but distincts templates of different services with the same name.
This is used by the UI plugin hook for template input/output
| string | $a_tplname | template name |
| string | $in_module | Component, e.g. "Modules/Forum" boolean $in_module or true, if component should be determined by ilCtrl |
Definition at line 1508 of file class.ilTemplate.php.
References $_GET, $ilCtrl, and ILIAS_MODULE.
Referenced by addBlockFile(), and ilTemplate().
Here is the caller graph for this function:| ilTemplate::getTemplatePath | ( | $a_tplname, | |
$a_in_module = false, |
|||
$a_plugin = false |
|||
| ) |
builds a full template path with template and module name
| string | $a_tplname | template name |
| boolean | $in_module | should be set to true, if template file is in module subdirectory |
Definition at line 86 of file class.ilTemplate.php.
References $_GET, $ilCtrl, and ILIAS_MODULE.
| ilTemplate::getTemplatePath | ( | $a_tplname, | |
$a_in_module = false, |
|||
$a_plugin = false |
|||
| ) |
builds a full template path with template and module name
| string | $a_tplname | template name |
| boolean | $in_module | should be set to true, if template file is in module subdirectory |
Definition at line 1443 of file class.ilTemplate.php.
References $_GET, $ilCtrl, ilStyleDefinition\getCurrentSkin(), and ILIAS_MODULE.
Referenced by addBlockFile(), and ilTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::getTitleColor | ( | ) |
Get title color.
Definition at line 1599 of file class.ilTemplate.php.
Referenced by fillHeader().
Here is the caller graph for this function:| ilTemplate::handleReferer | ( | ) |
TODO: this is nice, but shouldn't be done here (-> maybe at the end of ilias.php!?, alex)
Definition at line 1015 of file class.ilTemplate.php.
References $_GET, $_POST, $_SESSION, and $path.
Referenced by get(), and show().
Here is the caller graph for this function:| ilTemplate::ilTemplate | ( | $file, | |
| $flag1, | |||
| $flag2, | |||
$in_module = false, |
|||
$vars = "DEFAULT" |
|||
| ) |
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 45 of file class.ilTemplate.php.
References $file, ilTemplateX\callConstructor(), getTemplatePath(), loadTemplatefile(), and HTML_Template_IT\setOption().
Here is the call graph for this function:| ilTemplate::ilTemplate | ( | $file, | |
| $flag1, | |||
| $flag2, | |||
$in_module = false, |
|||
$vars = "DEFAULT", |
|||
$plugin = false, |
|||
$a_use_cache = false |
|||
| ) |
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 68 of file class.ilTemplate.php.
References $file, ilTemplateX\callConstructor(), getTemplateIdentifier(), getTemplatePath(), loadTemplatefile(), setBodyClass(), and HTML_Template_IT\setOption().
Referenced by addILIASFooter(), fillMessage(), and getMessageHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::includeNavigation | ( | ) |
check if there is a NAVIGATION-topic public
Definition at line 1307 of file class.ilTemplate.php.
References checkTopic().
Here is the call graph for this function:| ilTemplate::includeTree | ( | ) |
check if there is a TREE-topic public
Definition at line 1317 of file class.ilTemplate.php.
References checkTopic().
Here is the call graph for this function:| ilTemplate::init | ( | ) |
Clears all datafields of the object and rebuild the internal blocklist.
LoadTemplatefile() and setTemplate() automatically call this function when a new template is given. Don't use this function unless you know what you're doing.
public
Reimplemented from HTML_Template_ITX.
Definition at line 114 of file class.ilTemplate.php.
References HTML_Template_IT\$blockdata, HTML_Template_IT\$blockinner, HTML_Template_IT\$blocklist, HTML_Template_IT\$blockvariables, HTML_Template_IT\$err, HTML_Template_IT\$flagBlocktrouble, HTML_Template_IT\buildBlockvariablelist(), HTML_Template_ITX\buildFunctionlist(), HTML_Template_IT\findBlocks(), and HTML_Template_IT\free().
Here is the call graph for this function:| ilTemplate::initHelp | ( | ) |
Init help.
| @return |
Definition at line 815 of file class.ilTemplate.php.
Referenced by get(), and show().
Here is the caller graph for this function:| ilTemplate::loadTemplatefile | ( | $filename, | |
$removeUnknownVariables = true, |
|||
$removeEmptyBlocks = true |
|||
| ) |
Reads a template file from the disk.
overwrites IT:loadTemplateFile to include the template input hook
| string | name of the template file |
| bool | how to handle unknown variables. |
| bool | how to handle empty blocks. public |
Reimplemented from HTML_Template_IT.
Definition at line 1393 of file class.ilTemplate.php.
References $filename, HTML_Template_IT\$removeEmptyBlocks, HTML_Template_IT\$removeUnknownVariables, HTML_Template_IT\$template, HTML_Template_IT\getFile(), ilPluginAdmin\getPluginObject(), IL_COMP_SERVICE, ilUIHookPluginGUI\KEEP, and HTML_Template_IT\setTemplate().
Referenced by ilTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::parseCurrentBlock | ( | $part = "DEFAULT" | ) |
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt public.
| string |
Definition at line 317 of file class.ilTemplate.php.
References $activeBlock, and HTML_Template_IT\parseCurrentBlock().
Here is the call graph for this function:| ilTemplate::parseCurrentBlock | ( | $part = "DEFAULT" | ) |
Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt public.
| string |
Definition at line 1177 of file class.ilTemplate.php.
References $activeBlock, fillVars(), and HTML_Template_IT\parseCurrentBlock().
Referenced by ilEMailInputGUI\insert(), ilCaptchaInputGUI\insert(), and ilSurveyPageGUI\renderPageNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::prepareForFormular | ( | $vars | ) |
Wird angewendet, wenn die Daten in ein Formular replaced werden sollen, Dann wird erst noch ein htmlspecialchars drumherum gemacht.
public
| string |
Definition at line 1249 of file class.ilTemplate.php.
References $vars.
| ilTemplate::replace | ( | ) |
??? public
Definition at line 1271 of file class.ilTemplate.php.
References HTML_Template_IT\setVariable().
Referenced by replaceDefault(), and replaceFromDatabase().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::replaceDefault | ( | ) |
??? public
Definition at line 1285 of file class.ilTemplate.php.
References replace().
Here is the call graph for this function:| ilTemplate::replaceFromDatabase | ( | & | $DB, |
| $block, | |||
| $conv, | |||
$select = "default" |
|||
| ) |
??? TODO: Adjust var names to ilias.
This method wasn't used so far and isn't translated yet public
| string | |
| string | |
| string | |
| string |
Definition at line 1215 of file class.ilTemplate.php.
References $res, $result, HTML_Template_IT\parseCurrentBlock(), replace(), and setCurrentBlock().
Here is the call graph for this function:| ilTemplate::resetCss | ( | ) |
Reset css files.
| @return |
Definition at line 2141 of file class.ilTemplate.php.
| ilTemplate::resetHeaderBlock | ( | $a_reset_header_action = true | ) |
Set variable.
Reset all header properties: title, icon, description, alerts, action menu
Definition at line 2549 of file class.ilTemplate.php.
References enableDragDropFileUpload(), setAlertProperties(), setDescription(), setHeaderActionMenu(), setTitle(), and setTitleIcon().
Referenced by setFullscreenHeader().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::resetJavascript | ( | ) |
Reset javascript files.
Definition at line 2128 of file class.ilTemplate.php.
| ilTemplate::setAddFooter | ( | $value | ) |
Definition at line 164 of file class.ilTemplate.php.
| ilTemplate::setAlertProperties | ( | array | $a_props | ) |
Set alert properties.
| array | $a_props |
Definition at line 1609 of file class.ilTemplate.php.
Referenced by resetHeaderBlock().
Here is the caller graph for this function:| ilTemplate::setBodyClass | ( | $a_class = "" | ) |
Definition at line 1720 of file class.ilTemplate.php.
Referenced by ilTemplate().
Here is the caller graph for this function:
|
private |
Definition at line 1831 of file class.ilTemplate.php.
References blockExists(), HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by get(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::setContent | ( | $a_html | ) |
sets content for standard template
Definition at line 1791 of file class.ilTemplate.php.
| ilTemplate::setContentStyleSheet | ( | $a_style | ) |
Set content style (used for page content editor)
Definition at line 759 of file class.ilTemplate.php.
| ilTemplate::setContentType | ( | $a_content_type = "text/html" | ) |
Set the content type for the template output.
Set the content type for the template output Usually this is text/html. For MathML output the content type should be set to text/xml
| string | $a_content_type | Content type public |
Definition at line 419 of file class.ilTemplate.php.
| ilTemplate::setCurrentBlock | ( | $part = "DEFAULT" | ) |
Überladene Funktion, die sich hier lokal noch den aktuellen Block merkt.
public
| string |
Reimplemented from HTML_Template_IT.
Definition at line 279 of file class.ilTemplate.php.
References setCurrentBlock().
Here is the call graph for this function:| ilTemplate::setCurrentBlock | ( | $part = "DEFAULT" | ) |
Überladene Funktion, die sich hier lokal noch den aktuellen Block merkt.
public
| string |
Reimplemented from HTML_Template_IT.
Definition at line 1139 of file class.ilTemplate.php.
Referenced by fillAdminPanel(), fillBodyClass(), fillContentStyle(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavaScriptFiles(), fillLeftContent(), fillLeftNav(), fillOnLoadCode(), fillPageFormAction(), fillRightContent(), fillSideIcons(), fillToolbar(), get(), ilEMailInputGUI\insert(), ilCaptchaInputGUI\insert(), ilSurveyPageGUI\renderPageNode(), replaceFromDatabase(), setCenterColumnClass(), setCurrentBlock(), setFullscreenHeader(), setTopBar(), show(), and touchBlock().
Here is the caller graph for this function:| ilTemplate::setDescription | ( | $a_descr | ) |
sets title in standard template
Definition at line 1743 of file class.ilTemplate.php.
Referenced by resetHeaderBlock(), and setFullscreenHeader().
Here is the caller graph for this function:| ilTemplate::setEditPageButton | ( | $a_link, | |
| $a_txt, | |||
| $a_frame | |||
| ) |
Show admin view button.
Definition at line 2215 of file class.ilTemplate.php.
| ilTemplate::setFrameFixedWidth | ( | $a_value | ) |
Restrict content frame to fixed width (will be centered on screen)
| bool | $a_value |
Definition at line 429 of file class.ilTemplate.php.
| ilTemplate::setFullscreenHeader | ( | $a_title, | |
$a_description = null, |
|||
$a_icon = null, |
|||
$a_img = null, |
|||
$a_bg_color = null, |
|||
$a_font_color = null, |
|||
$a_width = 880, |
|||
$a_height = 100, |
|||
$a_export = false |
|||
| ) |
Set fullscreen header data.
| string | $a_title | |
| string | $a_description | |
| string | $a_icon | path |
| string | $a_img | banner full path (background image) |
| string | $a_bg_color | html color code (page background) |
| string | $a_font_color | html color code (title and description) |
| int | $a_width | banner width |
| int | $a_height | banner height |
| bool | $a_export |
Definition at line 2402 of file class.ilTemplate.php.
References HTML_Template_IT\parseCurrentBlock(), resetHeaderBlock(), setCurrentBlock(), setDescription(), setTitle(), setTitleColor(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilTemplate::setHeaderActionMenu | ( | $a_header | ) |
Set header action menu.
| string | $a_gui | $a_header |
Definition at line 1773 of file class.ilTemplate.php.
Referenced by resetHeaderBlock().
Here is the caller graph for this function:| ilTemplate::setHeaderPageTitle | ( | $a_title | ) |
Definition at line 1545 of file class.ilTemplate.php.
References ilUtil\stripScriptHTML().
Here is the call graph for this function:| ilTemplate::setLeftContent | ( | $a_html | ) |
sets content of left column
Definition at line 1852 of file class.ilTemplate.php.
| ilTemplate::setLeftNavContent | ( | $a_content | ) |
Sets content of left navigation column.
Definition at line 1873 of file class.ilTemplate.php.
| ilTemplate::setLocator | ( | ) |
Insert locator.
Definition at line 1895 of file class.ilTemplate.php.
References $lng, and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilTemplate::setLoginTargetPar | ( | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Definition at line 1957 of file class.ilTemplate.php.
| ilTemplate::setMessage | ( | $a_type, | |
| $a_txt, | |||
$a_keep = false |
|||
| ) |
Set message.
Please use ilUtil::sendInfo(), ilUtil::sendSuccess() and ilUtil::sendFailure()
Definition at line 309 of file class.ilTemplate.php.
References $_SESSION.
| ilTemplate::setMessage | ( | $a_type, | |
| $a_txt, | |||
$a_keep = false |
|||
| ) |
Set message.
Please use ilUtil::sendInfo(), ilUtil::sendSuccess() and ilUtil::sendFailure()
Definition at line 348 of file class.ilTemplate.php.
References ilSession\set().
Here is the call graph for this function:| ilTemplate::setMountWebfolderIcon | ( | $a_ref_id | ) |
shows icon for mounting a webfolder
Definition at line 2086 of file class.ilTemplate.php.
References $lng.
| ilTemplate::setNewContentStyleSheetLocation | ( | $a_stylesheet | ) |
Definition at line 1556 of file class.ilTemplate.php.
References HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilTemplate::setPageActions | ( | $a_page_actions_html | ) |
Show admin view button.
Definition at line 2207 of file class.ilTemplate.php.
| ilTemplate::setPageFormAction | ( | $a_action | ) |
Definition at line 1735 of file class.ilTemplate.php.
| ilTemplate::setPermanentLink | ( | $a_type, | |
| $a_id, | |||
$a_append = "", |
|||
$a_target = "" |
|||
| ) |
Definition at line 2315 of file class.ilTemplate.php.
| ilTemplate::setRightContent | ( | $a_html | ) |
sets content of right column
Definition at line 1813 of file class.ilTemplate.php.
| ilTemplate::setStyleSheetLocation | ( | $a_stylesheet | ) |
Definition at line 1551 of file class.ilTemplate.php.
References HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilTemplate::setSubTabs | ( | $a_tabs_html | ) |
sets subtabs in standard template
Definition at line 1937 of file class.ilTemplate.php.
References HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilTemplate::setTabs | ( | $a_tabs_html | ) |
sets tabs in standard template
Definition at line 1922 of file class.ilTemplate.php.
References blockExists(), HTML_Template_IT\setVariable(), and touchBlock().
Here is the call graph for this function:| ilTemplate::setTitle | ( | $a_title | ) |
sets title in standard template
Definition at line 1578 of file class.ilTemplate.php.
References ilUtil\stripScriptHTML().
Referenced by resetHeaderBlock(), and setFullscreenHeader().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::setTitleColor | ( | $a_val | ) |
Set title color.
| string | $a_val | color |
Definition at line 1589 of file class.ilTemplate.php.
Referenced by setFullscreenHeader().
Here is the caller graph for this function:| ilTemplate::setTitleIcon | ( | $a_icon_path, | |
$a_icon_desc = "" |
|||
| ) |
set title icon
Definition at line 1714 of file class.ilTemplate.php.
Referenced by resetHeaderBlock().
Here is the caller graph for this function:| ilTemplate::setTopBar | ( | $a_back_url = null | ) |
Add top toolbar.
| string | $a_back_url |
Definition at line 2448 of file class.ilTemplate.php.
References $ilUser, $lng, buildLoginTarget(), ilMainMenuGUI\getLanguageSelection(), getLoginTargetPar(), HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilTemplate::setTreeFlatIcon | ( | $a_link, | |
| $a_mode | |||
| ) |
set tree/flat icon
| string | link target |
| strong | mode ("tree" | "flat") |
Definition at line 2099 of file class.ilTemplate.php.
References $lng.
| ilTemplate::setUpperIcon | ( | $a_link, | |
$a_frame = "" |
|||
| ) |
| ilTemplate::show | ( | $part = "DEFAULT" | ) |
public
| string |
Reimplemented from HTML_Template_IT.
Definition at line 155 of file class.ilTemplate.php.
References $_GET, $_POST, $out, $path, blockExists(), ilSession\clear(), fillJavaScriptFiles(), get(), ilSession\get(), getMessageHTML(), ilSession\set(), HTML_Template_IT\setVariable(), and show().
Here is the call graph for this function:| ilTemplate::show | ( | $part = "DEFAULT", |
|
$a_fill_tabs = true, |
|||
$a_skip_main_menu = false |
|||
| ) |
public
| string | |
| bool | fill template variable {TABS} with content of ilTabs |
Definition at line 439 of file class.ilTemplate.php.
References $tpl, addILIASFooter(), blockExists(), fillAdminPanel(), fillBodyClass(), fillContentLanguage(), fillContentStyle(), fillCssFiles(), fillHeader(), fillInlineCss(), fillJavaScriptFiles(), fillLeftContent(), fillLeftNav(), fillLightbox(), fillMainContent(), fillMainMenu(), fillMessage(), fillNewContentStyle(), fillOnLoadCode(), fillPermanentLink(), fillRightContent(), fillScreenReaderFocus(), fillSideIcons(), fillStopFloating(), fillTabs(), fillToolbar(), fillWindowTitle(), get(), getContentType(), getMainMenu(), ilPluginAdmin\getPluginObject(), getTabsHTML(), handleReferer(), IL_COMP_SERVICE, ilYuiUtil\initDom(), initHelp(), ilUIHookPluginGUI\KEEP, HTML_Template_IT\parseCurrentBlock(), setCenterColumnClass(), setCurrentBlock(), and variableExists().
Referenced by show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTemplate::stopTitleFloating | ( | ) |
set stop floating (if no tabs are used)
Definition at line 1752 of file class.ilTemplate.php.
| ilTemplate::touchBlock | ( | $block | ) |
overwrites ITX::touchBlock.
public
| string |
Reimplemented from HTML_Template_IT.
Definition at line 299 of file class.ilTemplate.php.
References HTML_Template_IT\parseCurrentBlock(), setCurrentBlock(), and touchBlock().
Here is the call graph for this function:| ilTemplate::touchBlock | ( | $block | ) |
overwrites ITX::touchBlock.
public
| string |
Reimplemented from HTML_Template_IT.
Definition at line 1159 of file class.ilTemplate.php.
References fillVars(), HTML_Template_IT\parseCurrentBlock(), and setCurrentBlock().
Referenced by fillHeader(), fillLeftNav(), fillPageFormAction(), fillScreenReaderFocus(), fillSideIcons(), fillStopFloating(), fillTabs(), setTabs(), and touchBlock().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1101 of file class.ilTemplate.php.
Referenced by fillMainMenu(), getMainMenu(), and show().
Here is the caller graph for this function:| ilTemplate::$activeBlock |
Definition at line 30 of file class.ilTemplate.php.
Referenced by parseCurrentBlock().
|
private |
Definition at line 39 of file class.ilTemplate.php.
Referenced by getAddFooter().
| ilTemplate::$admin_panel_commands = array() |
Definition at line 37 of file class.ilTemplate.php.
|
protected |
Definition at line 52 of file class.ilTemplate.php.
| ilTemplate::$contenttype |
Definition at line 17 of file class.ilTemplate.php.
Referenced by getContentType().
| ilTemplate::$css_files = array() |
Definition at line 35 of file class.ilTemplate.php.
|
protected |
Definition at line 53 of file class.ilTemplate.php.
|
protected |
Definition at line 56 of file class.ilTemplate.php.
Referenced by getHeaderActionMenu().
|
staticprotected |
Definition at line 41 of file class.ilTemplate.php.
| ilTemplate::$inline_css = array() |
Definition at line 36 of file class.ilTemplate.php.
| ilTemplate::$js_files = array(0 => "./Services/JavaScript/js/Basic.js") |
Definition at line 32 of file class.ilTemplate.php.
| ilTemplate::$js_files_batch = array("./Services/JavaScript/js/Basic.js" => 1) |
Definition at line 34 of file class.ilTemplate.php.
| ilTemplate::$js_files_vp = array("./Services/JavaScript/js/Basic.js" => true) |
Definition at line 33 of file class.ilTemplate.php.
|
protected |
Definition at line 57 of file class.ilTemplate.php.
|
protected |
Definition at line 42 of file class.ilTemplate.php.
|
protected |
Definition at line 47 of file class.ilTemplate.php.
Referenced by fillSideIcons().
|
protected |
Definition at line 50 of file class.ilTemplate.php.
|
protected |
Definition at line 49 of file class.ilTemplate.php.
|
protected |
Definition at line 51 of file class.ilTemplate.php.
|
protected |
Definition at line 48 of file class.ilTemplate.php.
|
protected |
Definition at line 55 of file class.ilTemplate.php.
|
protected |
Definition at line 44 of file class.ilTemplate.php.
|
protected |
Definition at line 46 of file class.ilTemplate.php.
|
protected |
Definition at line 45 of file class.ilTemplate.php.
| ilTemplate::$vars |
Definition at line 22 of file class.ilTemplate.php.
Referenced by prepareForFormular().