ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Forum export to HTML and Print. More...
Public Member Functions | |
__construct () | |
ensureThreadBelongsToForum (int $objId, \ilForumTopic $thread) | |
executeCommand () | |
printThread () | |
printPost () | |
exportHTML () | |
Data Fields | |
const | MODE_EXPORT_WEB = 1 |
const | MODE_EXPORT_CLIENT = 2 |
$ctrl | |
$lng | |
$access | |
$error | |
$user | |
$ilObjDataCache | |
Protected Member Functions | |
renderPostHtml (\ilTemplate $tpl, ilForumPost $post, $counter, $mode) | |
prepare () | |
Prepare the export (init MathJax rendering) More... | |
Protected Attributes | |
$is_moderator = false | |
$frm | |
Forum export to HTML and Print.
Definition at line 12 of file class.ilForumExportGUI.php.
ilForumExportGUI::__construct | ( | ) |
Definition at line 34 of file class.ilForumExportGUI.php.
References $_GET, $DIC, ilForumProperties\getInstance(), and user().
ilForumExportGUI::ensureThreadBelongsToForum | ( | int | $objId, |
\ilForumTopic | $thread | ||
) |
int | $objId | |
ilForumTopic | $thread |
Definition at line 62 of file class.ilForumExportGUI.php.
References ilForumTopic\getForumId(), and ilObjForum\lookupForumIdByObjId().
Referenced by exportHTML(), printPost(), and printThread().
ilForumExportGUI::executeCommand | ( | ) |
Definition at line 73 of file class.ilForumExportGUI.php.
ilForumExportGUI::exportHTML | ( | ) |
Definition at line 163 of file class.ilForumExportGUI.php.
References $_GET, $_POST, $is_moderator, $post, $tpl, ilUtil\deliverData(), ensureThreadBelongsToForum(), ilUtil\getStyleSheetLocation(), prepare(), renderPostHtml(), and ilDatePresentation\setUseRelativeDates().
|
protected |
Prepare the export (init MathJax rendering)
Definition at line 375 of file class.ilForumExportGUI.php.
References ilMathJax\getInstance(), and ilMathJax\PURPOSE_EXPORT.
Referenced by exportHTML(), printPost(), and printThread().
ilForumExportGUI::printPost | ( | ) |
Definition at line 129 of file class.ilForumExportGUI.php.
References $_GET, $post, $tpl, ensureThreadBelongsToForum(), ilMathJax\getInstance(), ilUtil\getStyleSheetLocation(), iljQueryUtil\initjQuery(), prepare(), renderPostHtml(), and ilDatePresentation\setUseRelativeDates().
ilForumExportGUI::printThread | ( | ) |
Definition at line 85 of file class.ilForumExportGUI.php.
References $_GET, $post, $tpl, ensureThreadBelongsToForum(), ilMathJax\getInstance(), ilUtil\getStyleSheetLocation(), iljQueryUtil\initjQuery(), prepare(), renderPostHtml(), and ilDatePresentation\setUseRelativeDates().
|
protected |
\ilTemplate | $tpl | |
ilForumPost | $post | |
int | $counter | |
int | $mode |
Definition at line 245 of file class.ilForumExportGUI.php.
References $_GET, $is_moderator, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilForumPost\getCensorshipComment(), ilForumPost\getChangeDate(), ilForumPost\getCreateDate(), ilForumPost\getDisplayUserId(), ilForumPost\getImportName(), ilForumProperties\getInstance(), ilForumPost\getIsAuthorModerator(), ilForumPost\getMessage(), ilForumPost\getPosAuthorId(), ilForumPost\getSubject(), ilForumPost\getUpdateUserId(), ilForumPost\getUserAlias(), ilForumPost\isActivated(), ilForumPost\isCensored(), ilForumPost\isOwner(), ilTemplate\parseCurrentBlock(), ilForumPost\setChangeDate(), ilTemplate\setCurrentBlock(), ilForumPost\setMessage(), HTML_Template_IT\setVariable(), ilUtil\switchColor(), and user().
Referenced by exportHTML(), printPost(), and printThread().
ilForumExportGUI::$access |
Definition at line 29 of file class.ilForumExportGUI.php.
ilForumExportGUI::$ctrl |
Definition at line 27 of file class.ilForumExportGUI.php.
ilForumExportGUI::$error |
Definition at line 30 of file class.ilForumExportGUI.php.
|
protected |
Definition at line 25 of file class.ilForumExportGUI.php.
ilForumExportGUI::$ilObjDataCache |
Definition at line 32 of file class.ilForumExportGUI.php.
|
protected |
Definition at line 20 of file class.ilForumExportGUI.php.
Referenced by exportHTML(), and renderPostHtml().
ilForumExportGUI::$lng |
Definition at line 28 of file class.ilForumExportGUI.php.
ilForumExportGUI::$user |
Definition at line 31 of file class.ilForumExportGUI.php.
const ilForumExportGUI::MODE_EXPORT_CLIENT = 2 |
Definition at line 15 of file class.ilForumExportGUI.php.
const ilForumExportGUI::MODE_EXPORT_WEB = 1 |
Definition at line 14 of file class.ilForumExportGUI.php.