ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
HTML export class for pages. More...
Public Member Functions | |
__construct (string $a_exp_dir, ?\ILIAS\COPage\PageLinker $linker=null, int $ref_id=0, protected ?ExportCollector $export_collector=null) | |
setContentStyleId (int $a_val) | |
getContentStyleId () | |
createDirectories () | |
exportStyles () | |
Export content style. More... | |
exportSupportScripts () | |
Export support scripts. More... | |
getPreparedMainTemplate (?ilGlobalTemplateInterface $a_tpl=null) | |
collectPageElements (string $a_type, int $a_id, string $lang="") | |
Collect page elements (that need to be exported separately) More... | |
exportPageElements (?callable $a_update_callback=null) | |
Export page elements. More... | |
exportHTMLMOB (int $a_mob_id, array &$a_linked_mobs) | |
Export media object to html. More... | |
exportHTMLFile (string $a_file_id) | |
Export file object. More... | |
exportHTMLFileDirect (string $a_file_id, string $a_source_file, string $a_file_name) | |
Export file from path. More... | |
exportHTMLGlossaryTerms () | |
Protected Member Functions | |
exportResourceFile (string $target_dir, string $file) | |
initResourceTemplate (string $template_file) | |
Get resource template. More... | |
renderMob (\ilObjMediaObject $mob_obj, string $link_xml, array $params) | |
Render Mob. More... | |
exportQuestionFiles () | |
Export question images. More... | |
Protected Attributes | |
ILIAS MediaObjects MediaObjectManager | $media_manager |
ILIAS Style Content InternalDomainService | $content_style |
ILIAS COPage Xsl XslManager | $xsl |
string | $css_dir = "" |
string | $js_yahoo_dir = "" |
string | $js_dir = "" |
string | $media_service_dir = "" |
string | $services_dir = "" |
string | $content_style_img_dir = "" |
string | $content_style_dir = "" |
string | $tex_dir = "" |
string | $files_dir = "" |
string | $mobs_dir = "" |
array | $mobs = [] |
array | $glossary_terms = [] |
array | $files = [] |
array | $files_direct = [] |
array | $int_links = [] |
array | $q_ids = [] |
string | $exp_dir = "" |
int | $content_style_id = 0 |
ilObjUser | $user |
ilLogger | $log |
ILIAS GlobalScreen Services | $global_screen |
ILIAS Skill Service SkillTreeService | $skill_tree_service |
ILIAS Skill Service SkillPersonalService | $skill_personal_service |
ILIAS COPage PageLinker | $page_linker |
int | $ref_id |
HTML export class for pages.
Definition at line 26 of file class.ilCOPageHTMLExport.php.
ilCOPageHTMLExport::__construct | ( | string | $a_exp_dir, |
?\ILIAS\COPage\PageLinker | $linker = null , |
||
int | $ref_id = 0 , |
||
protected ?ExportCollector | $export_collector = null |
||
) |
Definition at line 57 of file class.ilCOPageHTMLExport.php.
References $DIC, $ref_id, ilLoggerFactory\getLogger(), and ILIAS\Repository\user().
ilCOPageHTMLExport::collectPageElements | ( | string | $a_type, |
int | $a_id, | ||
string | $lang = "" |
||
) |
Collect page elements (that need to be exported separately)
Definition at line 266 of file class.ilCOPageHTMLExport.php.
Referenced by ILIAS\Blog\Export\BlogHtmlExport\collectAllPagesPageElements().
ilCOPageHTMLExport::createDirectories | ( | ) |
Definition at line 102 of file class.ilCOPageHTMLExport.php.
References ilFileUtils\makeDir(), and ilFileUtils\makeDirParents().
ilCOPageHTMLExport::exportHTMLFile | ( | string | $a_file_id | ) |
Export file object.
Definition at line 598 of file class.ilCOPageHTMLExport.php.
References ilFileUtils\makeDir().
ilCOPageHTMLExport::exportHTMLFileDirect | ( | string | $a_file_id, |
string | $a_source_file, | ||
string | $a_file_name | ||
) |
Export file from path.
Definition at line 616 of file class.ilCOPageHTMLExport.php.
ilCOPageHTMLExport::exportHTMLGlossaryTerms | ( | ) |
Definition at line 649 of file class.ilCOPageHTMLExport.php.
References ilGlossaryTerm\_exists().
ilCOPageHTMLExport::exportHTMLMOB | ( | int | $a_mob_id, |
array & | $a_linked_mobs | ||
) |
Export media object to html.
Definition at line 505 of file class.ilCOPageHTMLExport.php.
References ilFileUtils\getWebspaceDir(), ilFileUtils\makeDir(), and ilFileUtils\rCopy().
ilCOPageHTMLExport::exportPageElements | ( | ?callable | $a_update_callback = null | ) |
Export page elements.
Definition at line 438 of file class.ilCOPageHTMLExport.php.
|
protected |
Export question images.
Definition at line 635 of file class.ilCOPageHTMLExport.php.
References ilFileUtils\getWebspaceDir(), ilFileUtils\makeDirParents(), and ilFileUtils\rCopy().
|
protected |
Definition at line 204 of file class.ilCOPageHTMLExport.php.
Referenced by exportStyles(), and exportSupportScripts().
ilCOPageHTMLExport::exportStyles | ( | ) |
Export content style.
ILIAS\Filesystem\Exception\DirectoryNotFoundException
ILIAS\Filesystem\Exception\FileNotFoundException
ILIAS\Filesystem\Exception\IOException
Definition at line 124 of file class.ilCOPageHTMLExport.php.
References exportResourceFile(), ilObjStyleSheet\getBasicImageDir(), ilObjStyleSheet\getContentPrintStyle(), getContentStyleId(), ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getExportContentStylePath(), ilObjStyleSheet\getSyntaxStylePath(), ilFileUtils\makeDirParents(), and ilFileUtils\rCopy().
ilCOPageHTMLExport::exportSupportScripts | ( | ) |
Export support scripts.
Definition at line 184 of file class.ilCOPageHTMLExport.php.
References exportResourceFile(), and ilPageObjectGUI\OFFLINE.
ilCOPageHTMLExport::getContentStyleId | ( | ) |
Definition at line 97 of file class.ilCOPageHTMLExport.php.
References $content_style_id.
Referenced by exportStyles().
ilCOPageHTMLExport::getPreparedMainTemplate | ( | ?ilGlobalTemplateInterface | $a_tpl = null | ) |
Definition at line 224 of file class.ilCOPageHTMLExport.php.
|
protected |
Get resource template.
Definition at line 490 of file class.ilCOPageHTMLExport.php.
|
protected |
Render Mob.
Definition at line 580 of file class.ilCOPageHTMLExport.php.
ilCOPageHTMLExport::setContentStyleId | ( | int | $a_val | ) |
Definition at line 92 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 29 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 37 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 48 of file class.ilCOPageHTMLExport.php.
Referenced by getContentStyleId().
|
protected |
Definition at line 36 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 31 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 47 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 43 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 39 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 44 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 51 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 42 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 45 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 33 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 32 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 50 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 28 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 34 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 41 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 40 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 54 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 46 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 55 of file class.ilCOPageHTMLExport.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 53 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 52 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 38 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 49 of file class.ilCOPageHTMLExport.php.
|
protected |
Definition at line 30 of file class.ilCOPageHTMLExport.php.