ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
ilObjForumGUI: ilPermissionGUI, ilForumExportGUI, ilInfoScreenGUI ilObjForumGUI: ilColumnGUI, ilPublicUserProfileGUI, ilForumModeratorsGUI, ilRepositoryObjectSearchGUI ilObjForumGUI: ilObjectCopyGUI, ilExportGUI, ilCommonActionDispatcherGUI, ilRatingGUI ilObjForumGUI: ilForumSettingsGUI, ilContainerNewsSettingsGUI, ilLearningProgressGUI, ilForumPageGUI ilObjForumGUI: ilObjectContentStyleSettingsGUI 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 () | |
updateThreadObject () | |
markAllReadObject () | |
showThreadsObject () | |
getContent () | |
showStatisticsObject () | |
performDeleteThreadsObject () | |
performPostActivationObject () | |
askForPostActivationObject () | |
setDisplayConfirmPostActivation (bool $status=false) | |
displayConfirmPostActivation () | |
cancelPostObject () | |
cancelDraftObject () | |
addActivationFormModal (ilForumPost $node) | |
createTopLevelPostObject () | |
saveTopLevelPostObject () | |
publishSelectedDraftObject () | |
publishDraftObject (bool $use_replyform=true) | |
savePostObject () | |
quotePostObject () | |
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 () | |
mergeThreadsObject () | |
confirmMergeThreadsObject () | |
performMergeThreadsObject () | |
saveTopLevelDraftObject () | |
saveAsDraftObject () | |
updateDraftObject () | |
![]() | |
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] does belong to the parent 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... | |
cancelObject () | |
cancel action and go back to previous page More... | |
createObject () | |
create new object form More... | |
editAvailabilityPeriodObject () | |
saveAvailabilityPeriodObject () | |
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) | |
addToDeskObject () | |
removeFromDeskObject () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
![]() | |
addToDeskObject () | |
removeFromDeskObject () | |
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) |
Data Fields | |
string | $modal_history = '' |
ilForumProperties | $objProperties |
ilNavigationHistory | $ilNavigationHistory |
ilObjectDataCache | $ilObjDataCache |
ILIAS DI RBACServices | $rbac |
ilHelpGUI | $ilHelp |
![]() | |
const | ADMIN_MODE_NONE = "" |
const | ADMIN_MODE_SETTINGS = "settings" |
const | ADMIN_MODE_REPOSITORY = "repository" |
const | UPLOAD_TYPE_LOCAL = 1 |
const | UPLOAD_TYPE_UPLOAD_DIRECTORY = 2 |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
const | SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED] |
![]() | |
const | OBJ_TYPE = 'frm' |
const | UI_TAB_ID_INFO = 'info_short' |
const | UI_TAB_ID_SETTINGS = 'settings' |
const | UI_TAB_ID_MODERATORS = 'frm_moderators' |
const | UI_TAB_ID_THREADS = 'forums_threads' |
const | UI_TAB_ID_STATS = 'frm_statistics' |
const | UI_TAB_ID_EXPORT = 'export' |
const | UI_TAB_ID_PERMISSIONS = 'perm_settings' |
const | UI_SUB_TAB_ID_BASIC_SETTINGS = 'general' |
const | UI_SUB_TAB_ID_NOTIFICATIONS = 'notifications' |
const | UI_SUB_TAB_ID_NEWS = 'cont_news_settings' |
const | UI_SUB_TAB_ID_STYLE = 'cont_style' |
const | UI_CMD_COPAGE_DOWNLOAD_FILE = 'downloadFile' |
const | UI_CMD_COPAGE_DISPLAY_FULLSCREEN = 'displayMediaFullscreen' |
const | UI_CMD_COPAGE_DOWNLOAD_PARAGRAPH = 'download_paragraph' |
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) | |
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) | |
setSideBlocks () | |
deliverDraftZipFileObject () | |
deliverZipFileObject () | |
editThreadDraftObject (?ilPropertyFormGUI $form=null) | |
restoreFromHistoryObject () | |
saveThreadAsDraftObject () | |
updateThreadDraftObject () | |
editDraftObject () | |
deleteMobsOfDraft (int $draft_id, string $message) | |
deleteSelectedDraft () | |
autosaveDraftAsyncObject () | |
autosaveThreadDraftAsyncObject () | |
![]() | |
getObjectService () | |
assignObject () | |
setTitleAndDescription () | |
createActionDispatcherGUI () | |
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... | |
getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form) | |
getTitleForCreationFormPage () | |
getCreationFormTitle () | |
initCreateForm (string $new_type) | |
didacticTemplatesToForm () | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
retrieveAdditionalDidacticTemplateOptions () | |
addAdoptContentLinkToToolbar () | |
addImportButtonToToolbar () | |
addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar) | |
parseDidacticTemplateVar (string $var, string $type) | |
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... | |
routeImportCmdObject () | |
importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir) | |
deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir) | |
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... | |
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... | |
getCreatableObjectTypes () | |
buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,) | |
buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes) | |
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 |
Psr Http Message ServerRequestInterface | $httpRequest |
Factory | $uiFactory |
Renderer | $uiRenderer |
array | $forumObjects = null |
string | $confirmation_gui_html = '' |
ilForumSettingsGUI | $forum_settings_gui |
string | $requestAction |
array | $modalActionsContainer = [] |
Factory | $factory |
Renderer | $renderer |
int | $selectedSorting |
ilForumThreadSettingsSessionStorage | $selected_post_storage |
array | $modal_collection = [] |
readonly bool | $in_page_editor_style_context |
ForumThreadTableSessionStorage | $forum_thread_table_session_storage |
ilObjForumGUI: ilPermissionGUI, ilForumExportGUI, ilInfoScreenGUI ilObjForumGUI: ilColumnGUI, ilPublicUserProfileGUI, ilForumModeratorsGUI, ilRepositoryObjectSearchGUI ilObjForumGUI: ilObjectCopyGUI, ilExportGUI, ilCommonActionDispatcherGUI, ilRatingGUI ilObjForumGUI: ilForumSettingsGUI, ilContainerNewsSettingsGUI, ilLearningProgressGUI, ilForumPageGUI ilObjForumGUI: ilObjectContentStyleSettingsGUI
Definition at line 38 of file class.ilObjForumGUI.php.
ilObjForumGUI::__construct | ( | $data, | |
int | $id = 0 , |
||
bool | $call_by_reference = true , |
||
bool | $prepare_output = true |
||
) |
Definition at line 85 of file class.ilObjForumGUI.php.
References ilObjectGUI\$call_by_reference, ilObjectGUI\$data, $DIC, ilObjectGUI\$id, ilObjectGUI\$ref_id, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), factory(), ilForumProperties\getInstance(), ILIAS\Repository\globalScreen(), ILIAS\FileDelivery\http(), initSessionStorage(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\rbac(), renderer(), and retrieveThrPk().
|
static |
Definition at line 1744 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().
Referenced by ILIAS\StaticURL\Handler\LegacyGotoHandler\handle().
ilObjForumGUI::addActivationFormModal | ( | ilForumPost | $node | ) |
Definition at line 2214 of file class.ilObjForumGUI.php.
References ilObjectGUI\$id, $message, ILIAS\Repository\ctrl(), ilForumPost\getId(), getOrderByParam(), ilForumPost\getThreadId(), ILIAS\Repository\lng(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
Referenced by renderSplitButton().
|
private |
Definition at line 2050 of file class.ilObjForumGUI.php.
References handleCensorship().
|
private |
Definition at line 1018 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), factory(), ilForumPostDraft\getThreadDraftData(), ILIAS\Repository\lng(), ilObjForum\lookupForumIdByObjId(), ILIAS\Repository\object(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Referenced by getContent().
|
protected |
Definition at line 4242 of file class.ilObjForumGUI.php.
References createEmptyThread().
|
protected |
Definition at line 4302 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\locator(), and ILIAS\Repository\object().
|
protected |
Definition at line 4231 of file class.ilObjForumGUI.php.
References checkDraftAccess(), createThread(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumPostDraft\newInstanceByDraftId(), and retrieveDraftId().
|
protected |
ilObject | ilObjForum | $new_object |
Definition at line 1559 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ilObject\getRefId(), and ILIAS\Repository\lng().
ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 2104 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\lng(), setDisplayConfirmPostActivation(), and viewThreadObject().
|
protected |
Definition at line 5335 of file class.ilObjForumGUI.php.
References $message, ILIAS\Repository\access(), getReplyEditForm(), handleFormInput(), ILIAS\FileDelivery\http(), ilForumPostDraft\isSavePostDraftAllowed(), ilObjForum\lookupForumIdByRefId(), retrieveDraftId(), ilUtil\stripSlashes(), and ILIAS\Repository\user().
|
protected |
Definition at line 5365 of file class.ilObjForumGUI.php.
References $message, ILIAS\Repository\access(), buildThreadForm(), handleFormInput(), ILIAS\FileDelivery\http(), ilForumPostDraft\isSavePostDraftAllowed(), ilObjForum\lookupForumIdByRefId(), retrieveDraftId(), ilUtil\stripSlashes(), and ILIAS\Repository\user().
|
private |
Definition at line 3959 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 3927 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 2184 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), hasDraftAccess(), ilForumDraftsHistory\MEDIAOBJECT_TYPE, ilForumPostDraft\MEDIAOBJECT_TYPE, ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), retrieveDraftId(), and viewThreadObject().
ilObjForumGUI::cancelMoveThreadsObject | ( | ) |
Definition at line 3806 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), and ilSession\set().
ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 2170 of file class.ilObjForumGUI.php.
References hasDraftAccess(), ilForumPostDraft\newInstanceByDraftId(), retrieveDraftId(), and viewThreadObject().
|
private |
Definition at line 5672 of file class.ilObjForumGUI.php.
References hasDraftAccess(), ILIAS\Repository\lng(), and ilForumPostDraft\newInstanceByDraftId().
Referenced by addThreadObject(), deleteSelectedDraft(), deliverDraftZipFileObject(), doHistoryCheck(), editThreadDraftObject(), publishDraftObject(), publishThreadDraftObject(), restoreFromHistoryObject(), saveAsDraftObject(), saveThreadAsDraftObject(), updateDraftObject(), and updateThreadDraftObject().
ilObjForumGUI::checkUsersViewMode | ( | ) |
Definition at line 3070 of file class.ilObjForumGUI.php.
References $selectedSorting, ilSession\get(), ilObjectGUI\getObject(), ILIAS\Repository\int(), null, ilSession\set(), ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
Referenced by getSafePostCommands().
|
protected |
Definition at line 1901 of file class.ilObjForumGUI.php.
References ilObject\_getIcon(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilForumPostDraft\getDraftInstancesByUserId(), ilObject\getId(), ilForumPostDraft\getThreadDraftData(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilObjForum\lookupForumIdByObjId(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), showThreadsObject(), and ILIAS\Repository\user().
ilObjForumGUI::confirmMergeThreadsObject | ( | ) |
Definition at line 4671 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.
Definition at line 4147 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.
Definition at line 4014 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(), ilForumPostDraft\getRCID(), handleFormInput(), ilForumPostDraft\isNotificationEnabled(), ilForumPostDraft\isPostNotificationEnabled(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilFileDataForum\storeUploadedFiles(), and ILIAS\Repository\user().
Referenced by addThreadObject(), and publishThreadDraftObject().
|
private |
Definition at line 3986 of file class.ilObjForumGUI.php.
References ilObjectGUI\$tpl, ILIAS\Repository\access(), buildMinimalThreadForm(), buildThreadForm(), ilAccordionGUI\FIRST_OPEN, ILIAS\UICore\GlobalTemplate\get(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), and ILIAS\UICore\GlobalTemplate\setVariable().
ilObjForumGUI::createTopLevelPostObject | ( | ) |
Definition at line 2561 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), getOrderByParam(), ilForumPostDraft\isSavePostDraftAllowed(), null, retrieveDraftId(), ILIAS\Repository\user(), and viewThreadObject().
|
private |
Definition at line 225 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 5287 of file class.ilObjForumGUI.php.
References ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), and ilObjMediaObject\_removeUsage().
Referenced by deleteSelectedDraft(), and deleteThreadDraftsObject().
|
private |
Definition at line 2040 of file class.ilObjForumGUI.php.
References deleteSelectedDraft().
|
private |
Definition at line 2002 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 5307 of file class.ilObjForumGUI.php.
References $GLOBALS, checkDraftAccess(), ILIAS\Repository\ctrl(), ilFileDataForumDrafts\delete(), deleteMobsOfDraft(), ILIAS\Repository\lng(), ILIAS\Repository\object(), retrieveDraftId(), and ILIAS\Repository\user().
Referenced by deletePostingDraftObject().
|
protected |
Definition at line 3885 of file class.ilObjForumGUI.php.
References $GLOBALS, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), deleteMobsOfDraft(), ilForumPostDraft\getDraftInstancesByUserId(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
|
protected |
Definition at line 4787 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), checkDraftAccess(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilForumPostDraft\newInstanceByDraftId(), and retrieveDraftId().
|
protected |
Definition at line 4801 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
protected |
Definition at line 4267 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 2124 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
Referenced by renderPostContent(), and renderSplitButton().
|
private |
Definition at line 5691 of file class.ilObjForumGUI.php.
References ilObjectGUI\$id, $message, ilRTE\_replaceMediaObjectImageSrc(), ilAccordionGUI\ALL_CLOSED, checkDraftAccess(), ilForumPostDraft\createDraftBackup(), ILIAS\Repository\ctrl(), ilAccordionGUI\FIRST_OPEN, ilDatePresentation\formatDate(), ilForumDraftsHistory\getInstancesByDraftId(), IL_CAL_DATETIME, iljQueryUtil\initjQuery(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ILIAS\Repository\lng(), null, and ILIAS\UI\Implementation\Component\withAdditionalOnLoadCode().
Referenced by editDraftObject(), and editThreadDraftObject().
|
protected |
Definition at line 5161 of file class.ilObjForumGUI.php.
References doHistoryCheck(), retrieveDraftId(), and viewThreadObject().
|
private |
Definition at line 1099 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4815 of file class.ilObjForumGUI.php.
References $modal_history, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), buildThreadForm(), checkDraftAccess(), ILIAS\Repository\ctrl(), doHistoryCheck(), ILIAS\Repository\int(), ilForumPostDraft\isSavePostDraftAllowed(), ILIAS\Repository\lng(), ilForumPostDraft\newInstanceByDraftId(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by updateThreadDraftObject().
|
protected |
Definition at line 4247 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 217 of file class.ilObjForumGUI.php.
References ilForumTopic\getForumId(), ILIAS\Repository\lng(), and ilObjForum\lookupForumIdByObjId().
Referenced by confirmMergeThreadsObject(), deletePostingObject(), deliverZipFileObject(), getSafePostCommands(), handleCensorship(), markPostReadObject(), markPostUnreadObject(), moveThreadsObject(), performDeleteThreadsObject(), performMergeThreadsObject(), performMoveThreadsObject(), performPostActivationObject(), performThreadsActionObject(), saveAsDraftObject(), savePostObject(), toggleStickinessObject(), toggleThreadNotificationObject(), updateThreadObject(), and viewThreadObject().
|
protected |
Definition at line 174 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ilForumPost\getId(), and getOrderByParam().
Referenced by viewThreadObject().
|
private |
null|array<string,mixed> | $predefined_values |
ilCtrlException |
Definition at line 4531 of file class.ilObjForumGUI.php.
References ilObjectGUI\$lng, $uiFactory, and ILIAS\Repository\ctrl().
Referenced by initHeaderAction(), and saveUserNotificationSettingsObject().
|
private |
Definition at line 955 of file class.ilObjForumGUI.php.
References factory(), getEditTitleModal(), ilForumTopic\getId(), getLinkActionForThread(), getOpenCloseActionForThread(), getStickyActionForThread(), and ILIAS\Repository\lng().
Referenced by renderThreadOverview().
ilObjForumGUI::getContent | ( | ) |
Definition at line 674 of file class.ilObjForumGUI.php.
References ilChangeEvent\_recordReadEvent(), ILIAS\Repository\access(), addDraftButtonIfDraftsExists(), ILIAS\Repository\ctrl(), hideToolbar(), ilForumPostDraft\isSavePostDraftAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\object(), renderThreadOverview(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
|
protected |
Definition at line 617 of file class.ilObjForumGUI.php.
|
private |
Definition at line 998 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), factory(), ilForumTopic\getId(), ilForumTopic\getSubject(), ILIAS\Repository\lng(), null, ILIAS\Repository\refinery(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by getActionsForThreadOverview(), and updateThreadObject().
|
private |
Definition at line 3053 of file class.ilObjForumGUI.php.
References $forumObjects, ilObjectGUI\$object, and null.
Referenced by deletePostingObject(), handleCensorship(), initReplyEditForm(), publishDraftObject(), saveAsDraftObject(), savePostObject(), updateDraftObject(), and viewThreadObject().
|
private |
Definition at line 938 of file class.ilObjForumGUI.php.
References $url, ILIAS\Repository\ctrl(), and null.
Referenced by getActionsForThreadOverview(), getOpenCloseActionForThread(), getStickyActionForThread(), and renderThreadOverview().
|
private |
Definition at line 2055 of file class.ilObjForumGUI.php.
Referenced by viewThreadObject().
|
private |
Definition at line 3579 of file class.ilObjForumGUI.php.
References ILIAS\Repository\lng().
Referenced by renderPostingForm().
|
private |
Definition at line 1069 of file class.ilObjForumGUI.php.
References ilForumTopic\getId(), getLinkActionForThread(), ilForumTopic\isClosed(), and ILIAS\Repository\lng().
Referenced by getActionsForThreadOverview().
|
private |
Definition at line 5912 of file class.ilObjForumGUI.php.
References ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and ilUtil\stripSlashes().
Referenced by addActivationFormModal(), createTopLevelPostObject(), ensureValidPageForCurrentPosting(), initReplyEditForm(), renderPostContent(), renderPostingForm(), renderSplitButton(), and viewThreadObject().
|
private |
Definition at line 2552 of file class.ilObjForumGUI.php.
References $replyEditForm, initReplyEditForm(), and null.
Referenced by autosaveDraftAsyncObject(), publishDraftObject(), quotePostObject(), renderDraftContent(), renderPostingForm(), saveAsDraftObject(), savePostObject(), updateDraftObject(), and viewThreadObject().
|
private |
Definition at line 5893 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 274 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ilObjectGUI\$object, ilObjectGUI\$user, ILIAS\Repository\access(), ilObjectGUI\addHeaderAction(), ilNavigationHistory\addItem(), ilLearningProgressAccess\checkAccess(), ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), checkUsersViewMode(), 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, null, ILIAS\Repository\object(), ilObjectGUI\prepareOutput(), setSideBlocks(), ilForumSettingsGUI\settingsTabs(), showThreadsObject(), ILIAS\Repository\user(), and ilForumProperties\VIEW_TREE.
|
private |
Definition at line 839 of file class.ilObjForumGUI.php.
References $url, ILIAS\Repository\ctrl(), factory(), and ILIAS\Repository\lng().
Referenced by renderThreadOverview().
|
private |
Definition at line 1059 of file class.ilObjForumGUI.php.
References ilForumTopic\getId(), getLinkActionForThread(), ilForumTopic\isSticky(), and ILIAS\Repository\lng().
Referenced by getActionsForThreadOverview().
|
private |
Definition at line 587 of file class.ilObjForumGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by getSafePostCommands().
|
protected |
Definition at line 1566 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 890 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ilForumTopic\getDisplayUserId(), ilForumTopic\getId(), ilForumTopic\getImportName(), ilForumTopic\getLastPost(), ilForumTopic\getNumPosts(), ilForumTopic\getNumUnreadPosts(), ilForumTopic\getThrAuthorId(), ilForumTopic\getUserAlias(), ilForumTopic\getVisits(), ilForumTopic\isSticky(), ILIAS\Repository\lng(), null, ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by renderThreadOverview().
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 264 of file class.ilObjForumGUI.php.
|
private |
Definition at line 2065 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 4314 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 5680 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ilForumPostDraft\getDraftId(), ilForumPostDraft\getPostAuthorId(), ilForumPostDraft\newInstanceByDraftId(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by cancelDraftObject(), cancelPostObject(), checkDraftAccess(), and savePostObject().
|
private |
Definition at line 3013 of file class.ilObjForumGUI.php.
References $hideToolbar, and null.
Referenced by getContent(), moveThreadsObject(), and performDeleteThreadsObject().
|
protected |
Definition at line 4331 of file class.ilObjForumGUI.php.
References $info, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by getSafePostCommands(), and infoScreenObject().
ilObjForumGUI::infoScreenObject | ( | ) |
Definition at line 606 of file class.ilObjForumGUI.php.
References infoScreen().
|
protected |
Definition at line 611 of file class.ilObjForumGUI.php.
Definition at line 4383 of file class.ilObjForumGUI.php.
References ilObjectGUI\$id, ILIAS\Repository\access(), ILIAS\Repository\button(), ilForumNotificationEvents\CENSORED, ILIAS\Repository\ctrl(), eventsFormBuilder(), ilUtil\getImagePath(), isUserAllowedToDeactivateNotification(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilForumNotificationEvents\POST_DELETED, ILIAS\Repository\settings(), ilForumNotificationEvents\THREAD_DELETED, ilForumNotificationEvents\UNCENSORED, ilForumNotificationEvents\UPDATED, ILIAS\Repository\user(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
|
private |
Definition at line 2301 of file class.ilObjForumGUI.php.
References ilCheckboxGroupInputGUI\addOption(), ILIAS\Repository\ctrl(), decorateWithAutosave(), ilFileDataForumDrafts\getFilesOfPost(), 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\setRequired(), and ILIAS\Repository\user().
Referenced by getReplyEditForm().
|
protected |
Definition at line 132 of file class.ilObjForumGUI.php.
References ilSession\get(), ILIAS\Repository\int(), and ilSession\set().
Referenced by __construct().
|
private |
Definition at line 1091 of file class.ilObjForumGUI.php.
References ilObjStyleSheet\getSyntaxStylePath().
Referenced by renderThreadOverview().
|
private |
Definition at line 255 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl().
Referenced by initReplyEditForm(), and viewThreadObject().
ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) |
Definition at line 4577 of file class.ilObjForumGUI.php.
References ILIAS\Forum\Notification\DEFAULT, ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by initHeaderAction().
|
private |
Definition at line 3877 of file class.ilObjForumGUI.php.
Referenced by buildMinimalThreadForm(), buildThreadForm(), createEmptyThread(), createThread(), initReplyEditForm(), saveAsDraftObject(), savePostObject(), saveThreadAsDraftObject(), updateDraftObject(), and updateThreadDraftObject().
ilObjForumGUI::markAllReadObject | ( | ) |
Definition at line 657 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\lng(), showThreadsObject(), and ILIAS\Repository\user().
|
protected |
Definition at line 4363 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 4349 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\user(), and viewThreadObject().
|
private |
Definition at line 1079 of file class.ilObjForumGUI.php.
References ilForumTopic\isSticky().
Referenced by renderThreadOverview().
ilObjForumGUI::mergeThreadsObject | ( | ) |
Definition at line 4599 of file class.ilObjForumGUI.php.
References $is_moderator, ilForum\_lookupObjIdForForumId(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), ilForumTopicTableGUI\setSelectedThread(), and showThreadsObject().
Referenced by confirmMergeThreadsObject(), and performThreadsActionObject().
ilObjForumGUI::moveThreadsObject | ( | ) |
Definition at line 3812 of file class.ilObjForumGUI.php.
References $is_moderator, $messages, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ilSession\get(), hideToolbar(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), null, ILIAS\Repository\object(), ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().
Referenced by performMoveThreadsObject(), and performThreadsActionObject().
ilObjForumGUI::performDeleteThreadsObject | ( | ) |
Definition at line 1813 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 4733 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 3747 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(), null, ILIAS\Repository\object(), ILIAS\Repository\refinery(), and ilSession\set().
ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1975 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 3631 of file class.ilObjForumGUI.php.
References $message, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), mergeThreadsObject(), moveThreadsObject(), null, ILIAS\Repository\object(), retrieveThreadIds(), ilSession\set(), ILIAS\Repository\settings(), updateThreadObject(), and ILIAS\Repository\user().
ilObjForumGUI::prepareFormOutput | ( | string | $a_text | ) |
Definition at line 4324 of file class.ilObjForumGUI.php.
References ilLegacyFormElementsUtil\prepareFormOutput().
ilObjForumGUI::publishDraftObject | ( | bool | $use_replyform = true | ) |
Definition at line 2605 of file class.ilObjForumGUI.php.
References $GLOBALS, $message, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), ILIAS\Repository\access(), checkDraftAccess(), ILIAS\Repository\ctrl(), ilSession\get(), getForumObjects(), getReplyEditForm(), handleFormInput(), ilForumPostDraft\isSavePostDraftAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\object(), retrieveDraftId(), ilForumUtil\saveMediaObjects(), ilSession\set(), ilFileDataForum\storeUploadedFiles(), ILIAS\Repository\user(), and viewThreadObject().
Referenced by publishSelectedDraftObject().
ilObjForumGUI::publishSelectedDraftObject | ( | ) |
Definition at line 2597 of file class.ilObjForumGUI.php.
References publishDraftObject(), and retrieveDraftId().
|
protected |
Definition at line 4219 of file class.ilObjForumGUI.php.
References checkDraftAccess(), createThread(), ilForumPostDraft\isSavePostDraftAllowed(), ILIAS\Repository\lng(), ilForumPostDraft\newInstanceByDraftId(), and retrieveDraftId().
ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 3023 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), getReplyEditForm(), ILIAS\Repository\lng(), and viewThreadObject().
|
private |
list<ilForumPostDraft> | $drafts |
Definition at line 1107 of file class.ilObjForumGUI.php.
References $modal_history, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\ctrl(), ilForumPost\getDepth(), ilFileDataForumDrafts\getFilesOfPost(), ilForumPost\getId(), getReplyEditForm(), ilForumPost\getThreadId(), ilForumPost\getUpdateUserId(), ILIAS\FileDelivery\http(), ilForumPost\isCensored(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ILIAS\Repository\refinery(), renderPostingForm(), renderSplitButton(), retrieveDraftId(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilForumProperties\VIEW_TREE.
Referenced by viewThreadObject().
|
protected |
Definition at line 1303 of file class.ilObjForumGUI.php.
References ilObjectGUI\$object, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\ctrl(), displayConfirmPostActivation(), ilForumPost\getCensorshipComment(), ilForumPost\getChangeDate(), ilForumPost\getCreateDate(), ilForumPost\getDepth(), ilForumPost\getDisplayUserId(), ilFileDataForum\getFilesOfPost(), ilForumPost\getId(), ilUtil\getImagePath(), ilForumPost\getImportName(), 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(), null, 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 5762 of file class.ilObjForumGUI.php.
References ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilForumPost\getDisplayUserId(), ilForumPost\getImportName(), ilForumPost\getMessage(), getModifiedReOnSubject(), getOrderByParam(), ilForumPost\getPosAuthorId(), getReplyEditForm(), ilForumPost\getUserAlias(), ilForumPost\isCensored(), ilForumPost\isOwner(), ILIAS\Repository\lng(), ilForum\prepareText(), retrieveDraftId(), HTML_Template_IT\setVariable(), ilUtil\stripSlashes(), and ILIAS\Repository\user().
Referenced by renderDraftContent(), and viewThreadObject().
|
private |
Definition at line 3560 of file class.ilObjForumGUI.php.
References $sortationOptions, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by viewThreadObject().
|
private |
Definition at line 5395 of file class.ilObjForumGUI.php.
References ilObjectGUI\$id, $url, ILIAS\Repository\access(), addActivationFormModal(), ILIAS\Repository\ctrl(), displayConfirmPostActivation(), ilForumPost\getForumId(), ilForumPost\getId(), 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().
Definition at line 740 of file class.ilObjForumGUI.php.
References $GLOBALS, ilObjectGUI\$ref_id, $url, ILIAS\Repository\ctrl(), factory(), getActionsForThreadOverview(), getLinkActionForThread(), getSortationViewControl(), getThreadProperties(), ForumDto\getTopNumThreads(), ILIAS\FileDelivery\http(), initStyleSheets(), ILIAS\Repository\lng(), markTopThreadInOverview(), null, ilForumProperties\PAGE_NAME_THREAD_OVERVIEW, ilForumProperties\PAGE_SIZE_THREAD_OVERVIEW, ilForumPageCommandForwarder\PRESENTATION_MODE_PRESENTATION, ILIAS\Repository\refinery(), renderer(), and ILIAS\Repository\user().
Referenced by getContent().
|
private |
Definition at line 3529 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 3103 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 4857 of file class.ilObjForumGUI.php.
References checkDraftAccess(), ilForumPostDraft\createDraftBackup(), ILIAS\Repository\ctrl(), ILIAS\Repository\int(), ilForumPostDraft\isSavePostDraftAllowed(), and ILIAS\Repository\lng().
|
private |
Definition at line 154 of file class.ilObjForumGUI.php.
References ILIAS\FileDelivery\http().
Referenced by addThreadObject(), autosaveDraftAsyncObject(), autosaveThreadDraftAsyncObject(), cancelDraftObject(), cancelPostObject(), createTopLevelPostObject(), decorateWithAutosave(), deleteSelectedDraft(), deliverDraftZipFileObject(), editDraftObject(), initReplyEditForm(), publishDraftObject(), publishSelectedDraftObject(), publishThreadDraftObject(), renderDraftContent(), renderPostingForm(), renderSplitButton(), updateDraftObject(), and updateThreadDraftObject().
|
private |
Definition at line 867 of file class.ilObjForumGUI.php.
References $post, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by performDeleteThreadsObject(), and performThreadsActionObject().
|
private |
Definition at line 149 of file class.ilObjForumGUI.php.
References ILIAS\FileDelivery\http().
Referenced by __construct().
|
private |
Definition at line 2045 of file class.ilObjForumGUI.php.
References handleCensorship().
ilObjForumGUI::saveAsDraftObject | ( | ) |
Definition at line 5042 of file class.ilObjForumGUI.php.
References $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), checkDraftAccess(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ilSession\get(), getForumObjects(), ilForumUtil\getPublicUserAlias(), getReplyEditForm(), handleFormInput(), ILIAS\FileDelivery\http(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), null, ILIAS\Repository\object(), ILIAS\Repository\refinery(), ilSession\set(), ilFileDataForumDrafts\storeUploadedFiles(), ILIAS\Repository\user(), and viewThreadObject().
Referenced by saveTopLevelDraftObject().
ilObjForumGUI::savePostObject | ( | ) |
Definition at line 2755 of file class.ilObjForumGUI.php.
References $GLOBALS, $message, $objCurrentPost, $objCurrentTopic, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ilNewsItem\getFirstNewsIdForContext(), getForumObjects(), getReplyEditForm(), handleFormInput(), hasDraftAccess(), ILIAS\FileDelivery\http(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ilForumUtil\moveMediaObjects(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), ilFileDataForum\storeUploadedFiles(), ILIAS\Repository\user(), and viewThreadObject().
Referenced by saveTopLevelPostObject().
|
protected |
Definition at line 4885 of file class.ilObjForumGUI.php.
References $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), buildThreadForm(), checkDraftAccess(), 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().
ilObjForumGUI::saveTopLevelDraftObject | ( | ) |
Definition at line 5037 of file class.ilObjForumGUI.php.
References saveAsDraftObject().
ilObjForumGUI::saveTopLevelPostObject | ( | ) |
Definition at line 2592 of file class.ilObjForumGUI.php.
References savePostObject().
ilObjForumGUI::saveUserNotificationSettingsObject | ( | ) |
Definition at line 4545 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ilForumNotificationEvents\DEACTIVATED, eventsFormBuilder(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
|
protected |
Definition at line 1543 of file class.ilObjForumGUI.php.
References ILIAS\Repository\int(), and viewThreadObject().
ilObjForumGUI::setColumnSettings | ( | ilColumnGUI | $column_gui | ) |
Definition at line 4287 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 2119 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
|
protected |
Definition at line 4775 of file class.ilObjForumGUI.php.
References ILIAS\Repository\ctrl(), ilObjectGUI\getRightColumnHTML(), ilRepositoryObjectSearchGUI\getSearchBlockHTML(), and ILIAS\Repository\lng().
Referenced by getSafePostCommands(), and showThreadsObject().
ilObjForumGUI::showStatisticsObject | ( | ) |
Definition at line 1707 of file class.ilObjForumGUI.php.
References ILIAS\Repository\access(), ilLearningProgressAccess\checkAccess(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
ilObjForumGUI::showThreadsObject | ( | ) |
Definition at line 668 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), and setSideBlocks().
Referenced by confirmDeleteThreadDraftsObject(), confirmMergeThreadsObject(), disableForumNotificationObject(), enableForumNotificationObject(), getSafePostCommands(), markAllReadObject(), mergeThreadsObject(), performMergeThreadsObject(), and updateThreadObject().
ilObjForumGUI::showUserObject | ( | ) |
Definition at line 3587 of file class.ilObjForumGUI.php.
References $user_id, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObjectFactory\getInstanceByRefId(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), and ilUtil\stripSlashes().
|
protected |
Definition at line 162 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ilForumTopic\getPostRootNode(), and ilTreeExplorerGUI\toggleExplorerNodeState().
|
protected |
Definition at line 2149 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ILIAS\Repository\access(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and viewThreadObject().
|
protected |
Definition at line 2129 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ensureThreadBelongsToForum(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
|
protected |
Definition at line 622 of file class.ilObjForumGUI.php.
ilObjForumGUI::updateDraftObject | ( | ) |
Definition at line 5167 of file class.ilObjForumGUI.php.
References $GLOBALS, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), ILIAS\Repository\access(), checkDraftAccess(), ILIAS\Repository\ctrl(), ilSession\get(), getForumObjects(), ilForumUtil\getPublicUserAlias(), getReplyEditForm(), handleFormInput(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ILIAS\Repository\object(), retrieveDraftId(), ilForumUtil\saveMediaObjects(), ilSession\set(), ilFileDataForumDrafts\unlinkFilesByMD5Filenames(), ILIAS\Repository\user(), and viewThreadObject().
|
protected |
Definition at line 4970 of file class.ilObjForumGUI.php.
References $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Repository\access(), buildThreadForm(), checkDraftAccess(), ILIAS\Repository\ctrl(), editThreadDraftObject(), ilForumUtil\getPublicUserAlias(), handleFormInput(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ILIAS\Repository\lng(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), ILIAS\Repository\object(), retrieveDraftId(), ilFileDataForumDrafts\unlinkFilesByMD5Filenames(), and ILIAS\Repository\user().
ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 627 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ILIAS\Repository\access(), ensureThreadBelongsToForum(), getEditTitleModal(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and showThreadsObject().
Referenced by performThreadsActionObject().
ilObjForumGUI::viewThreadObject | ( | ) |
Definition at line 3109 of file class.ilObjForumGUI.php.
References $info, $is_moderator, $objCurrentTopic, $post, $selectedSorting, ilObjectGUI\$toolbar, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilChangeEvent\_recordReadEvent(), ilObjMediaObject\_removeUsage(), ILIAS\Repository\access(), ilObjectGUI\addHeaderAction(), ilNavigationHistory\addItem(), ILIAS\Repository\ctrl(), ilFileDataForumDrafts\deliverFile(), ensureThreadBelongsToForum(), ensureValidPageForCurrentPosting(), ForumGlobalScreenToolsProvider\FORUM_BASE_CONTROLLER, ForumGlobalScreenToolsProvider\FORUM_THEAD, ForumGlobalScreenToolsProvider\FORUM_THREAD_ROOT, ilSession\get(), ilObjectGUI\getCreationMode(), getForumObjects(), ilForumPost\getId(), 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(), renderPostingForm(), renderSortationControl(), renderViewModeControl(), ilSession\set(), ILIAS\Repository\settings(), 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(), and updateDraftObject().
|
private |
Definition at line 65 of file class.ilObjForumGUI.php.
Definition at line 79 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 80 of file class.ilObjForumGUI.php.
|
private |
Definition at line 57 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
|
private |
Definition at line 74 of file class.ilObjForumGUI.php.
|
private |
Definition at line 66 of file class.ilObjForumGUI.php.
|
private |
Definition at line 83 of file class.ilObjForumGUI.php.
|
private |
Definition at line 64 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
|
private |
Definition at line 52 of file class.ilObjForumGUI.php.
|
private |
Definition at line 60 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
|
private |
Definition at line 61 of file class.ilObjForumGUI.php.
ilHelpGUI ilObjForumGUI::$ilHelp |
Definition at line 73 of file class.ilObjForumGUI.php.
ilNavigationHistory ilObjForumGUI::$ilNavigationHistory |
Definition at line 67 of file class.ilObjForumGUI.php.
ilObjectDataCache ilObjForumGUI::$ilObjDataCache |
Definition at line 71 of file class.ilObjForumGUI.php.
|
private |
Definition at line 82 of file class.ilObjForumGUI.php.
|
private |
Definition at line 58 of file class.ilObjForumGUI.php.
Referenced by createEmptyThread(), createThread(), mergeThreadsObject(), moveThreadsObject(), and viewThreadObject().
|
private |
Definition at line 81 of file class.ilObjForumGUI.php.
string ilObjForumGUI::$modal_history = '' |
Definition at line 53 of file class.ilObjForumGUI.php.
Referenced by editThreadDraftObject(), and renderDraftContent().
|
private |
Definition at line 69 of file class.ilObjForumGUI.php.
|
private |
Definition at line 56 of file class.ilObjForumGUI.php.
Referenced by performPostActivationObject(), and savePostObject().
|
private |
Definition at line 55 of file class.ilObjForumGUI.php.
Referenced by getSafePostCommands(), savePostObject(), toggleExplorerNodeStateObject(), toggleStickinessObject(), toggleThreadNotificationObject(), updateThreadObject(), and viewThreadObject().
ilForumProperties ilObjForumGUI::$objProperties |
Definition at line 54 of file class.ilObjForumGUI.php.
ILIAS DI RBACServices ilObjForumGUI::$rbac |
Definition at line 72 of file class.ilObjForumGUI.php.
|
private |
Definition at line 75 of file class.ilObjForumGUI.php.
|
private |
Definition at line 59 of file class.ilObjForumGUI.php.
Referenced by getReplyEditForm().
|
private |
Definition at line 68 of file class.ilObjForumGUI.php.
|
private |
Definition at line 78 of file class.ilObjForumGUI.php.
|
private |
Definition at line 77 of file class.ilObjForumGUI.php.
Referenced by checkUsersViewMode(), and viewThreadObject().
|
private |
Definition at line 47 of file class.ilObjForumGUI.php.
Referenced by renderSortationControl().
|
private |
Definition at line 62 of file class.ilObjForumGUI.php.
Referenced by eventsFormBuilder().
|
private |
Definition at line 63 of file class.ilObjForumGUI.php.
|
private |
Definition at line 42 of file class.ilObjForumGUI.php.