3 declare(strict_types=1);
    44     public function __construct(
string $export_dir, 
string $sub_dir)
    50         $this->target_dir = $export_dir . 
"/" . 
$sub_dir;
    52         $this->co_page_html_export = new \ilCOPageHTMLExport($this->target_dir);
    53         $this->global_screen = $DIC->globalScreen();
    62         $sys_style_html_export = new \ilSystemStyleHTMLExport($this->target_dir);
    63         $sys_style_html_export->export();
    74         $this->co_page_html_export->setContentStyleId($style_sheet_id);
    75         $this->co_page_html_export->createDirectories();
    76         $this->co_page_html_export->exportStyles();
    77         $this->co_page_html_export->exportSupportScripts();
    86         $this->global_screen->tool()->context()->current()->addAdditionalData(
    99         $css = $global_screen->
layout()->meta()->getCss();
   100         foreach ($css->getItemsInOrderOfDelivery() as $item) {
   103         $js = $global_screen->
layout()->meta()->getJs();
   104         foreach ($js->getItemsInOrderOfDelivery() as $item) {
   114         if (is_int(strpos($file, 
"?"))) {
   115             $file = substr($file, 0, strpos($file, 
"?"));
   117         if (is_file($file)) {
   118             $dir = dirname($file);
   120             if (!is_file($target_dir . 
"/" . $file)) {
   121                 copy($file, $target_dir . 
"/" . $file);
 
exportResourceFile(string $target_dir, string $file)
Export resource file. 
 
Util This class is an interim solution for the HTML export handling with 6.0. 
 
static makeDirParents(string $a_dir)
Create a new directory and all parent directories. 
 
ilCOPageHTMLExport $co_page_html_export
 
exportResourceFiles()
Export resource files collected by global screen service. 
 
initGlobalScreen()
Init global screen. 
 
static getInstance()
Singleton: get instance for use in ILIAS requests with a config loaded from the settings. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(string $export_dir, string $sub_dir)
Constructor. 
 
const HTML_EXPORT_RENDERING
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
exportSystemStyle()
Export system style. 
 
exportCOPageFiles(int $style_sheet_id=0, string $obj_type="")
Export content style.