32     protected \ilLanguage 
$lng;
    55         $this->
lng = $DIC->language();
    59         $sub_dir = 
"user_notes";
    61         $this->export_dir = $exp_dir;
    63         $this->target_dir = $exp_dir . 
"/" . 
$sub_dir;
    65         $this->global_screen = $DIC->globalScreen();
    66         $this->export_util = new \ILIAS\Services\Export\HTML\Util($exp_dir, $sub_dir);
    67         if (!self::$export_key_set) {
    68             self::$export_key_set = 
true;
    69             $this->global_screen->tool()->context()->current()->addAdditionalData(
    91         $this->export_util->exportSystemStyle();
   103         $user_export = new \ILIAS\Notes\Export\UserImageExporter();
   104         $user_export->exportUserImages($this->target_dir, $this->author_ids);
   127             ? $this->
lng->txt(
"notes")
   128             : $this->
lng->txt(
"notes_comments"));
   140         $this->global_screen->layout()->meta()->reset();
   143         $this->global_screen->layout()->meta()->addCss($location_stylesheet);
   145         $tabs = $DIC->tabs();
   146         $tabs->clearTargets();
   147         $tabs->clearSubTabs();
   149         $toolbar = $DIC->toolbar();
   150         $toolbar->setItems([]);
   152         return new \ilGlobalPageTemplate($DIC->globalScreen(), $DIC->ui(), $DIC->http());
   164         $file = $this->target_dir . 
"/" . $a_file;
   165         if (is_file($file)) {
   172         file_put_contents($file, $content);
 
getInitialisedTemplate()
Get initialised template. 
 
__construct(int $type, int $user_id, array $author_ids)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
writeExportFile(string $a_file, \ilGlobalPageTemplate $a_tpl, string $a_content)
Write HTML to file. 
 
static getStyleSheetLocation(string $mode="output", string $a_css_name="", string $a_css_location="")
get full style sheet file name (path inclusive) of current user 
 
static _getExportDirectory(int $a_obj_id, string $a_type="xml", string $a_obj_type="", string $a_entity="")
Get export directory for an repository object. 
 
static deliverFileLegacy(string $a_file, ?string $a_filename=null, ?string $a_mime=null, ?bool $isInline=false, ?bool $removeAfterDelivery=false, ?bool $a_exit_after=true)
 
static _createExportDirectory(int $a_obj_id, string $a_export_type="xml", string $a_obj_type="")
 
static delDir(string $a_dir, bool $a_clean_only=false)
removes a dir and all its content (subdirs and files) recursively 
 
printToString()
Use this method to get the finally rendered page as string. 
 
static zip(string $a_dir, string $a_file, bool $compress_content=false)
 
exportHTML($page_content)
Export HTML. 
 
const HTML_EXPORT_RENDERING
 
exportPage(string $content)
Export page. 
 
ILIAS Services Export HTML Util $export_util
 
ILIAS GlobalScreen Services $global_screen
 
setContent(string $a_html)
Sets content for standard template. 
 
static makeDir(string $a_dir)
creates a new directory and inherits all filesystem permissions of the parent directory You may pass ...