5require_once(
"libs/composer/vendor/autoload.php");
 
    8require_once(
"./Services/UICore/lib/html-it/IT.php");
 
    9require_once(
"./Services/UICore/lib/html-it/ITX.php");
 
   10require_once(
"./Services/UICore/classes/class.ilTemplate.php");
 
   26        parent::__construct($file, $flag1, $flag2, $in_module, 
$vars, $plugin, 
false);
 
   40        if (
$filename[0] == 
'/' && substr($this->fileRoot, -1) == 
'/') {
 
   46        require_once(
'./Services/GlobalCache/classes/class.ilGlobalCache.php');
 
   64        $content = fread($fh, $fsize);
 
   67        return preg_replace_callback(
 
   68            "#<!-- INCLUDE (.*) -->#im",
 
  100        $add_error_mess = 
false,
 
  101        $handle_referer = 
false,
 
  102        $add_ilias_footer = 
false,
 
  103        $add_standard_elements = 
false,
 
  107        if ($part === 
null) {
 
  108            $part = 
"__global__";
 
  110        if ($part == 
'__global__' && !$this->flagGlobalParsed) {
 
  111            $this->
parse(
'__global__');
 
  114        if (!isset($this->blocklist[$part])) {
 
  116                '"' . $block . 
"'"));
 
  119        if (isset($this->blockdata[$part])) {
 
  120            $ret = $this->blockdata[$part];
 
  121            if ($this->clearCache) {
 
  122                unset($this->blockdata[$part]);
 
  124            if ($this->_options[
'preserve_data']) {
 
  126                    $this->openingDelimiter .
 
  127                        '%preserved%' . $this->closingDelimiter,
 
  128                    $this->openingDelimiter,
 
An exception for terminatinating execution or to throw for unit testing.
errorMessage($value, $blockname='')
Return a textual error message for a IT error code.
loadTemplatefile( $filename, $removeUnknownVariables=true, $removeEmptyBlocks=true)
Reads a template file from the disk.
parse($block='__global__', $flag_recursion=false)
Parses the given block.
& raiseError($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false)
This method is a wrapper that returns an instance of the configured error class with this object's de...
getFile($filename)
Reads a file from disk and returns its content.
loadTemplatefile( $filename, $removeUnknownVariables=true, $removeEmptyBlocks=true)
Reads a template file from the disk.
__construct( $file, $flag1, $flag2, $in_module=false, $vars="DEFAULT", $plugin=false, $a_use_cache=true)
constructor
special template class to simplify handling of ITX/PEAR
Interface to templating as it is used in the UI framework.