ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Wiki HTML exporter class. More...
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.
Definition at line 49 of file class.ilWikiHTMLExport.php.
References $DIC, ilLoggerFactory\getLogger(), and user().
ilWikiHTMLExport::buildExportFile | ( | ) |
Build export file.
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(), ilMathJax\PURPOSE_EXPORT, time, and ilUtil\zip().
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().
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().
ilWikiHTMLExport::getMode | ( | ) |
Get mode.
Definition at line 76 of file class.ilWikiHTMLExport.php.
References $mode.
Referenced by buildExportFile(), exportHTMLPages(), getUserExportFile(), and updateUserHTMLStatusForPageElements().
ilWikiHTMLExport::getUserExportFile | ( | ) |
Get user export file.
Definition at line 302 of file class.ilWikiHTMLExport.php.
References ilExport\_getExportDirectory(), and getMode().
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().
|
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 ilWikiUserHTMLExport\deliverFile(), and ilWikiUserHTMLExport\startUserHTMLExport().