|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Forum export to HTML and Print. More...
Collaboration diagram for ilForumExportGUI:Public Member Functions | |
| __construct () | |
| executeCommand () | |
| printThread () | |
| printPost () | |
Data Fields | |
| ilCtrlInterface | $ctrl |
| ilLanguage | $lng |
| ilAccessHandler | $access |
| ilErrorHandling | $error |
| ilObjUser | $user |
| ilObjectDataCache | $ilObjDataCache |
Protected Member Functions | |
| renderPostHtml (ilGlobalTemplateInterface $tpl, ilForumPost $post, int $counter, int $mode) | |
Protected Attributes | |
| bool | $is_moderator = false |
| ilForum | $frm |
Private Member Functions | |
| retrieveRefId () | |
| ensureThreadBelongsToForum (int $objId, ilForumTopic $thread) | |
| addLatexResources (ilGlobalTemplateInterface $tpl) | |
| Register the resources needed for latex rendering We can't query these resources from the UI framework in a clean way. More... | |
Private Attributes | |
| const int | MODE_EXPORT_WEB = 1 |
| const int | MODE_EXPORT_CLIENT = 2 |
| readonly ilForumProperties | $objProperties |
| readonly GlobalHttpState | $http |
| readonly Refinery | $refinery |
| readonly int | $ref_id |
Forum export to HTML and Print.
Definition at line 29 of file class.ilForumExportGUI.php.
| ilForumExportGUI::__construct | ( | ) |
Definition at line 47 of file class.ilForumExportGUI.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilForumProperties\getInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), retrieveRefId(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Register the resources needed for latex rendering We can't query these resources from the UI framework in a clean way.
So we have to repeat them here.
Definition at line 102 of file class.ilForumExportGUI.php.
References ILIAS\News\Common\Table\$tpl, and ILIAS\UICore\GlobalTemplate\addJavaScript().
Referenced by printPost(), and printThread().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 87 of file class.ilForumExportGUI.php.
References $objId, ilForumTopic\getForumId(), ILIAS\Repository\lng(), and ilObjForum\lookupForumIdByObjId().
Referenced by printPost(), and printThread().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumExportGUI::executeCommand | ( | ) |
Definition at line 108 of file class.ilForumExportGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilForumExportGUI::printPost | ( | ) |
Definition at line 312 of file class.ilForumExportGUI.php.
References ILIAS\News\Common\Table\$tpl, ILIAS\Repository\access(), addLatexResources(), ensureThreadBelongsToForum(), ilUtil\getStyleSheetLocation(), ILIAS\FileDelivery\http(), iljQueryUtil\initjQuery(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\printToStdout(), renderPostHtml(), ilDatePresentation\setUseRelativeDates(), and ILIAS\UICore\GlobalTemplate\setVariable().
Here is the call graph for this function:| ilForumExportGUI::printThread | ( | ) |
Definition at line 257 of file class.ilForumExportGUI.php.
References ILIAS\News\Common\Table\$tpl, ILIAS\Repository\access(), addLatexResources(), ensureThreadBelongsToForum(), ilUtil\getStyleSheetLocation(), ILIAS\FileDelivery\http(), iljQueryUtil\initjQuery(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\printToStdout(), renderPostHtml(), ilDatePresentation\setUseRelativeDates(), and ILIAS\UICore\GlobalTemplate\setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 114 of file class.ilForumExportGUI.php.
References $is_moderator, ILIAS\News\Common\Table\$tpl, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilForumPost\getCensorshipComment(), ilForumPost\getChangeDate(), ilForumPost\getCreateDate(), ilForumPost\getDisplayUserId(), ilForumPost\getImportName(), ilForumProperties\getInstance(), ilForumPost\getMessage(), ilForumPost\getPosAuthorId(), ilForumPost\getSubject(), ilForumPost\getUpdateUserId(), ilForumPost\getUserAlias(), ilForumPost\isActivated(), ilForumPost\isAuthorModerator(), ilForumPost\isCensored(), ilForumPost\isOwner(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ilForumPost\setChangeDate(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), ilForumPost\setMessage(), ILIAS\UICore\GlobalTemplate\setVariable(), and ilUtil\switchColor().
Referenced by printPost(), and printThread().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 74 of file class.ilForumExportGUI.php.
References $ref_id, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAccessHandler ilForumExportGUI::$access |
Definition at line 36 of file class.ilForumExportGUI.php.
| ilCtrlInterface ilForumExportGUI::$ctrl |
Definition at line 34 of file class.ilForumExportGUI.php.
| ilErrorHandling ilForumExportGUI::$error |
Definition at line 37 of file class.ilForumExportGUI.php.
|
protected |
Definition at line 41 of file class.ilForumExportGUI.php.
|
private |
Definition at line 43 of file class.ilForumExportGUI.php.
| ilObjectDataCache ilForumExportGUI::$ilObjDataCache |
Definition at line 39 of file class.ilForumExportGUI.php.
|
protected |
Definition at line 40 of file class.ilForumExportGUI.php.
Referenced by renderPostHtml().
| ilLanguage ilForumExportGUI::$lng |
Definition at line 35 of file class.ilForumExportGUI.php.
|
private |
Definition at line 42 of file class.ilForumExportGUI.php.
|
private |
Definition at line 45 of file class.ilForumExportGUI.php.
Referenced by retrieveRefId().
|
private |
Definition at line 44 of file class.ilForumExportGUI.php.
| ilObjUser ilForumExportGUI::$user |
Definition at line 38 of file class.ilForumExportGUI.php.
|
private |
Definition at line 32 of file class.ilForumExportGUI.php.
|
private |
Definition at line 31 of file class.ilForumExportGUI.php.