ILIAS
release_8 Revision v8.19
|
Class ilObjForumGUI. More...
Public Member Functions | |
__construct ($data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true) | |
ensureThreadBelongsToForum (int $objId, ilForumTopic $thread) | |
getUnsafeGetCommands () | |
This method must return a list of unsafe GET commands. More... | |
getSafePostCommands () | |
This method must return a list of safe POST commands. More... | |
infoScreenObject () | |
editThreadObject (int $threadId, ilPropertyFormGUI $form=null) | |
updateThreadObject () | |
markAllReadObject () | |
showThreadsObject () | |
sortThreadsObject () | |
getSubTabs ($subtab='showThreads') | |
getContent () | |
showStatisticsObject () | |
performDeleteThreadsObject () | |
performPostActivationObject () | |
askForPostActivationObject () | |
setDisplayConfirmPostActivation (bool $status=false) | |
displayConfirmPostActivation () | |
cancelPostObject () | |
cancelDraftObject () | |
getActivationFormHTML () | |
createTopLevelPostObject () | |
saveTopLevelPostObject () | |
publishSelectedDraftObject () | |
publishDraftObject (bool $use_replyform=true) | |
savePostObject () | |
quotePostObject () | |
getQuotationHTMLAsynchObject () | |
checkUsersViewMode () | |
resetLimitedViewObject () | |
viewThreadObject () | |
showUserObject () | |
performThreadsActionObject () | |
performMoveThreadsObject () | |
cancelMoveThreadsObject () | |
moveThreadsObject () | |
setColumnSettings (ilColumnGUI $column_gui) | |
handleFormInput (string $a_text, bool $a_stripslashes=true) | |
prepareFormOutput (string $a_text) | |
saveUserNotificationSettingsObject () | |
isUserAllowedToDeactivateNotification () | |
isParentObjectCrsOrGrp () | |
mergeThreadsObject () | |
confirmMergeThreadsObject () | |
performMergeThreadsObject () | |
saveTopLevelDraftObject () | |
saveAsDraftObject () | |
updateDraftObject () | |
checkDraftAccess (int $draftId) | |
![]() | |
__construct ($data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true) | |
getRefId () | |
setAdminMode (string $mode) | |
getAdminMode () | |
getObject () | |
executeCommand () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
setCreationMode (bool $mode=true) | |
if true, a creation screen is displayed the current [ref_id] don't belong to the current class! The mode is determined in ilRepositoryGUI More... | |
getCreationMode () | |
prepareOutput (bool $show_sub_objects=true) | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelDeleteObject () | |
cancel deletion of object More... | |
cancelObject () | |
cancel action and go back to previous page More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
getDidacticTemplateVar (string $type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $obj, int $parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
addExternalEditFormCustom (ilPropertyFormGUI $form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction (string $cmd, string $default_form_action="") | |
Get form action for command (command is method name without "Object", e.g. More... | |
isVisible (int $ref_id, string $type) | |
viewObject () | |
viewObject container presentation for "administration -> repository, trash, permissions" More... | |
deleteObject (bool $error=false) | |
Display deletion confirmation screen. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
redirectAfterCreation () | |
Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html Should be overwritten and redirect to settings screen. More... | |
addToDeskObject () | |
removeFromDeskObject () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
![]() | |
addToDeskObject () | |
Add desktop item public. More... | |
removeFromDeskObject () | |
Remove from desktop public. More... | |
Static Public Member Functions | |
static | _goto ($a_target, $a_thread=0, $a_posting=0) |
![]() | |
static | _gotoRepositoryRoot (bool $raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode (int $ref_id, string $cmd="") |
static | _gotoSharedWorkspaceNode (int $wsp_id) |
Protected Member Functions | |
initSessionStorage () | |
toggleExplorerNodeStateObject () | |
ensureValidPageForCurrentPosting (array $subtree_nodes, array $pagedPostings, int $pageSize, ilForumPost $firstForumPost) | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
getEditFormCustomValues (array &$a_values) | |
updateCustom (ilPropertyFormGUI $form) | |
initStyleSheets () | |
renderDraftContent (ilTemplate $tpl, string $action, ilForumPost $referencePosting, array $drafts) | |
renderPostContent (ilTemplate $tpl, ilForumPost $node, string $action, int $pageIndex, int $postIndex) | |
selectPostObject () | |
afterSave (ilObject $new_object) | |
getTabs () | |
confirmDeleteThreadDraftsObject () | |
toggleThreadNotificationObject () | |
toggleStickinessObject () | |
deleteThreadDraftsObject () | |
publishThreadDraftObject () | |
addThreadObject () | |
addEmptyThreadObject () | |
enableForumNotificationObject () | |
disableForumNotificationObject () | |
addLocatorItems () | |
infoScreen () | |
markPostUnreadObject () | |
markPostReadObject () | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
saveThreadSortingObject () | |
setSideBlocks () | |
deliverDraftZipFileObject () | |
deliverZipFileObject () | |
editThreadDraftObject (ilPropertyFormGUI $form=null) | |
restoreFromHistoryObject () | |
saveThreadAsDraftObject () | |
updateThreadDraftObject () | |
editDraftObject () | |
deleteMobsOfDraft (int $draft_id, string $message) | |
deleteSelectedDraft (ilForumPostDraft $draft_obj=null) | |
autosaveDraftAsyncObject () | |
autosaveThreadDraftAsyncObject () | |
![]() | |
getObjectService () | |
assignObject () | |
setTitleAndDescription () | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction (?ilObjectListGUI $list_gui=null) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
setTabs () | |
set admin tabs More... | |
setAdminTabs () | |
set admin tabs More... | |
setLocator () | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator (bool $omit=true) | |
addAdminLocatorItems (bool $do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms (string $new_type) | |
Init creation forms. More... | |
getCreationFormsHTML (array $forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm (string $new_type) | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
afterSave (ilObject $new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm (string $new_type) | |
importFileObject (int $parent_id=null) | |
afterImport (ilObject $new_object) | |
Post (successful) object import hook. More... | |
setFormAction (string $cmd, string $form_action) | |
getReturnLocation (string $cmd, string $default_location="") | |
Get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation (string $cmd, string $location) | |
set specific return location for command More... | |
getTargetFrame (string $cmd, string $default_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame (string $cmd, string $target_frame) | |
Set specific target frame for command. More... | |
showPossibleSubObjects () | |
show possible sub objects (pull down menu) More... | |
getTabs () | |
overwrite in derived GUI class of your object type More... | |
redirectToRefId (int $ref_id, string $cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More... | |
fillCloneTemplate (?string $tpl_name, string $type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
showCustomIconsEditing ( $input_colspan=1, ilPropertyFormGUI $form=null, $as_section=true) | |
show edit section of custom icons for container More... | |
Private Member Functions | |
retrieveRefId () | |
retrieveThrPk () | |
retrieveThreadIds () | |
retrieveDraftId () | |
decorateWithAutosave (ilPropertyFormGUI $form) | |
isTopLevelReplyCommand () | |
getTableCommands () | |
getThreadEditingForm (int $a_thread_id) | |
deletePostingObject () | |
deletePostingDraftObject () | |
revokeCensorshipObject () | |
addCensorshipObject () | |
getModalActions () | |
handleCensorship ($wasRevoked=false) | |
initReplyEditForm () | |
getReplyEditForm () | |
hideToolbar ($a_flag=null) | |
getForumObjects () | |
renderViewModeControl (int $currentViewMode) | |
renderSortationControl (int $currentSorting) | |
getModifiedReOnSubject () | |
isWritingWithPseudonymAllowed () | |
buildThreadForm (bool $isDraft=false) | |
buildMinimalThreadForm (bool $isDraft=false) | |
createThreadObject () | |
createThread (ilForumPostDraft $draft, bool $createFromDraft=false) | |
Refactored thread creation to method, refactoring to a separate class should be done in next refactoring steps. More... | |
createEmptyThread (ilForumPostDraft $draft, bool $createFromDraft=false) | |
Refactored thread creation to method, refactoring to a separate class should be done in next refactoring steps. More... | |
eventsFormBuilder (?array $predefined_values=null) | |
renderSplitButton (ilTemplate $tpl, string $action, bool $is_post, ilForumPost $node, int $pageIndex=0, ilForumPostDraft $draft=null) | |
doHistoryCheck (int $draftId) | |
getResetLimitedViewInfo () | |
getOrderByParam () | |
Private Attributes | |
array | $viewModeOptions |
array | $sortationOptions |
ILIAS GlobalScreen Services | $globalScreen |
ilForumTopic | $objCurrentTopic |
ilForumPost | $objCurrentPost |
bool | $display_confirm_post_activation = false |
bool | $is_moderator |
ilPropertyFormGUI | $replyEditForm = null |
bool | $hideToolbar = false |
$httpRequest | |
ILIAS HTTP Services | $http |
Factory | $uiFactory |
Renderer | $uiRenderer |
array | $forumObjects = null |
string | $confirmation_gui_html = '' |
ilForumSettingsGUI | $forum_settings_gui |
string | $requestAction |
array | $modalActionsContainer = [] |
int | $selectedSorting |
ilForumThreadSettingsSessionStorage | $selected_post_storage |
Class ilObjForumGUI.
Definition at line 35 of file class.ilObjForumGUI.php.
ilObjForumGUI::__construct | ( | $data, | |
int | $id = 0 , |
||
bool | $call_by_reference = true , |
||
bool | $prepare_output = true |
||
) |
Definition at line 78 of file class.ilObjForumGUI.php.
References ilObjectGUI\$call_by_reference, ilObjectGUI\$data, $DIC, ilObjectGUI\$id, $is_moderator, ilObjectGUI\$ref_id, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\access(), checkUsersViewMode(), ILIAS\Repository\ctrl(), ilForumProperties\getInstance(), ILIAS\Repository\globalScreen(), ILIAS\FileDelivery\http(), initSessionStorage(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\rbac(), retrieveRefId(), retrieveThrPk(), and ilForumProperties\VIEW_TREE.
|
static |
Definition at line 1533 of file class.ilObjForumGUI.php.
References $DIC, $ilErr, ilObjectGUI\$lng, ilObjectGUI\$ref_id, ilObject\_getAllReferences(), ilObject\_lookupObjectId(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ILIAS\Repository\int(), ROOT_FOLDER_ID, and ilLanguage\txt().
|
private |
Definition at line 1815 of file class.ilObjForumGUI.php.
References handleCensorship().
|
protected |
Definition at line 4131 of file class.ilObjForumGUI.php.
References createEmptyThread(), ILIAS\Repository\int(), ilForumPostDraft\isSavePostDraftAllowed(), and ilForumPostDraft\newInstanceByDraftId().
|
protected |
Definition at line 4199 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\locator(), and ILIAS\Repository\object().
|
protected |
Definition at line 4118 of file class.ilObjForumGUI.php.
References createThread(), ILIAS\Repository\int(), ilForumPostDraft\isSavePostDraftAllowed(), and ilForumPostDraft\newInstanceByDraftId().
|
protected |
ilObject | ilObjForum | $new_object |
Definition at line 1329 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ilObject\getRefId(), and ILIAS\Repository\lng().
ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1869 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\lng(), setDisplayConfirmPostActivation(), and viewThreadObject().
|
protected |
Definition at line 5305 of file class.ilObjForumGUI.php.
References $message, ILIAS\Repository\access(), getReplyEditForm(), handleFormInput(), ILIAS\FileDelivery\http(), ilObjForum\lookupForumIdByRefId(), retrieveDraftId(), ilUtil\stripSlashes(), and ILIAS\Repository\user().
|
protected |
Definition at line 5338 of file class.ilObjForumGUI.php.
References $message, ILIAS\Repository\access(), buildThreadForm(), handleFormInput(), ILIAS\FileDelivery\http(), ilObjForum\lookupForumIdByRefId(), retrieveDraftId(), ilUtil\stripSlashes(), and ILIAS\Repository\user().
|
private |
Definition at line 3833 of file class.ilObjForumGUI.php.
References ilForumThreadFormGUI\ALIAS_INPUT, ILIAS\Repository\int(), isWritingWithPseudonymAllowed(), ILIAS\Repository\rbac(), ilForumThreadFormGUI\SUBJECT_INPUT, and ILIAS\Repository\user().
Referenced by createEmptyThread(), createThread(), and createThreadObject().
|
private |
Definition at line 3801 of file class.ilObjForumGUI.php.
References ilForumThreadFormGUI\ALIAS_INPUT, ilForumThreadFormGUI\ALLOW_NOTIFICATION_INPUT, decorateWithAutosave(), ilForumThreadFormGUI\FILE_UPLOAD_INPUT, ILIAS\Repository\int(), isWritingWithPseudonymAllowed(), ilForumThreadFormGUI\MESSAGE_INPUT, ILIAS\Repository\rbac(), ilForumThreadFormGUI\SUBJECT_INPUT, and ILIAS\Repository\user().
Referenced by autosaveThreadDraftAsyncObject(), createEmptyThread(), createThread(), createThreadObject(), editThreadDraftObject(), saveThreadAsDraftObject(), and updateThreadDraftObject().
ilObjForumGUI::cancelDraftObject | ( | ) |
Definition at line 1953 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumDraftsHistory\MEDIAOBJECT_TYPE, ilForumPostDraft\MEDIAOBJECT_TYPE, ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), retrieveDraftId(), and viewThreadObject().
ilObjForumGUI::cancelMoveThreadsObject | ( | ) |
Definition at line 3659 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), and ilSession\set().
ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1934 of file class.ilObjForumGUI.php.
References ILIAS\FileDelivery\http(), ilForumPostDraft\newInstanceByDraftId(), ILIAS\Repository\refinery(), and viewThreadObject().
ilObjForumGUI::checkDraftAccess | ( | int | $draftId | ) |
Definition at line 5652 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\lng(), ilForumPostDraft\newInstanceByDraftId(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by doHistoryCheck(), editDraftObject(), updateDraftObject(), and updateThreadDraftObject().
ilObjForumGUI::checkUsersViewMode | ( | ) |
Definition at line 2883 of file class.ilObjForumGUI.php.
References $selectedSorting, ilSession\get(), ILIAS\Repository\int(), ilSession\set(), ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
Referenced by __construct().
|
protected |
Definition at line 1690 of file class.ilObjForumGUI.php.
References ilObjectGUI\$ref_id, ilObject\_getIcon(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilForumPostDraft\getDraftInstancesByUserId(), ilObject\getId(), ILIAS\Repository\lng(), retrieveRefId(), showThreadsObject(), and ILIAS\Repository\user().
ilObjForumGUI::confirmMergeThreadsObject | ( | ) |
Definition at line 4577 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilForumTopic\lookupCreationDate(), ilForumTopic\lookupForumIdByTopicId(), ilForumTopic\lookupTitle(), mergeThreadsObject(), ILIAS\Repository\object(), and showThreadsObject().
|
private |
Refactored thread creation to method, refactoring to a separate class should be done in next refactoring steps.
ilForumPostDraft | $draft | |
bool | $createFromDraft |
Definition at line 4027 of file class.ilObjForumGUI.php.
References $is_moderator, ILIAS\Repository\access(), buildMinimalThreadForm(), buildThreadForm(), ILIAS\Repository\ctrl(), ilAccordionGUI\FIRST_OPEN, ilForumUtil\getPublicUserAlias(), handleFormInput(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by addEmptyThreadObject().
|
private |
Refactored thread creation to method, refactoring to a separate class should be done in next refactoring steps.
ilForumPostDraft | $draft | |
bool | $createFromDraft |
Definition at line 3890 of file class.ilObjForumGUI.php.
References $GLOBALS, $is_moderator, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), ILIAS\Repository\access(), buildMinimalThreadForm(), buildThreadForm(), ILIAS\Repository\ctrl(), ilForumPostDraft\deleteDraft(), ilAccordionGUI\FIRST_OPEN, ilForumPostDraft\getDraftId(), ilForumPostDraft\getPostAuthorId(), ilForumPostDraft\getPostDisplayUserId(), ilForumPostDraft\getPostUserAlias(), ilForumUtil\getPublicUserAlias(), handleFormInput(), ilForumPostDraft\isNotificationEnabled(), ilForumPostDraft\isPostNotificationEnabled(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilFileDataForum\storeUploadedFile(), and ILIAS\Repository\user().
Referenced by addThreadObject(), and publishThreadDraftObject().
|
private |
Definition at line 3860 of file class.ilObjForumGUI.php.
References ilObjectGUI\$tpl, ILIAS\Repository\access(), buildMinimalThreadForm(), buildThreadForm(), ilAccordionGUI\FIRST_OPEN, ilGlobalTemplateInterface\get(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\parseCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
ilObjForumGUI::createTopLevelPostObject | ( | ) |
Definition at line 2314 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ilForumPostDraft\getDraftId(), getOrderByParam(), ilForumPostDraft\isSavePostDraftAllowed(), retrieveDraftId(), ILIAS\Repository\user(), and viewThreadObject().
|
private |
Definition at line 245 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ilFormGUI\getId(), ilUtil\getImagePath(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ILIAS\Repository\lng(), ilForumPostDraft\lookupAutosaveInterval(), retrieveDraftId(), and ilUtil\stripSlashes().
Referenced by buildThreadForm(), and initReplyEditForm().
|
protected |
Definition at line 5234 of file class.ilObjForumGUI.php.
References ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), and ilObjMediaObject\_removeUsage().
Referenced by deleteSelectedDraft(), and deleteThreadDraftsObject().
|
private |
Definition at line 1805 of file class.ilObjForumGUI.php.
References deleteSelectedDraft().
|
private |
Definition at line 1767 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), getForumObjects(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
|
protected |
Definition at line 5255 of file class.ilObjForumGUI.php.
References $GLOBALS, ilObjectGUI\$ref_id, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilFileDataForumDrafts\delete(), deleteMobsOfDraft(), ilForumPostDraft\isSavePostDraftAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\object(), retrieveDraftId(), retrieveRefId(), and ILIAS\Repository\user().
Referenced by deletePostingDraftObject().
|
protected |
Definition at line 3756 of file class.ilObjForumGUI.php.
References $GLOBALS, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilFileDataForumDrafts\delete(), deleteMobsOfDraft(), ilForumPostDraft\getDraftInstancesByUserId(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
|
protected |
Definition at line 4693 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilForumPostDraft\newInstanceByDraftId(), and ILIAS\Repository\user().
|
protected |
Definition at line 4709 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
protected |
Definition at line 4164 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), showThreadsObject(), and ILIAS\Repository\user().
ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1889 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
Referenced by renderPostContent(), renderSplitButton(), and viewThreadObject().
|
private |
Definition at line 5665 of file class.ilObjForumGUI.php.
References ILIAS\LTI\ToolProvider\$key, $message, ilObjectGUI\$ref_id, ilObjectGUI\$tpl, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), checkDraftAccess(), ilForumPostDraft\createDraftBackup(), ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ilForumPost\getDisplayUserId(), ilForumPost\getImportName(), ilModalGUI\getInstance(), ilForumDraftsHistory\getInstancesByDraftId(), ilForumPost\getMessage(), getModifiedReOnSubject(), getOrderByParam(), ilForumPost\getPosAuthorId(), getReplyEditForm(), ilForumPost\getUserAlias(), IL_CAL_DATETIME, iljQueryUtil\initjQuery(), ilModalGUI\initJS(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPost\isCensored(), ilForumPost\isOwner(), ILIAS\Repository\lng(), ilForum\prepareText(), retrieveDraftId(), retrieveRefId(), HTML_Template_IT\setVariable(), ilUtil\stripSlashes(), and ILIAS\Repository\user().
Referenced by editDraftObject(), and editThreadDraftObject().
|
protected |
Definition at line 5088 of file class.ilObjForumGUI.php.
References checkDraftAccess(), doHistoryCheck(), ilForumPostDraft\isAutoSavePostDraftAllowed(), retrieveDraftId(), and viewThreadObject().
|
protected |
ilPropertyFormGUI | null | $form |
Definition at line 4726 of file class.ilObjForumGUI.php.
References $modal_history, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), buildThreadForm(), ILIAS\Repository\ctrl(), doHistoryCheck(), ILIAS\Repository\int(), ilForumPostDraft\isSavePostDraftAllowed(), ILIAS\Repository\lng(), ilForumPostDraft\newInstanceByDraftId(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by updateThreadDraftObject().
ilObjForumGUI::editThreadObject | ( | int | $threadId, |
ilPropertyFormGUI | $form = null |
||
) |
Definition at line 639 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ensureThreadBelongsToForum(), getThreadEditingForm(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by performThreadsActionObject(), and updateThreadObject().
|
protected |
Definition at line 4144 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), showThreadsObject(), and ILIAS\Repository\user().
ilObjForumGUI::ensureThreadBelongsToForum | ( | int | $objId, |
ilForumTopic | $thread | ||
) |
Definition at line 237 of file class.ilObjForumGUI.php.
References ilForumTopic\getForumId(), ILIAS\Repository\lng(), and ilObjForum\lookupForumIdByObjId().
Referenced by confirmMergeThreadsObject(), deletePostingObject(), deliverZipFileObject(), editThreadObject(), getQuotationHTMLAsynchObject(), getSafePostCommands(), handleCensorship(), markPostReadObject(), markPostUnreadObject(), moveThreadsObject(), performDeleteThreadsObject(), performMergeThreadsObject(), performMoveThreadsObject(), performPostActivationObject(), performThreadsActionObject(), savePostObject(), saveThreadSortingObject(), toggleStickinessObject(), toggleThreadNotificationObject(), updateThreadObject(), and viewThreadObject().
|
protected |
Definition at line 194 of file class.ilObjForumGUI.php.
References $i, ILIAS\Repository\ctrl(), ilForumPost\getId(), and getOrderByParam().
Referenced by viewThreadObject().
|
private |
null|array<string,mixed> | $predefined_values |
ilCtrlException |
Definition at line 4409 of file class.ilObjForumGUI.php.
References ilObjectGUI\$lng, $uiFactory, and ILIAS\Repository\ctrl().
Referenced by initHeaderAction(), and saveUserNotificationSettingsObject().
ilObjForumGUI::getActivationFormHTML | ( | ) |
Definition at line 1981 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), getOrderByParam(), and ILIAS\Repository\lng().
Referenced by viewThreadObject().
ilObjForumGUI::getContent | ( | ) |
Definition at line 745 of file class.ilObjForumGUI.php.
References $GLOBALS, ilObjectGUI\$ref_id, ilChangeEvent\_recordReadEvent(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilForumProperties\FORUM_OVERVIEW_WITH_NEW_POSTS, ilLinkButton\getInstance(), ilForumPostDraft\getThreadDraftData(), hideToolbar(), initStyleSheets(), ilForumPostDraft\isSavePostDraftAllowed(), ILIAS\Repository\lng(), ilObjForum\lookupForumIdByObjId(), ILIAS\Repository\object(), ilForumPageCommandForwarder\PRESENTATION_MODE_PRESENTATION, retrieveRefId(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
|
protected |
Definition at line 611 of file class.ilObjForumGUI.php.
|
private |
Definition at line 2866 of file class.ilObjForumGUI.php.
References $forumObjects, and ilObjectGUI\$object.
Referenced by deletePostingObject(), getQuotationHTMLAsynchObject(), handleCensorship(), initReplyEditForm(), publishDraftObject(), saveAsDraftObject(), savePostObject(), updateDraftObject(), and viewThreadObject().
|
private |
Definition at line 1820 of file class.ilObjForumGUI.php.
Referenced by viewThreadObject().
|
private |
Definition at line 3419 of file class.ilObjForumGUI.php.
References ILIAS\Repository\lng().
Referenced by doHistoryCheck().
|
private |
Definition at line 5916 of file class.ilObjForumGUI.php.
References ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and ilUtil\stripSlashes().
Referenced by createTopLevelPostObject(), doHistoryCheck(), ensureValidPageForCurrentPosting(), getActivationFormHTML(), initReplyEditForm(), renderPostContent(), renderSplitButton(), and viewThreadObject().
ilObjForumGUI::getQuotationHTMLAsynchObject | ( | ) |
Definition at line 2832 of file class.ilObjForumGUI.php.
References ilObjectGUI\$html, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), ensureThreadBelongsToForum(), getForumObjects(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
private |
Definition at line 2305 of file class.ilObjForumGUI.php.
References $replyEditForm, and initReplyEditForm().
Referenced by autosaveDraftAsyncObject(), doHistoryCheck(), publishDraftObject(), quotePostObject(), renderDraftContent(), saveAsDraftObject(), savePostObject(), updateDraftObject(), and viewThreadObject().
|
private |
Definition at line 5897 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\UI\examples\MessageBox\Info\info(), and ILIAS\Repository\lng().
Referenced by viewThreadObject().
ilObjForumGUI::getSafePostCommands | ( | ) |
This method must return a list of safe POST commands.
Safe post commands returned by this method will no longer be CSRF protected and will NOT be appended by an ilCtrlToken.
Implements ilCtrlSecurityInterface.
Definition at line 296 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ilObjectGUI\$object, ilObjectGUI\$ref_id, ilObjectGUI\$user, ilLink\_getLink(), ILIAS\Repository\access(), ilObjectGUI\addHeaderAction(), ilNavigationHistory\addItem(), ilLearningProgressAccess\checkAccess(), ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ilObjectGUI\executeCommand(), ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilRating\getOverallRatingForObject(), ilObjStyleSheet\getSyntaxStylePath(), getTableCommands(), ILIAS\FileDelivery\http(), infoScreen(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ILIAS\Repository\object(), ilObjectGUI\prepareOutput(), retrieveRefId(), setSideBlocks(), ilForumSettingsGUI\settingsTabs(), showThreadsObject(), and ILIAS\Repository\user().
ilObjForumGUI::getSubTabs | ( | $subtab = 'showThreads' | ) |
Definition at line 720 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
Referenced by showThreadsObject(), and sortThreadsObject().
|
private |
Definition at line 579 of file class.ilObjForumGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by getSafePostCommands().
|
protected |
Definition at line 1336 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ilLearningProgressAccess\checkAccess(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), and ILIAS\Repository\settings().
|
private |
Definition at line 621 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by editThreadObject(), and updateThreadObject().
ilObjForumGUI::getUnsafeGetCommands | ( | ) |
This method must return a list of unsafe GET commands.
Unsafe get commands returned by this method will now be CSRF protected, which means an ilCtrlToken is appended each time a link-target is generated to the class implementing this interface with a command from that list.
Tokens will be validated in
Implements ilCtrlSecurityInterface.
Definition at line 287 of file class.ilObjForumGUI.php.
|
private |
Definition at line 1830 of file class.ilObjForumGUI.php.
References $message, ensureThreadBelongsToForum(), getForumObjects(), handleFormInput(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), and viewThreadObject().
Referenced by addCensorshipObject(), and revokeCensorshipObject().
ilObjForumGUI::handleFormInput | ( | string | $a_text, |
bool | $a_stripslashes = true |
||
) |
Definition at line 4211 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Referenced by autosaveDraftAsyncObject(), autosaveThreadDraftAsyncObject(), createEmptyThread(), createThread(), handleCensorship(), publishDraftObject(), saveAsDraftObject(), savePostObject(), saveThreadAsDraftObject(), updateDraftObject(), and updateThreadDraftObject().
|
private |
Definition at line 2787 of file class.ilObjForumGUI.php.
References $hideToolbar.
Referenced by getContent(), moveThreadsObject(), and performDeleteThreadsObject().
|
protected |
Definition at line 4228 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by getSafePostCommands(), and infoScreenObject().
ilObjForumGUI::infoScreenObject | ( | ) |
Definition at line 598 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), and infoScreen().
|
protected |
Definition at line 605 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4277 of file class.ilObjForumGUI.php.
References ilObjectGUI\$id, ilObjectGUI\$ref_id, ILIAS\Repository\access(), ilForumNotificationEvents\CENSORED, ILIAS\Repository\ctrl(), eventsFormBuilder(), ilUtil\getImagePath(), isParentObjectCrsOrGrp(), isUserAllowedToDeactivateNotification(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilForumNotificationEvents\POST_DELETED, retrieveRefId(), ILIAS\Repository\settings(), ilForumNotificationEvents\THREAD_DELETED, ilForumNotificationEvents\UNCENSORED, ilForumNotificationEvents\UPDATED, ILIAS\Repository\user(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
|
private |
Definition at line 2042 of file class.ilObjForumGUI.php.
References ilObjAdvancedEditing\_getRichTextEditorUserState(), ilRTE\_getRTEClassname(), ilObjAdvancedEditing\_setRichTextEditorUserState(), ilCheckboxGroupInputGUI\addOption(), ILIAS\Repository\ctrl(), decorateWithAutosave(), getForumObjects(), ilHtmlPurifierFactory\getInstanceByType(), getOrderByParam(), ILIAS\FileDelivery\http(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), isTopLevelReplyCommand(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ilForumPostDraft\lookupAutosaveInterval(), ILIAS\Repository\rbac(), ILIAS\Repository\refinery(), retrieveDraftId(), ilFileWizardInputGUI\setFilenames(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ILIAS\Repository\user().
Referenced by getReplyEditForm().
|
protected |
Definition at line 137 of file class.ilObjForumGUI.php.
References ilSession\get(), ILIAS\Repository\int(), and ilSession\set().
Referenced by __construct().
|
protected |
Definition at line 864 of file class.ilObjForumGUI.php.
References ilObjStyleSheet\getSyntaxStylePath().
Referenced by getContent().
ilObjForumGUI::isParentObjectCrsOrGrp | ( | ) |
Definition at line 4476 of file class.ilObjForumGUI.php.
References ILIAS\Repository\object().
Referenced by initHeaderAction(), and isUserAllowedToDeactivateNotification().
|
private |
Definition at line 278 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl().
Referenced by initReplyEditForm(), and viewThreadObject().
ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) |
Definition at line 4455 of file class.ilObjForumGUI.php.
References ilObjectGUI\$ref_id, isParentObjectCrsOrGrp(), retrieveRefId(), and ILIAS\Repository\user().
Referenced by initHeaderAction().
|
private |
Definition at line 3748 of file class.ilObjForumGUI.php.
Referenced by buildMinimalThreadForm(), buildThreadForm(), createEmptyThread(), createThread(), initReplyEditForm(), saveAsDraftObject(), savePostObject(), saveThreadAsDraftObject(), updateDraftObject(), and updateThreadDraftObject().
ilObjForumGUI::markAllReadObject | ( | ) |
Definition at line 695 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\lng(), showThreadsObject(), and ILIAS\Repository\user().
|
protected |
Definition at line 4257 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
|
protected |
Definition at line 4243 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\user(), and viewThreadObject().
ilObjForumGUI::mergeThreadsObject | ( | ) |
Definition at line 4510 of file class.ilObjForumGUI.php.
References $is_moderator, ilForum\_lookupObjIdForForumId(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilForumProperties\FORUM_OVERVIEW_WITH_NEW_POSTS, ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and showThreadsObject().
Referenced by confirmMergeThreadsObject(), and performThreadsActionObject().
ilObjForumGUI::moveThreadsObject | ( | ) |
Definition at line 3665 of file class.ilObjForumGUI.php.
References $is_moderator, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ilSession\get(), hideToolbar(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().
Referenced by performMoveThreadsObject(), and performThreadsActionObject().
ilObjForumGUI::performDeleteThreadsObject | ( | ) |
Definition at line 1602 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), hideToolbar(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and retrieveThreadIds().
ilObjForumGUI::performMergeThreadsObject | ( | ) |
Definition at line 4639 of file class.ilObjForumGUI.php.
References Vendor\Package\$e, ILIAS\Repository\access(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and showThreadsObject().
ilObjForumGUI::performMoveThreadsObject | ( | ) |
Definition at line 3600 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ilSession\get(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ILIAS\Repository\lng(), moveThreadsObject(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), and ilSession\set().
ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1740 of file class.ilObjForumGUI.php.
References $GLOBALS, $objCurrentPost, ILIAS\Repository\access(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and viewThreadObject().
ilObjForumGUI::performThreadsActionObject | ( | ) |
Definition at line 3479 of file class.ilObjForumGUI.php.
References $i, $message, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), editThreadObject(), ensureThreadBelongsToForum(), ilObjectGUI\executeCommand(), ILIAS\Repository\lng(), mergeThreadsObject(), moveThreadsObject(), ILIAS\Repository\object(), retrieveThreadIds(), ilSession\set(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
ilObjForumGUI::prepareFormOutput | ( | string | $a_text | ) |
Definition at line 4221 of file class.ilObjForumGUI.php.
References ilLegacyFormElementsUtil\prepareFormOutput().
ilObjForumGUI::publishDraftObject | ( | bool | $use_replyform = true | ) |
Definition at line 2358 of file class.ilObjForumGUI.php.
References $GLOBALS, $message, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilFileDataForum\delete(), ilSession\get(), getForumObjects(), getReplyEditForm(), handleFormInput(), ilForumPostDraft\isSavePostDraftAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\object(), retrieveDraftId(), retrieveThrPk(), ilForumUtil\saveMediaObjects(), ilSession\set(), ilFileDataForum\storeUploadedFile(), ILIAS\Repository\user(), and viewThreadObject().
Referenced by publishSelectedDraftObject().
ilObjForumGUI::publishSelectedDraftObject | ( | ) |
Definition at line 2350 of file class.ilObjForumGUI.php.
References publishDraftObject(), and retrieveDraftId().
|
protected |
Definition at line 4102 of file class.ilObjForumGUI.php.
References createThread(), ILIAS\Repository\int(), ilForumPostDraft\isSavePostDraftAllowed(), ILIAS\Repository\lng(), and ilForumPostDraft\newInstanceByDraftId().
ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 2797 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), getReplyEditForm(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and viewThreadObject().
|
protected |
ilTemplate | $tpl | |
string | $action | |
ilForumPost | $referencePosting | |
ilForumPostDraft[] | $drafts |
ilCtrlException | |
ilTemplateException |
Definition at line 881 of file class.ilObjForumGUI.php.
References $modal_history, ilObjectGUI\$ref_id, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, ILIAS\Repository\ctrl(), ilGlyphGUI\get(), ilForumPost\getDepth(), ilForumPost\getId(), ilLinkButton\getInstance(), getReplyEditForm(), ilForumPost\getThreadId(), ilForumPost\getUpdateUserId(), ILIAS\FileDelivery\http(), ilForumPost\isCensored(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ILIAS\Repository\refinery(), renderSplitButton(), retrieveDraftId(), retrieveRefId(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilForumProperties\VIEW_TREE.
Referenced by viewThreadObject().
|
protected |
Definition at line 1075 of file class.ilObjForumGUI.php.
References ilObjectGUI\$object, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, ILIAS\Repository\ctrl(), displayConfirmPostActivation(), ilGlyphGUI\get(), ilForumPost\getCensorshipComment(), ilForumPost\getChangeDate(), ilForumPost\getCreateDate(), ilForumPost\getDepth(), ilForumPost\getDisplayUserId(), ilFileDataForum\getFilesOfPost(), ilForumPost\getId(), ilUtil\getImagePath(), ilForumPost\getImportName(), ilLinkButton\getInstance(), ilForumPost\getMessage(), getOrderByParam(), ilForumPost\getPosAuthorId(), ilForumPost\getSubject(), ilForumPost\getThreadId(), ilForumPost\getUpdateUserId(), ilForumPost\getUserAlias(), ilForumPost\isActivated(), ilForumPost\isAuthorModerator(), ilForumPost\isCensored(), ilForumPost\isOwner(), ilForumPost\isPostRead(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), renderSplitButton(), ilForumPost\setChangeDate(), ilTemplate\setCurrentBlock(), ilForumPost\setMessage(), HTML_Template_IT\setVariable(), ilUtil\switchColor(), ILIAS\Repository\user(), and ilForumProperties\VIEW_TREE.
Referenced by viewThreadObject().
|
private |
Definition at line 3397 of file class.ilObjForumGUI.php.
References $sortationOptions, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by viewThreadObject().
|
private |
Definition at line 5371 of file class.ilObjForumGUI.php.
References $i, ilObjectGUI\$id, $url, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), displayConfirmPostActivation(), ilForumPost\getForumId(), ilForumPost\getId(), ilLinkButton\getInstance(), ilSplitButtonGUI\getInstance(), getOrderByParam(), ilForumPost\getThreadId(), ilForumPost\hasReplies(), ilForumPost\isActivated(), ilForumPost\isCensored(), ilForumPost\isOwner(), ilForumPost\isPostRead(), ILIAS\Repository\lng(), ILIAS\Repository\object(), retrieveDraftId(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), ILIAS\Repository\user(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
Referenced by renderDraftContent(), and renderPostContent().
|
private |
Definition at line 3366 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), and ilForumProperties\VIEW_DATE_ASC.
Referenced by viewThreadObject().
ilObjForumGUI::resetLimitedViewObject | ( | ) |
Definition at line 2913 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 4769 of file class.ilObjForumGUI.php.
References ilForumPostDraft\createDraftBackup(), ILIAS\Repository\ctrl(), and ILIAS\Repository\int().
|
private |
Definition at line 177 of file class.ilObjForumGUI.php.
References ILIAS\FileDelivery\http().
Referenced by autosaveDraftAsyncObject(), autosaveThreadDraftAsyncObject(), cancelDraftObject(), createTopLevelPostObject(), decorateWithAutosave(), deleteSelectedDraft(), doHistoryCheck(), editDraftObject(), initReplyEditForm(), publishDraftObject(), publishSelectedDraftObject(), renderDraftContent(), renderSplitButton(), and updateDraftObject().
|
private |
Definition at line 154 of file class.ilObjForumGUI.php.
References ILIAS\FileDelivery\http().
Referenced by __construct(), confirmDeleteThreadDraftsObject(), deleteSelectedDraft(), doHistoryCheck(), getContent(), getSafePostCommands(), initHeaderAction(), isUserAllowedToDeactivateNotification(), renderDraftContent(), saveAsDraftObject(), savePostObject(), showUserObject(), updateDraftObject(), and viewThreadObject().
|
private |
Definition at line 164 of file class.ilObjForumGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by performDeleteThreadsObject(), and performThreadsActionObject().
|
private |
Definition at line 159 of file class.ilObjForumGUI.php.
References ILIAS\FileDelivery\http().
Referenced by __construct(), publishDraftObject(), saveAsDraftObject(), updateDraftObject(), and viewThreadObject().
|
private |
Definition at line 1810 of file class.ilObjForumGUI.php.
References handleCensorship().
ilObjForumGUI::saveAsDraftObject | ( | ) |
Definition at line 4957 of file class.ilObjForumGUI.php.
References $GLOBALS, ilObjectGUI\$ref_id, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilSession\get(), getForumObjects(), ilForumUtil\getPublicUserAlias(), getReplyEditForm(), handleFormInput(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), retrieveRefId(), retrieveThrPk(), ilSession\set(), ilFileDataForumDrafts\storeUploadedFile(), ILIAS\Repository\user(), and viewThreadObject().
Referenced by saveTopLevelDraftObject().
ilObjForumGUI::savePostObject | ( | ) |
Definition at line 2516 of file class.ilObjForumGUI.php.
References $GLOBALS, $message, $objCurrentPost, $objCurrentTopic, ilObjectGUI\$ref_id, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilForumPostDraft\deleteDraft(), ensureThreadBelongsToForum(), ilNewsItem\getFirstNewsIdForContext(), getForumObjects(), getReplyEditForm(), handleFormInput(), ILIAS\FileDelivery\http(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ilForumUtil\moveMediaObjects(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), retrieveRefId(), ilFileDataForum\storeUploadedFile(), ILIAS\Repository\user(), and viewThreadObject().
Referenced by saveTopLevelPostObject().
|
protected |
Definition at line 4791 of file class.ilObjForumGUI.php.
References $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), buildThreadForm(), ILIAS\Repository\ctrl(), ilForumUtil\getPublicUserAlias(), handleFormInput(), ILIAS\Repository\int(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), ILIAS\Repository\object(), ilFileDataForumDrafts\unlinkFilesByMD5Filenames(), and ILIAS\Repository\user().
|
protected |
Definition at line 4484 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
ilObjForumGUI::saveTopLevelDraftObject | ( | ) |
Definition at line 4952 of file class.ilObjForumGUI.php.
References saveAsDraftObject().
ilObjForumGUI::saveTopLevelPostObject | ( | ) |
Definition at line 2345 of file class.ilObjForumGUI.php.
References savePostObject().
ilObjForumGUI::saveUserNotificationSettingsObject | ( | ) |
Definition at line 4423 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ilForumNotificationEvents\DEACTIVATED, eventsFormBuilder(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilForumNotification\setUserId(), and ILIAS\Repository\user().
|
protected |
Definition at line 1313 of file class.ilObjForumGUI.php.
References ILIAS\Repository\int(), and viewThreadObject().
ilObjForumGUI::setColumnSettings | ( | ilColumnGUI | $column_gui | ) |
Definition at line 4184 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\lng(), ilColumnGUI\setBlockProperty(), and ilColumnGUI\setRepositoryMode().
ilObjForumGUI::setDisplayConfirmPostActivation | ( | bool | $status = false | ) |
Definition at line 1884 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
|
protected |
Definition at line 4681 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ilObjectGUI\getRightColumnHTML(), ilRepositoryObjectSearchGUI\getSearchBlockHTML(), and ILIAS\Repository\lng().
Referenced by getSafePostCommands(), showThreadsObject(), and sortThreadsObject().
ilObjForumGUI::showStatisticsObject | ( | ) |
Definition at line 1477 of file class.ilObjForumGUI.php.
References ilObjectGUI\$data, ILIAS\Repository\access(), ilLearningProgressAccess\checkAccess(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
ilObjForumGUI::showThreadsObject | ( | ) |
Definition at line 706 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Referenced by confirmDeleteThreadDraftsObject(), confirmMergeThreadsObject(), disableForumNotificationObject(), enableForumNotificationObject(), getSafePostCommands(), markAllReadObject(), mergeThreadsObject(), performMergeThreadsObject(), and updateThreadObject().
ilObjForumGUI::showUserObject | ( | ) |
Definition at line 3427 of file class.ilObjForumGUI.php.
References ilObjectGUI\$ref_id, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObjectFactory\getInstanceByRefId(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), retrieveRefId(), and ilUtil\stripSlashes().
ilObjForumGUI::sortThreadsObject | ( | ) |
Definition at line 713 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
|
protected |
Definition at line 182 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ilForumTopic\getPostRootNode(), and ilTreeExplorerGUI\toggleExplorerNodeState().
|
protected |
Definition at line 1913 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ILIAS\Repository\access(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and viewThreadObject().
|
protected |
Definition at line 1894 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ILIAS\Repository\access(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\user(), and viewThreadObject().
|
protected |
Definition at line 616 of file class.ilObjForumGUI.php.
ilObjForumGUI::updateDraftObject | ( | ) |
Definition at line 5100 of file class.ilObjForumGUI.php.
References $GLOBALS, ilObjectGUI\$ref_id, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), ILIAS\Repository\access(), checkDraftAccess(), ILIAS\Repository\ctrl(), ilSession\get(), getForumObjects(), ilForumUtil\getPublicUserAlias(), getReplyEditForm(), handleFormInput(), ILIAS\FileDelivery\http(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), retrieveDraftId(), retrieveRefId(), retrieveThrPk(), ilForumUtil\saveMediaObjects(), ilSession\set(), ilForumPostDraft\setPostSubject(), ilFileDataForumDrafts\unlinkFilesByMD5Filenames(), ILIAS\Repository\user(), and viewThreadObject().
|
protected |
Definition at line 4878 of file class.ilObjForumGUI.php.
References $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), buildThreadForm(), checkDraftAccess(), ILIAS\Repository\ctrl(), editThreadDraftObject(), ilForumUtil\getPublicUserAlias(), handleFormInput(), ILIAS\Repository\int(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), ILIAS\Repository\object(), ilFileDataForumDrafts\unlinkFilesByMD5Filenames(), and ILIAS\Repository\user().
ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 664 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ILIAS\Repository\access(), editThreadObject(), ensureThreadBelongsToForum(), getThreadEditingForm(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and showThreadsObject().
ilObjForumGUI::viewThreadObject | ( | ) |
Definition at line 2919 of file class.ilObjForumGUI.php.
References Vendor\Package\$e, $i, $mobs, $objCurrentTopic, $post, ilObjectGUI\$ref_id, $selectedSorting, ilObjectGUI\$toolbar, ilObjMediaObject\_exists(), ilLink\_getLink(), ilObjMediaObject\_getMobsOfObject(), ilChangeEvent\_recordReadEvent(), ilObjMediaObject\_removeUsage(), ILIAS\Repository\access(), ilObjectGUI\addHeaderAction(), ilNavigationHistory\addItem(), ILIAS\Repository\ctrl(), ilFileDataForumDrafts\deliverFile(), displayConfirmPostActivation(), ensureThreadBelongsToForum(), ensureValidPageForCurrentPosting(), ForumGlobalScreenToolsProvider\FORUM_BASE_CONTROLLER, ForumGlobalScreenToolsProvider\FORUM_THEAD, ForumGlobalScreenToolsProvider\FORUM_THREAD_ROOT, ilSession\get(), getActivationFormHTML(), ilObjectGUI\getCreationMode(), getForumObjects(), ilForumPost\getId(), ilLinkButton\getInstance(), ilSplitButtonGUI\getInstance(), getModalActions(), getOrderByParam(), getReplyEditForm(), getResetLimitedViewInfo(), ilForumPostDraft\getSortedDrafts(), ILIAS\Repository\globalScreen(), ILIAS\Repository\int(), ilForumPostDraft\isSavePostDraftAllowed(), isTopLevelReplyCommand(), ILIAS\Repository\lng(), ILIAS\Repository\locator(), ILIAS\Repository\object(), ForumGlobalScreenToolsProvider\PAGE, ForumGlobalScreenToolsProvider\REF_ID, renderDraftContent(), renderPostContent(), renderSortationControl(), renderViewModeControl(), retrieveRefId(), retrieveThrPk(), ilSession\set(), ForumGlobalScreenToolsProvider\SHOW_FORUM_THREADS_TOOL, ilUtil\stripSlashes(), ILIAS\Repository\user(), ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
Referenced by askForPostActivationObject(), cancelDraftObject(), cancelPostObject(), createTopLevelPostObject(), editDraftObject(), handleCensorship(), markPostUnreadObject(), performPostActivationObject(), publishDraftObject(), quotePostObject(), saveAsDraftObject(), savePostObject(), selectPostObject(), toggleStickinessObject(), toggleThreadNotificationObject(), and updateDraftObject().
|
private |
Definition at line 63 of file class.ilObjForumGUI.php.
Definition at line 75 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 76 of file class.ilObjForumGUI.php.
|
private |
Definition at line 54 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
|
private |
Definition at line 64 of file class.ilObjForumGUI.php.
|
private |
Definition at line 62 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
|
private |
Definition at line 49 of file class.ilObjForumGUI.php.
|
private |
Definition at line 57 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
|
private |
Definition at line 59 of file class.ilObjForumGUI.php.
|
private |
Definition at line 58 of file class.ilObjForumGUI.php.
ilHelpGUI ilObjForumGUI::$ilHelp |
Definition at line 71 of file class.ilObjForumGUI.php.
ilNavigationHistory ilObjForumGUI::$ilNavigationHistory |
Definition at line 65 of file class.ilObjForumGUI.php.
ilObjectDataCache ilObjForumGUI::$ilObjDataCache |
Definition at line 69 of file class.ilObjForumGUI.php.
|
private |
Definition at line 55 of file class.ilObjForumGUI.php.
Referenced by __construct(), createEmptyThread(), createThread(), mergeThreadsObject(), and moveThreadsObject().
string ilObjForumGUI::$modal_history = '' |
Definition at line 50 of file class.ilObjForumGUI.php.
Referenced by editThreadDraftObject(), and renderDraftContent().
|
private |
Definition at line 67 of file class.ilObjForumGUI.php.
|
private |
Definition at line 53 of file class.ilObjForumGUI.php.
Referenced by performPostActivationObject(), and savePostObject().
|
private |
Definition at line 52 of file class.ilObjForumGUI.php.
Referenced by getSafePostCommands(), savePostObject(), toggleExplorerNodeStateObject(), toggleStickinessObject(), toggleThreadNotificationObject(), updateThreadObject(), and viewThreadObject().
ilForumProperties ilObjForumGUI::$objProperties |
Definition at line 51 of file class.ilObjForumGUI.php.
ILIAS DI RBACServices ilObjForumGUI::$rbac |
Definition at line 70 of file class.ilObjForumGUI.php.
|
private |
Definition at line 56 of file class.ilObjForumGUI.php.
Referenced by getReplyEditForm().
|
private |
Definition at line 66 of file class.ilObjForumGUI.php.
|
private |
Definition at line 74 of file class.ilObjForumGUI.php.
|
private |
Definition at line 73 of file class.ilObjForumGUI.php.
Referenced by checkUsersViewMode(), and viewThreadObject().
|
private |
Definition at line 44 of file class.ilObjForumGUI.php.
Referenced by renderSortationControl().
|
private |
Definition at line 60 of file class.ilObjForumGUI.php.
Referenced by eventsFormBuilder().
|
private |
Definition at line 61 of file class.ilObjForumGUI.php.
|
private |
Definition at line 39 of file class.ilObjForumGUI.php.