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");
 
   23        parent::__construct(
$file, $flag1, $flag2, $in_module, 
$vars, $plugin, 
false);
 
   37        if (
$filename{0} == 
'/' && substr($this->fileRoot, -1) == 
'/') {
 
   43        require_once(
'./Services/GlobalCache/classes/class.ilGlobalCache.php');
 
   61        $content = fread(
$fh, $fsize);
 
   64        return preg_replace_callback(
 
   65            "#<!-- INCLUDE (.*) -->#im",
 
   95    public function get($block = 
null)
 
   97        if ($block === 
null) {
 
   98            $block = 
"__global__";
 
  100        if ($block == 
'__global__'  && !$this->flagGlobalParsed) {
 
  101            $this->
parse(
'__global__');
 
  104        if (!isset($this->blocklist[$block])) {
 
  106                '"' . $block . 
"'"));
 
  109        if (isset($this->blockdata[$block])) {
 
  110            $ret = $this->blockdata[$block];
 
  111            if ($this->clearCache) {
 
  112                unset($this->blockdata[$block]);
 
  114            if ($this->_options[
'preserve_data']) {
 
  116                    $this->openingDelimiter .
 
  117                        '%preserved%' . $this->closingDelimiter,
 
  118                    $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.
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file