ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Wiki HTML exporter class. More...
Public Member Functions | |
__construct (\ilObjWiki $a_wiki) | |
setMode (string $a_val) | |
getMode () | |
buildExportFile (bool $print_version=false) | |
Build export file. More... | |
exportHTMLPages () | |
Export all pages. More... | |
exportHTMLPagesPrint () | |
Export all pages as one print version. More... | |
updateUserHTMLStatusForPageElements (int $a_total, int $a_cnt) | |
Export user images. More... | |
exportPageHTML (int $a_page_id, \ilGlobalPageTemplate $tpl) | |
Export page html. More... | |
getUserExportFile () | |
Get user export file. More... | |
deliverLatest () | |
getLatest () | |
Data Fields | |
const | MODE_DEFAULT = "html" |
const | MODE_COMMENTS = "html_comments" |
const | MODE_USER = "user_html" |
const | MODE_USER_COMMENTS = "user_html_comments" |
Protected Attributes | |
ILIAS components Export HTML ExportCollector | $collector |
ILIAS Export HTML ExternalDomainService | $html_export |
ILIAS components Export HTML Util | $export_util |
ilDBInterface | $db |
ilObjUser | $user |
ilLanguage | $lng |
ilTabsGUI | $tabs |
ilObjWiki | $wiki |
string | $mode = self::MODE_DEFAULT |
ilLogger | $log |
ilCOPageHTMLExport | $co_page_html_export |
string | $export_dir |
ILIAS GlobalScreen Services | $global_screen |
ilGlobalTemplateInterface | $main_tpl |
ilWikiUserHTMLExport | $user_html_exp |
ILIAS Style Content Object ObjectFacade | $content_style_domain |
Static Protected Attributes | |
static | $context_init = false |
Wiki HTML exporter class.
Definition at line 30 of file WikiHtmlExport.php.
ILIAS\Wiki\Export\WikiHtmlExport::__construct | ( | \ilObjWiki | $a_wiki | ) |
Definition at line 57 of file WikiHtmlExport.php.
References $DIC, ilLoggerFactory\getLogger(), ilObject\getRefId(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
ILIAS\Wiki\Export\WikiHtmlExport::buildExportFile | ( | bool | $print_version = false | ) |
Build export file.
Definition at line 92 of file WikiHtmlExport.php.
References ILIAS\$db, $ilDB, ilFileUtils\getASCIIFilename(), ilHTMLExportViewLayoutProvider\HTML_EXPORT_RENDERING, and IL_INST_ID.
ILIAS\Wiki\Export\WikiHtmlExport::deliverLatest | ( | ) |
Definition at line 374 of file WikiHtmlExport.php.
ILIAS\Wiki\Export\WikiHtmlExport::exportHTMLPages | ( | ) |
Export all pages.
Definition at line 189 of file WikiHtmlExport.php.
References $DIC, ilPageObject\_exists(), ilWikiPage\getAllWikiPages(), and ilWikiUserHTMLExport\RUNNING.
ILIAS\Wiki\Export\WikiHtmlExport::exportHTMLPagesPrint | ( | ) |
Export all pages as one print version.
Definition at line 224 of file WikiHtmlExport.php.
References ilPageObject\_exists(), and ilWikiPage\getAllWikiPages().
ILIAS\Wiki\Export\WikiHtmlExport::exportPageHTML | ( | int | $a_page_id, |
\ilGlobalPageTemplate | $tpl | ||
) |
Export page html.
Definition at line 271 of file WikiHtmlExport.php.
ILIAS\Wiki\Export\WikiHtmlExport::getLatest | ( | ) |
Definition at line 383 of file WikiHtmlExport.php.
ILIAS\Wiki\Export\WikiHtmlExport::getMode | ( | ) |
Definition at line 82 of file WikiHtmlExport.php.
ILIAS\Wiki\Export\WikiHtmlExport::getUserExportFile | ( | ) |
Get user export file.
Definition at line 356 of file WikiHtmlExport.php.
References ilExport\_getExportDirectory().
ILIAS\Wiki\Export\WikiHtmlExport::setMode | ( | string | $a_val | ) |
Definition at line 76 of file WikiHtmlExport.php.
ILIAS\Wiki\Export\WikiHtmlExport::updateUserHTMLStatusForPageElements | ( | int | $a_total, |
int | $a_cnt | ||
) |
Export user images.
Callback for updating the export status during elements export (media objects, files, ...)
Definition at line 257 of file WikiHtmlExport.php.
References ilWikiUserHTMLExport\RUNNING.
|
protected |
Definition at line 47 of file WikiHtmlExport.php.
|
protected |
Definition at line 36 of file WikiHtmlExport.php.
|
protected |
Definition at line 52 of file WikiHtmlExport.php.
|
staticprotected |
Definition at line 55 of file WikiHtmlExport.php.
|
protected |
Definition at line 40 of file WikiHtmlExport.php.
|
protected |
Definition at line 48 of file WikiHtmlExport.php.
Definition at line 38 of file WikiHtmlExport.php.
|
protected |
Definition at line 49 of file WikiHtmlExport.php.
|
protected |
Definition at line 37 of file WikiHtmlExport.php.
|
protected |
Definition at line 42 of file WikiHtmlExport.php.
|
protected |
Definition at line 46 of file WikiHtmlExport.php.
|
protected |
Definition at line 50 of file WikiHtmlExport.php.
|
protected |
Definition at line 45 of file WikiHtmlExport.php.
|
protected |
Definition at line 43 of file WikiHtmlExport.php.
|
protected |
Definition at line 41 of file WikiHtmlExport.php.
|
protected |
Definition at line 51 of file WikiHtmlExport.php.
|
protected |
Definition at line 44 of file WikiHtmlExport.php.
const ILIAS\Wiki\Export\WikiHtmlExport::MODE_COMMENTS = "html_comments" |
Definition at line 33 of file WikiHtmlExport.php.
const ILIAS\Wiki\Export\WikiHtmlExport::MODE_DEFAULT = "html" |
Definition at line 32 of file WikiHtmlExport.php.
const ILIAS\Wiki\Export\WikiHtmlExport::MODE_USER = "user_html" |
Definition at line 34 of file WikiHtmlExport.php.
const ILIAS\Wiki\Export\WikiHtmlExport::MODE_USER_COMMENTS = "user_html_comments" |
Definition at line 35 of file WikiHtmlExport.php.