|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Wiki HTML exporter class. More...
Collaboration diagram for ilWikiHTMLExport:Public Member Functions | |
| __construct ($a_wiki) | |
| Constructor. More... | |
| setMode ($a_val) | |
| Set mode. More... | |
| getMode () | |
| Get mode. More... | |
| buildExportFile () | |
| Build export file. More... | |
| exportHTMLPages () | |
| Export all pages. More... | |
| updateUserHTMLStatusForPageElements ($a_total, $a_cnt) | |
| Callback for updating the export status during elements export (media objects, files, ...) More... | |
| exportPageHTML ($a_page_id) | |
| Export page html. More... | |
| getUserExportFile () | |
| Get user export file. More... | |
Data Fields | |
| const | MODE_DEFAULT = "html" |
| const | MODE_USER = "user_html" |
Protected Attributes | |
| $wiki | |
| $mode = self::MODE_DEFAULT | |
| $log | |
| ilWikiHTMLExport::__construct | ( | $a_wiki | ) |
Constructor.
return
Definition at line 29 of file class.ilWikiHTMLExport.php.
References ilLoggerFactory\getLogger().
Here is the call graph for this function:| ilWikiHTMLExport::buildExportFile | ( | ) |
Build export file.
return
Definition at line 61 of file class.ilWikiHTMLExport.php.
References $ilDB, $ilUser, ilExport\_createExportDirectory(), ilExport\_getExportDirectory(), ilUtil\delDir(), exportHTMLPages(), ilUtil\getASCIIFilename(), ilMathJax\getInstance(), getMode(), ilUtil\makeDir(), MODE_USER, ilMathJax\PURPOSE_EXPORT, and ilUtil\zip().
Here is the call graph for this function:| ilWikiHTMLExport::exportHTMLPages | ( | ) |
Export all pages.
Definition at line 143 of file class.ilWikiHTMLExport.php.
References $ilBench, $tpl, ilPageObject\_exists(), exportPageHTML(), ilWikiPage\getAllWikiPages(), getMode(), ilWikiUserHTMLExport\RUNNING, and updateUserHTMLStatusForPageElements().
Referenced by buildExportFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWikiHTMLExport::exportPageHTML | ( | $a_page_id | ) |
Export page html.
Definition at line 191 of file class.ilWikiHTMLExport.php.
References $file, $ilUser, and $lng.
Referenced by exportHTMLPages().
Here is the caller graph for this function:| ilWikiHTMLExport::getMode | ( | ) |
Get mode.
Definition at line 50 of file class.ilWikiHTMLExport.php.
References $mode.
Referenced by buildExportFile(), exportHTMLPages(), and updateUserHTMLStatusForPageElements().
Here is the caller graph for this function:| ilWikiHTMLExport::getUserExportFile | ( | ) |
Get user export file.
return
Definition at line 272 of file class.ilWikiHTMLExport.php.
References ilExport\_getExportDirectory().
Here is the call graph for this function:| ilWikiHTMLExport::setMode | ( | $a_val | ) |
Set mode.
| int | $a_val | MODE_DEFAULT|MODE_USER |
Definition at line 40 of file class.ilWikiHTMLExport.php.
| ilWikiHTMLExport::updateUserHTMLStatusForPageElements | ( | $a_total, | |
| $a_cnt | |||
| ) |
Callback for updating the export status during elements export (media objects, files, ...)
Definition at line 179 of file class.ilWikiHTMLExport.php.
References getMode(), and ilWikiUserHTMLExport\RUNNING.
Referenced by exportHTMLPages().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 21 of file class.ilWikiHTMLExport.php.
|
protected |
Definition at line 16 of file class.ilWikiHTMLExport.php.
Referenced by getMode().
|
protected |
Definition at line 13 of file class.ilWikiHTMLExport.php.
| const ilWikiHTMLExport::MODE_DEFAULT = "html" |
Definition at line 14 of file class.ilWikiHTMLExport.php.
| const ilWikiHTMLExport::MODE_USER = "user_html" |
Definition at line 15 of file class.ilWikiHTMLExport.php.
Referenced by buildExportFile(), ilWikiUserHTMLExport\deliverFile(), and ilWikiUserHTMLExport\startUserHTMLExport().