|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 | |
| $db | |
| $user | |
| $lng | |
| $tabs | |
| $wiki | |
| $mode = self::MODE_DEFAULT | |
| $log | |
| ilWikiHTMLExport::__construct | ( | $a_wiki | ) |
Constructor.
return
Definition at line 49 of file class.ilWikiHTMLExport.php.
References $DIC, ilLoggerFactory\getLogger(), and user().
Here is the call graph for this function:| ilWikiHTMLExport::buildExportFile | ( | ) |
Build export file.
return
Definition at line 87 of file class.ilWikiHTMLExport.php.
References $db, $ilDB, $ilUser, $user, ilExport\_createExportDirectory(), ilExport\_getExportDirectory(), ilUtil\delDir(), exportHTMLPages(), ilUtil\getASCIIFilename(), ilObjStyleSheet\getEffectiveContentStyleId(), 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 168 of file class.ilWikiHTMLExport.php.
References 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 209 of file class.ilWikiHTMLExport.php.
References $file, $ilUser, $lng, $tabs, and $user.
Referenced by exportHTMLPages().
Here is the caller graph for this function:| ilWikiHTMLExport::getMode | ( | ) |
Get mode.
Definition at line 76 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 302 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 66 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 198 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 16 of file class.ilWikiHTMLExport.php.
Referenced by buildExportFile().
|
protected |
Definition at line 26 of file class.ilWikiHTMLExport.php.
Referenced by exportPageHTML().
|
protected |
Definition at line 41 of file class.ilWikiHTMLExport.php.
|
protected |
Definition at line 36 of file class.ilWikiHTMLExport.php.
Referenced by getMode().
|
protected |
Definition at line 31 of file class.ilWikiHTMLExport.php.
Referenced by exportPageHTML().
|
protected |
Definition at line 21 of file class.ilWikiHTMLExport.php.
Referenced by buildExportFile(), and exportPageHTML().
|
protected |
Definition at line 33 of file class.ilWikiHTMLExport.php.
| const ilWikiHTMLExport::MODE_DEFAULT = "html" |
Definition at line 34 of file class.ilWikiHTMLExport.php.
| const ilWikiHTMLExport::MODE_USER = "user_html" |
Definition at line 35 of file class.ilWikiHTMLExport.php.
Referenced by buildExportFile(), ilWikiUserHTMLExport\deliverFile(), and ilWikiUserHTMLExport\startUserHTMLExport().