|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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(), error(), 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\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, error(), 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 $post, ILIAS\Repository\access(), addLatexResources(), ensureThreadBelongsToForum(), error(), ilUtil\getStyleSheetLocation(), ILIAS\FileDelivery\http(), iljQueryUtil\initjQuery(), ILIAS\Repository\lng(), renderPostHtml(), and ilDatePresentation\setUseRelativeDates().
Here is the call graph for this function:| ilForumExportGUI::printThread | ( | ) |
Definition at line 257 of file class.ilForumExportGUI.php.
References $post, ILIAS\Repository\access(), addLatexResources(), ensureThreadBelongsToForum(), error(), ilUtil\getStyleSheetLocation(), ILIAS\FileDelivery\http(), iljQueryUtil\initjQuery(), ILIAS\Repository\lng(), renderPostHtml(), and ilDatePresentation\setUseRelativeDates().
Here is the call graph for this function:
|
protected |
Definition at line 114 of file class.ilForumExportGUI.php.
References $counter, $is_moderator, $post, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilForumProperties\getInstance(), ilForumPost\getUpdateUserId(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), 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.