ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
Public Member Functions | |
__construct (\ilObjLearningModule $lm, string $export_dir, string $sub_dir, string $export_format="html", string $lang="") | |
exportHTML (bool $zip=true) | |
exportHTMLPages () | |
export all pages of learning module to html file More... | |
exportPageHTML (int $lm_page_id, bool $is_first=false, string $lang="-", string $frame="", array $exp_id_map=[]) | |
export single page to file More... | |
Protected Member Functions | |
getLinker () | |
setAdditionalContextData (string $key, $data) | |
resetUserLanguage () | |
initLanguage (\ilObjUser $user, \ilLMPresentationGUI $lm_gui, string $lang) | |
initGlobalScreen () | |
addSupplyingExportFiles () | |
Add supplying export files. More... | |
getSupplyingExportFiles (string $a_target_dir=".") | |
getInitialisedTemplate () | |
initScreen (int $lm_page_id, string $frame) | |
Init global screen and learning module presentation gui for page. More... | |
Protected Attributes | |
ExportCollector | $collector |
Util | $export_util |
ilLogger | $log |
string | $target_dir = "" |
string | $sub_dir = "" |
string | $export_dir = "" |
ilObjLearningModule | $lm |
ilGlobalTemplateInterface | $main_tpl |
ilObjUser | $user |
ilLocatorGUI | $locator |
ilCOPageHTMLExport | $co_page_html_export |
string | $export_format = "" |
ilLMPresentationGUI | $lm_gui |
ilObjectTranslation | $obj_transl |
string | $lang = "" |
ilSetting | $lm_settings |
array | $offline_files = [] |
string | $initial_user_language = "" |
string | $initial_current_user_language = "" |
ILIAS GlobalScreen Services | $global_screen |
ILIAS Style Content Object ObjectFacade | $content_style_domain |
Definition at line 28 of file class.LMHtmlExport.php.
ILIAS\LearningModule\Export\LMHtmlExport::__construct | ( | \ilObjLearningModule | $lm, |
string | $export_dir, | ||
string | $sub_dir, | ||
string | $export_format = "html" , |
||
string | $lang = "" |
||
) |
Definition at line 52 of file class.LMHtmlExport.php.
References ILIAS\LearningModule\Export\LMHtmlExport\$collector, $DIC, ILIAS\LearningModule\Export\LMHtmlExport\$export_dir, ILIAS\LearningModule\Export\LMHtmlExport\$export_format, ILIAS\LearningModule\Export\LMHtmlExport\$lang, ILIAS\LearningModule\Export\LMHtmlExport\$lm, ILIAS\LearningModule\Export\LMHtmlExport\$sub_dir, ilObject\getId(), ilObjectTranslation\getInstance(), ILIAS\LearningModule\Export\LMHtmlExport\getLinker(), ilLoggerFactory\getLogger(), ilObject\getRefId(), ILIAS\Repository\locator(), ILIAS\LearningModule\Export\LMHtmlExport\setAdditionalContextData(), ilLMEditGSToolProvider\SHOW_TREE, and ILIAS\Repository\user().
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\resetUserLanguage().
|
protected |
Add supplying export files.
Definition at line 250 of file class.LMHtmlExport.php.
References Vendor\Package\$f, and ILIAS\LearningModule\Export\LMHtmlExport\getSupplyingExportFiles().
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\exportHTML(), and ILIAS\LearningModule\Export\LMHtmlExport\initScreen().
ILIAS\LearningModule\Export\LMHtmlExport::exportHTML | ( | bool | $zip = true | ) |
bool | $zip | perform a zip at the end |
Definition at line 217 of file class.LMHtmlExport.php.
References ILIAS\LearningModule\Export\LMHtmlExport\addSupplyingExportFiles(), ILIAS\LearningModule\Export\LMHtmlExport\exportHTMLPages(), ILIAS\LearningModule\Export\LMHtmlExport\initGlobalScreen(), ILIAS\LearningModule\Export\LMHtmlExport\initLanguage(), ILIAS\LearningModule\Export\LMHtmlExport\resetUserLanguage(), and ILIAS\Repository\user().
ILIAS\LearningModule\Export\LMHtmlExport::exportHTMLPages | ( | ) |
export all pages of learning module to html file
Definition at line 363 of file class.LMHtmlExport.php.
References ILIAS\LearningModule\Export\LMHtmlExport\$lm, ILIAS\LearningModule\Export\LMHtmlExport\$lm_gui, $lm_set, ILIAS\LearningModule\Export\LMHtmlExport\$lm_settings, ILIAS\LearningModule\Export\LMHtmlExport\$locator, ilPageObject\_exists(), ILIAS\LearningModule\Export\LMHtmlExport\exportPageHTML(), ilLMObject\getExportId(), and ilLMPageObject\getPageList().
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\exportHTML().
ILIAS\LearningModule\Export\LMHtmlExport::exportPageHTML | ( | int | $lm_page_id, |
bool | $is_first = false , |
||
string | $lang = "-" , |
||
string | $frame = "" , |
||
array | $exp_id_map = [] |
||
) |
export single page to file
Definition at line 463 of file class.LMHtmlExport.php.
References ILIAS\LearningModule\Export\LMHtmlExport\$lang, ILIAS\LearningModule\Export\LMHtmlExport\$target_dir, and ILIAS\LearningModule\Export\LMHtmlExport\initScreen().
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\exportHTMLPages().
|
protected |
Definition at line 410 of file class.LMHtmlExport.php.
References $DIC.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\initScreen().
|
protected |
Definition at line 96 of file class.LMHtmlExport.php.
References ILIAS\LearningModule\Export\LMHtmlExport\$lang.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\__construct().
|
protected |
Definition at line 267 of file class.LMHtmlExport.php.
References ilExplorerBaseGUI\getLocalExplorerJsPath(), ilLinkifyUtil\getLocalJsPaths(), ilExplorerBaseGUI\getLocalJsTreeCssPath(), ilExplorerBaseGUI\getLocalJsTreeJsPath(), and ilYuiUtil\getLocalPath().
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\addSupplyingExportFiles().
|
protected |
Definition at line 204 of file class.LMHtmlExport.php.
References ilLMHtmlExportViewLayoutProvider\LM_HTML_EXPORT_RENDERING.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\exportHTML().
|
protected |
Definition at line 180 of file class.LMHtmlExport.php.
References ILIAS\LearningModule\Export\LMHtmlExport\$lang, ilObjUser\getLanguage(), ilObjUser\setCurrentLanguage(), and ilObjUser\setLanguage().
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\exportHTML().
|
protected |
Init global screen and learning module presentation gui for page.
Definition at line 429 of file class.LMHtmlExport.php.
References $params, ILIAS\LearningModule\Export\LMHtmlExport\addSupplyingExportFiles(), ILIAS\LearningModule\Export\LMHtmlExport\getInitialisedTemplate(), ilUtil\getStyleSheetLocation(), ilLMGSToolProvider\LM_OFFLINE, ilLMGSToolProvider\LM_QUERY_PARAMS, ilPCQuestion\resetInitialState(), and ILIAS\LearningModule\Export\LMHtmlExport\setAdditionalContextData().
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\exportPageHTML().
|
protected |
Definition at line 125 of file class.LMHtmlExport.php.
References ILIAS\LearningModule\Export\LMHtmlExport\$lang, ILIAS\LearningModule\Export\LMHtmlExport\$obj_transl, ILIAS\LearningModule\Export\LMHtmlExport\__construct(), ilObjectTranslation\getLanguages(), ILIAS\User\Profile\next, and ILIAS\Repository\user().
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\exportHTML().
|
protected |
mixed | $data |
Definition at line 115 of file class.LMHtmlExport.php.
References $data.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\__construct(), and ILIAS\LearningModule\Export\LMHtmlExport\initScreen().
|
protected |
Definition at line 40 of file class.LMHtmlExport.php.
|
protected |
Definition at line 30 of file class.LMHtmlExport.php.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\__construct().
|
protected |
Definition at line 50 of file class.LMHtmlExport.php.
|
protected |
Definition at line 35 of file class.LMHtmlExport.php.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\__construct().
|
protected |
Definition at line 41 of file class.LMHtmlExport.php.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\__construct().
|
protected |
Definition at line 31 of file class.LMHtmlExport.php.
|
protected |
Definition at line 49 of file class.LMHtmlExport.php.
|
protected |
Definition at line 48 of file class.LMHtmlExport.php.
|
protected |
Definition at line 47 of file class.LMHtmlExport.php.
|
protected |
Definition at line 44 of file class.LMHtmlExport.php.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\__construct(), ILIAS\LearningModule\Export\LMHtmlExport\exportPageHTML(), ILIAS\LearningModule\Export\LMHtmlExport\getLinker(), ILIAS\LearningModule\Export\LMHtmlExport\initLanguage(), and ILIAS\LearningModule\Export\LMHtmlExport\resetUserLanguage().
|
protected |
Definition at line 36 of file class.LMHtmlExport.php.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\__construct(), and ILIAS\LearningModule\Export\LMHtmlExport\exportHTMLPages().
|
protected |
Definition at line 42 of file class.LMHtmlExport.php.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\exportHTMLPages().
|
protected |
Definition at line 45 of file class.LMHtmlExport.php.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\exportHTMLPages().
|
protected |
Definition at line 39 of file class.LMHtmlExport.php.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\exportHTMLPages().
|
protected |
Definition at line 32 of file class.LMHtmlExport.php.
|
protected |
Definition at line 37 of file class.LMHtmlExport.php.
|
protected |
Definition at line 43 of file class.LMHtmlExport.php.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\resetUserLanguage().
|
protected |
Definition at line 46 of file class.LMHtmlExport.php.
|
protected |
Definition at line 34 of file class.LMHtmlExport.php.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\__construct().
|
protected |
Definition at line 33 of file class.LMHtmlExport.php.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\exportPageHTML().
|
protected |
Definition at line 38 of file class.LMHtmlExport.php.