|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilObjForumGUI. More...
Inheritance diagram for ilObjForumGUI:
Collaboration diagram for ilObjForumGUI:Static Public Member Functions | |
| static | _goto ($a_target, $a_thread=0, $a_posting=0) |
Static Public Member Functions inherited from ilObjectGUI | |
| static | _gotoRepositoryRoot ($a_raise_error=false) |
| Goto repository root. More... | |
| static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
| Goto repository root. More... | |
Data Fields | |
| $modal_history = '' | |
| $objProperties | |
| $object | |
| $access | |
| $ilObjDataCache | |
| $tabs | |
| $error | |
| $ilNavigationHistory | |
| $user | |
| $settings | |
| $toolbar | |
| $repositoryTree | |
| $rbac | |
| $locator | |
| $ilHelp | |
Data Fields inherited from ilObjectGUI | |
| const | COPY_WIZARD_NEEDS_PAGE = 1 |
| $objDefinition | |
| $tpl | |
| $tree | |
| $lng | |
| $data | |
| $object | |
| $ref_id | |
| $obj_id | |
| $maxcount | |
| $formaction | |
| $return_location | |
| $target_frame | |
| $tab_target_script | |
| $actions | |
| $sub_objects | |
| $omit_locator = false | |
| const | CFORM_NEW = 1 |
| const | CFORM_IMPORT = 2 |
| const | CFORM_CLONE = 3 |
Protected Member Functions | |
| initSessionStorage () | |
| addAutosave (ilPropertyFormGUI $form) | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| getEditFormCustomValues (array &$a_values) | |
| updateCustom (ilPropertyFormGUI $a_form) | |
| renderDraftContent ($render_drafts, $node, $edit_draft_id=null) | |
| renderPostContent (ilForumPost $node, $Start, $z) | |
| afterSave (ilObject $forumObj) | |
| getTabs () | |
| get tabs abstract method. More... | |
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
| Add header action menu. More... | |
| setSideBlocks () | |
| {} More... | |
| deleteMobsOfDraft ($draft_id, $message) | |
| todo: move to ilForumUtil More... | |
| deleteSelectedDraft (ilForumPostDraft $draft_obj=null) | |
Protected Member Functions inherited from ilObjectGUI | |
| assignObject () | |
| setTitleAndDescription () | |
| called by prepare output More... | |
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
| Add header action menu. More... | |
| insertHeaderAction ($a_list_gui) | |
| Insert header action into main template. More... | |
| addHeaderAction () | |
| Add header action menu. More... | |
| redrawHeaderActionObject () | |
| Ajax call: redraw action header only. More... | |
| showMountWebfolderIcon () | |
| setTabs () | |
| set admin tabs @access public More... | |
| setAdminTabs () | |
| set admin tabs @access public More... | |
| setLocator () | |
| set Locator More... | |
| addLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| omitLocator ($a_omit=true) | |
| addAdminLocatorItems ($a_do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| initCreationForms ($a_new_type) | |
| Init creation froms. More... | |
| getCreationFormsHTML (array $a_forms) | |
| Get HTML for creation forms (accordion) More... | |
| initCreateForm ($a_new_type) | |
| Init object creation form. More... | |
| initDidacticTemplate (ilPropertyFormGUI $form) | |
| Show didactic template types. More... | |
| addDidacticTemplateOptions (array &$a_options) | |
| Add custom templates. More... | |
| afterSave (ilObject $a_new_object) | |
| Post (successful) object creation hook. More... | |
| initEditForm () | |
| Init object edit form. More... | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| Add custom fields to update form. More... | |
| getEditFormValues () | |
| Get values for edit form. More... | |
| getEditFormCustomValues (array &$a_values) | |
| Add values to custom edit fields. More... | |
| validateCustom (ilPropertyFormGUI $a_form) | |
| Validate custom values (if not possible with checkInput()) More... | |
| updateCustom (ilPropertyFormGUI $a_form) | |
| Insert custom update form values into object. More... | |
| afterUpdate () | |
| Post (successful) object update hook. More... | |
| initImportForm ($a_new_type) | |
| Init object import form. More... | |
| importFileObject ($parent_id=null, $a_catch_errors=true) | |
| Import. More... | |
| afterImport (ilObject $a_new_object) | |
| Post (successful) object import hook. More... | |
| setFormAction ($a_cmd, $a_formaction) | |
| set specific form action for command More... | |
| getReturnLocation ($a_cmd, $a_location="") | |
| get return location for command (command is method name without "Object", e.g. More... | |
| setReturnLocation ($a_cmd, $a_location) | |
| set specific return location for command More... | |
| getTargetFrame ($a_cmd, $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. More... | |
| setTargetFrame ($a_cmd, $a_target_frame) | |
| set specific target frame for command More... | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) More... | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. More... | |
| getTabs () | |
| get tabs abstract method. More... | |
| __showButton ($a_cmd, $a_text, $a_target='') | |
| hitsperpageObject () | |
| & | __initTableGUI () |
| __setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
| standard implementation for tables use 'from' variable use different initial setting of table More... | |
| redirectToRefId ($a_ref_id, $a_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 $_GET["ref_id"] value More... | |
| fillCloneTemplate ($a_tpl_varname, $a_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... | |
| setColumnSettings (ilColumnGUI $column_gui) | |
| May be overwritten in subclasses. More... | |
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission and redirect on error. More... | |
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission. More... | |
| enableDragDropFileUpload () | |
| Enables the file upload into this object by dropping files. More... | |
| handleAutoRating (ilObject $a_new_obj) | |
| Activate rating automatically if parent container setting. More... | |
Private Member Functions | |
| isHierarchicalView () | |
| isTopLevelReplyCommand () | |
| getThreadEditingForm ($a_thread_id) | |
| initForumCreateForm ($object_type) | |
| getReplyEditForm () | |
| hideToolbar ($a_flag=null) | |
| getForumObjects () | |
| getModifiedReOnSubject ($on_reply=false) | |
| isWritingWithPseudonymAllowed () | |
| initTopicCreateForm ($edit_draft=false) | |
| setTopicCreateDefaultValues () | |
| renderSplitButton ($is_post=true, ilForumPost $node, $Start=0, ilForumPostDraft $draft=null) | |
Private Attributes | |
| $objCurrentTopic | |
| $objCurrentPost | |
| $display_confirm_post_activation = 0 | |
| $is_moderator = false | |
| $create_form_gui | |
| $create_topic_form_gui | |
| $replyEditForm | |
| $hideToolbar = false | |
| $forum_overview_setting = null | |
| $forumObjects | |
| $confirmation_gui_html = '' | |
| $forum_settings_gui | |
Additional Inherited Members | |
Protected Attributes inherited from ilObjectGUI | |
| $ilErr | |
| $locator | |
| $user | |
| $access | |
| $settings | |
| $rbacreview | |
| $toolbar | |
| $rbacsystem | |
| $tmp_import_dir | |
| $tabs_gui = null | |
| $ctrl | |
Class ilObjForumGUI.
@ilCtrl_Calls ilObjForumGUI: ilPermissionGUI, ilForumExportGUI, ilInfoScreenGUI @ilCtrl_Calls ilObjForumGUI: ilColumnGUI, ilPublicUserProfileGUI, ilForumModeratorsGUI, ilRepositoryObjectSearchGUI @ilCtrl_Calls ilObjForumGUI: ilObjectCopyGUI, ilExportGUI, ilCommonActionDispatcherGUI, ilRatingGUI @ilCtrl_Calls ilObjForumGUI: ilForumSettingsGUI
Definition at line 36 of file class.ilObjForumGUI.php.
| ilObjForumGUI::__construct | ( | $a_data, | |
| $a_id, | |||
$a_call_by_reference = true, |
|||
$a_prepare_output = true |
|||
| ) |
Definition at line 122 of file class.ilObjForumGUI.php.
References $_GET, $DIC, error(), ilForumProperties\getInstance(), initSessionStorage(), settings(), and user().
Here is the call graph for this function:
|
static |
Definition at line 1252 of file class.ilObjForumGUI.php.
References $_GET, $DIC, ilObjectGUI\$ilErr, ilObjectGUI\$lng, ilObjectGUI\$ref_id, ilObject\_getAllReferences(), ilObject\_lookupObjectId(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, ilUtil\redirect(), ilUtil\sendInfo(), and sprintf.
Here is the call graph for this function:
|
protected |
| ilPropertyFormGUI | $form |
Definition at line 196 of file class.ilObjForumGUI.php.
References $_GET, $form, ilUtil\getImagePath(), ilForumPostDraft\isAutoSavePostDraftAllowed(), and ilForumPostDraft\lookupAutosaveInterval().
Referenced by initTopicCreateForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 3960 of file class.ilObjForumGUI.php.
| ilObjForumGUI::addThreadObject | ( | $a_prevent_redirect = false | ) |
Definition at line 3736 of file class.ilObjForumGUI.php.
References $_POST, $file, $GLOBALS, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), doCaptchaCheck(), error(), ilForumUtil\getPublicUserAlias(), handleFormInput(), initTopicCreateForm(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ilForumPostDraft\newInstanceByDraftId(), ilUtil\sendSuccess(), and user().
Here is the call graph for this function:| ilObjForumGUI::addToDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 4163 of file class.ilObjForumGUI.php.
References ilDesktopItemGUI\addToDesktop(), ilUtil\sendSuccess(), settings(), and showThreadsObject().
Here is the call graph for this function:
|
protected |
| ilObject | ilObjForum | $forumObj |
Reimplemented from ilObjectGUI.
Definition at line 1145 of file class.ilObjForumGUI.php.
References ilObject\getRefId(), ilUtil\redirect(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1496 of file class.ilObjForumGUI.php.
References error(), and setDisplayConfirmPostActivation().
Here is the call graph for this function:| ilObjForumGUI::autosaveDraftAsyncObject | ( | ) |
Definition at line 4960 of file class.ilObjForumGUI.php.
References $_GET, ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), exit, ilForumUtil\getPublicUserAlias(), getReplyEditForm(), handleFormInput(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilObjForum\lookupForumIdByRefId(), ilForumDraftsHistory\MEDIAOBJECT_TYPE, ilForumPostDraft\MEDIAOBJECT_TYPE, ilForumPostDraft\newInstanceByDraftId(), and user().
Here is the call graph for this function:| ilObjForumGUI::autosaveThreadDraftAsyncObject | ( | ) |
Definition at line 5080 of file class.ilObjForumGUI.php.
References $_GET, $create_topic_form_gui, ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), exit, ilForumUtil\getPublicUserAlias(), handleFormInput(), initTopicCreateForm(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilObjForum\lookupForumIdByRefId(), ilForumDraftsHistory\MEDIAOBJECT_TYPE, ilForumPostDraft\MEDIAOBJECT_TYPE, ilForumPostDraft\newInstanceByDraftId(), and user().
Here is the call graph for this function:| ilObjForumGUI::cancelDraftObject | ( | ) |
Definition at line 1572 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumDraftsHistory\MEDIAOBJECT_TYPE, ilForumPostDraft\MEDIAOBJECT_TYPE, ilForumUtil\moveMediaObjects(), and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:| ilObjForumGUI::cancelMergeThreads | ( | ) |
Definition at line 4372 of file class.ilObjForumGUI.php.
References showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::cancelMoveThreadsObject | ( | ) |
Definition at line 3317 of file class.ilObjForumGUI.php.
References $_SESSION.
| ilObjForumGUI::cancelObject | ( | ) |
cancel action and go back to previous page @access public
Reimplemented from ilObjectGUI.
Definition at line 1136 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1561 of file class.ilObjForumGUI.php.
References $_GET, $_POST, and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:| ilObjForumGUI::checkDraftAccess | ( | $draft_id | ) |
| $draft_id |
Definition at line 5415 of file class.ilObjForumGUI.php.
References $_GET, error(), ilForumPostDraft\getPostAuthorId(), and ilForumPostDraft\newInstanceByDraftId().
Referenced by editDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::checkEnableColumnEdit | ( | ) |
Definition at line 3894 of file class.ilObjForumGUI.php.
| ilObjForumGUI::cloneWizardPageObject | ( | ) |
Definition at line 3916 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $title, ilForum\_getThreads(), ilObjectGUI\createObject(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUtil\sendInfo(), and ilForum\SORT_TITLE.
Here is the call graph for this function:| ilObjForumGUI::confirmDeleteThreadDraftsObject | ( | ) |
Definition at line 1403 of file class.ilObjForumGUI.php.
References $_POST, ilForumPostDraft\getDraftInstancesByUserId(), hideToolbar(), ilUtil\sendInfo(), showThreadsObject(), and user().
Here is the call graph for this function:| ilObjForumGUI::confirmDeleteThreads | ( | ) |
Definition at line 1361 of file class.ilObjForumGUI.php.
References $_POST, ensureThreadBelongsToForum(), error(), hideToolbar(), ilUtil\sendInfo(), and showThreadsObject().
Referenced by performThreadsActionObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::confirmMergeThreadsObject | ( | ) |
Definition at line 4279 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilForumTopic\_lookupDate(), ilForumTopic\_lookupTitle(), ensureThreadBelongsToForum(), error(), ilForumTopic\lookupForumIdByTopicId(), mergeThreadsObject(), ilUtil\sendFailure(), ilUtil\sendInfo(), showThreadsObject(), and sprintf.
Here is the call graph for this function:| ilObjForumGUI::createThreadObject | ( | ) |
Definition at line 3602 of file class.ilObjForumGUI.php.
References error(), initTopicCreateForm(), and setTopicCreateDefaultValues().
Here is the call graph for this function:| ilObjForumGUI::createTopLevelPostObject | ( | ) |
Definition at line 1940 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\getDraftId(), ilForumPostDraft\isSavePostDraftAllowed(), and user().
Here is the call graph for this function:
|
protected |
todo: move to ilForumUtil
| $draft_id | |
| $message |
Definition at line 4886 of file class.ilObjForumGUI.php.
References $message, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), and ilObjMediaObject\_removeUsage().
Referenced by deleteSelectedDraft(), and deleteThreadDraftsObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilForumPostDraft | null | $draft_obj |
Definition at line 4913 of file class.ilObjForumGUI.php.
References $_GET, $GLOBALS, deleteMobsOfDraft(), error(), ilForumPostDraft\getPostAuthorId(), ilForumPostDraft\isSavePostDraftAllowed(), ilUtil\sendSuccess(), and user().
Here is the call graph for this function:| ilObjForumGUI::deleteThreadDraftsObject | ( | ) |
Definition at line 3548 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $GLOBALS, deleteMobsOfDraft(), ilForumPostDraft\getDraftInstancesByUserId(), ilForumPostDraft\isSavePostDraftAllowed(), ilUtil\sendInfo(), and user().
Here is the call graph for this function:| ilObjForumGUI::deliverDraftZipFileObject | ( | ) |
Definition at line 4393 of file class.ilObjForumGUI.php.
References $_GET, and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:| ilObjForumGUI::deliverZipFileObject | ( | ) |
Definition at line 4407 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), and error().
Here is the call graph for this function:| ilObjForumGUI::disableForumNotificationObject | ( | ) |
Definition at line 3878 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), showThreadsObject(), and user().
Here is the call graph for this function:| ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1516 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
Referenced by renderPostContent().
Here is the caller graph for this function:| ilObjForumGUI::doCaptchaCheck | ( | ) |
Definition at line 5476 of file class.ilObjForumGUI.php.
References user().
Referenced by addThreadObject(), publishThreadDraftObject(), saveThreadAsDraftObject(), and updateThreadDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::doHistoryCheck | ( | $draft_id | ) |
| $draft_id |
Definition at line 5430 of file class.ilObjForumGUI.php.
References $key, ilRTE\_replaceMediaObjectImageSrc(), ilForumPostDraft\createDraftBackup(), ilDatePresentation\formatDate(), ilLinkButton\getInstance(), ilModalGUI\getInstance(), ilForumDraftsHistory\getInstancesByDraftId(), IL_CAL_DATETIME, iljQueryUtil\initjQuery(), and ilForumPostDraft\isAutoSavePostDraftAllowed().
Referenced by editDraftObject(), and editThreadDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::editDraftObject | ( | ) |
Definition at line 4757 of file class.ilObjForumGUI.php.
References $_GET, checkDraftAccess(), doHistoryCheck(), and ilForumPostDraft\isAutoSavePostDraftAllowed().
Here is the call graph for this function:| ilObjForumGUI::editThreadDraftObject | ( | $form = null | ) |
Definition at line 4421 of file class.ilObjForumGUI.php.
References $_GET, $form, ilRTE\_replaceMediaObjectImageSrc(), doHistoryCheck(), error(), and initTopicCreateForm().
Referenced by updateThreadDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::editThreadObject | ( | $a_thread_id, | |
| ilPropertyFormGUI | $form = null |
||
| ) |
| $a_thread_id | ||
| ilPropertyFormGUI | $form |
Definition at line 474 of file class.ilObjForumGUI.php.
References $form, ensureThreadBelongsToForum(), error(), and getThreadEditingForm().
Referenced by performThreadsActionObject(), and updateThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::enableForumNotificationObject | ( | ) |
Definition at line 3862 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), showThreadsObject(), and user().
Here is the call graph for this function:| ilObjForumGUI::ensureThreadBelongsToForum | ( | $objId, | |
| \ilForumTopic | $thread | ||
| ) |
| int | $objId | |
| ilForumTopic | $thread |
Definition at line 185 of file class.ilObjForumGUI.php.
References error(), ilForumTopic\getForumId(), and ilObjForum\lookupForumIdByObjId().
Referenced by confirmDeleteThreads(), confirmMergeThreadsObject(), deliverZipFileObject(), editThreadObject(), executeCommand(), markPostReadObject(), markPostUnreadObject(), moveThreadsObject(), performDeleteThreadsObject(), performMergeThreadsObject(), performMoveThreadsObject(), performPostActivationObject(), performThreadsActionObject(), saveThreadSortingObject(), toggleStickinessObject(), toggleThreadNotificationObject(), and updateThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 250 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $forum_settings_gui, $ret, ilObjectGUI\addHeaderAction(), ilNavigationHistory\addItem(), ensureThreadBelongsToForum(), error(), exit, ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilRating\getOverallRatingForObject(), infoScreen(), ilObjectGUI\prepareOutput(), setSideBlocks(), and showThreadsObject().
Referenced by performThreadsActionObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::getActivationFormHTML | ( | ) |
Definition at line 1639 of file class.ilObjForumGUI.php.
References $_GET.
| ilObjForumGUI::getCensorshipFormHTML | ( | ) |
Definition at line 1659 of file class.ilObjForumGUI.php.
References $_GET.
| ilObjForumGUI::getContent | ( | ) |
Definition at line 566 of file class.ilObjForumGUI.php.
References $_GET, $tbl, error(), ilLinkButton\getInstance(), ilForumPostDraft\getThreadDraftData(), ilForumPostDraft\isSavePostDraftAllowed(), ilObjForum\lookupForumIdByObjId(), ilAccessKey\MARK_ALL_READ, and user().
Here is the call graph for this function:
|
protected |
| array | $a_values |
Reimplemented from ilObjectGUI.
Definition at line 435 of file class.ilObjForumGUI.php.
|
private |
Definition at line 2465 of file class.ilObjForumGUI.php.
References $forumObjects, and $object.
Referenced by publishDraftObject().
Here is the caller graph for this function:
|
private |
Definition at line 3061 of file class.ilObjForumGUI.php.
References sprintf.
|
private |
Definition at line 1928 of file class.ilObjForumGUI.php.
References $replyEditForm.
Referenced by autosaveDraftAsyncObject(), publishDraftObject(), quotePostObject(), and renderDraftContent().
Here is the caller graph for this function:| ilObjForumGUI::getSubTabs | ( | $subtab = 'showThreads' | ) |
Definition at line 558 of file class.ilObjForumGUI.php.
Referenced by showThreadsObject(), and sortThreadsObject().
Here is the caller graph for this function:
|
protected |
get tabs abstract method.
@abstract overwrite in derived GUI class of your object type @access public
| object | instance of ilTabsGUI |
Reimplemented from ilObjectGUI.
Definition at line 1152 of file class.ilObjForumGUI.php.
References $_GET, and settings().
Here is the call graph for this function:
|
private |
| int | $a_thread_id |
Definition at line 452 of file class.ilObjForumGUI.php.
References $form.
Referenced by editThreadObject(), and updateThreadObject().
Here is the caller graph for this function:| ilObjForumGUI::handleFormInput | ( | $a_text, | |
$a_stripslashes = true |
|||
| ) |
Definition at line 3967 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Referenced by addThreadObject(), autosaveDraftAsyncObject(), autosaveThreadDraftAsyncObject(), publishThreadDraftObject(), saveThreadAsDraftObject(), and updateThreadDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 2396 of file class.ilObjForumGUI.php.
References $hideToolbar, and hideToolbar().
Referenced by confirmDeleteThreadDraftsObject(), confirmDeleteThreads(), hideToolbar(), and moveThreadsObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::infoScreen | ( | ) |
Definition at line 3998 of file class.ilObjForumGUI.php.
References $info, and error().
Referenced by executeCommand(), and infoScreenObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::infoScreenObject | ( | ) |
Definition at line 416 of file class.ilObjForumGUI.php.
References infoScreen().
Here is the call graph for this function:
|
protected |
| ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 426 of file class.ilObjForumGUI.php.
|
private |
| string | $object_type |
Definition at line 1061 of file class.ilObjForumGUI.php.
References ilUtil\getImagePath(), settings(), ilObject\TITLE_LENGTH, ilForumProperties\VIEW_DATE, ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
Here is the call graph for this function:
|
protected |
Add header action menu.
| string | $a_sub_type | |
| int | $a_sub_id |
Reimplemented from ilObjectGUI.
Definition at line 4051 of file class.ilObjForumGUI.php.
References $lg, ilUtil\getImagePath(), isParentObjectCrsOrGrp(), isUserAllowedToDeactivateNotification(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 167 of file class.ilObjForumGUI.php.
References $_GET, $sess, ilSession\get(), and ilSession\set().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3402 of file class.ilObjForumGUI.php.
References $_GET, $file, ilHtmlPurifierFactory\_getInstanceByType(), addAutosave(), ilUtil\getImagePath(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ilForumPostDraft\newInstanceByDraftId(), and user().
Referenced by addThreadObject(), autosaveThreadDraftAsyncObject(), createThreadObject(), editThreadDraftObject(), publishThreadDraftObject(), saveThreadAsDraftObject(), and updateThreadDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 228 of file class.ilObjForumGUI.php.
References $_SESSION, ilForumProperties\VIEW_DATE, and ilForumProperties\VIEW_TREE.
| ilObjForumGUI::isParentObjectCrsOrGrp | ( | ) |
Definition at line 4148 of file class.ilObjForumGUI.php.
Referenced by initHeaderAction(), and isUserAllowedToDeactivateNotification().
Here is the caller graph for this function:
|
private |
Definition at line 242 of file class.ilObjForumGUI.php.
| ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) |
Definition at line 4123 of file class.ilObjForumGUI.php.
References $_GET, isParentObjectCrsOrGrp(), and user().
Referenced by initHeaderAction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3393 of file class.ilObjForumGUI.php.
Referenced by addThreadObject(), and initTopicCreateForm().
Here is the caller graph for this function:| ilObjForumGUI::markAllReadObject | ( | ) |
Definition at line 533 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), showThreadsObject(), and user().
Here is the call graph for this function:| ilObjForumGUI::markPostReadObject | ( | ) |
Definition at line 4033 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), error(), and user().
Here is the call graph for this function:| ilObjForumGUI::markPostUnreadObject | ( | ) |
Definition at line 4019 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), error(), and user().
Here is the call graph for this function:| ilObjForumGUI::mergeThreadsObject | ( | ) |
Definition at line 4221 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $tbl, ilForum\_lookupObjIdForForumId(), error(), ilUtil\sendFailure(), ilUtil\sendInfo(), and showThreadsObject().
Referenced by confirmMergeThreadsObject(), and performThreadsActionObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::moveThreadsObject | ( | ) |
Definition at line 3323 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $counter, $is_moderator, $result, ensureThreadBelongsToForum(), error(), hideToolbar(), and ilUtil\sendInfo().
Referenced by performMoveThreadsObject(), and performThreadsActionObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::performDeleteThreadsObject | ( | ) |
Definition at line 1309 of file class.ilObjForumGUI.php.
References $_POST, ensureThreadBelongsToForum(), error(), ilUtil\sendInfo(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::performMergeThreadsObject | ( | ) |
Definition at line 4336 of file class.ilObjForumGUI.php.
References $_POST, ensureThreadBelongsToForum(), error(), ilForum\mergeThreads(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::performMoveThreadsObject | ( | ) |
Definition at line 3265 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, ensureThreadBelongsToForum(), error(), moveThreadsObject(), ilUtil\sendFailure(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1470 of file class.ilObjForumGUI.php.
References $GLOBALS, ensureThreadBelongsToForum(), error(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::performThreadsActionObject | ( | ) |
Definition at line 3147 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $i, $message, confirmDeleteThreads(), editThreadObject(), ensureThreadBelongsToForum(), error(), executeCommand(), mergeThreadsObject(), moveThreadsObject(), ilUtil\sendInfo(), ilUtil\sendSuccess(), settings(), and user().
Here is the call graph for this function:| ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 3978 of file class.ilObjForumGUI.php.
References ilUtil\prepareFormOutput().
Here is the call graph for this function:| ilObjForumGUI::publishDraftObject | ( | $use_replyform = true | ) |
Definition at line 1986 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $file, $GLOBALS, $message, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), error(), getForumObjects(), getReplyEditForm(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\saveMediaObjects(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and user().
Referenced by publishSelectedDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::publishSelectedDraftObject | ( | ) |
Definition at line 1979 of file class.ilObjForumGUI.php.
References $_GET, and publishDraftObject().
Here is the call graph for this function:| ilObjForumGUI::publishThreadDraftObject | ( | $a_prevent_redirect = false | ) |
Definition at line 3622 of file class.ilObjForumGUI.php.
References $_GET, $file, $GLOBALS, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), doCaptchaCheck(), error(), ilForumUtil\getPublicUserAlias(), handleFormInput(), initTopicCreateForm(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumPostDraft\newInstanceByDraftId(), ilUtil\sendSuccess(), and user().
Here is the call graph for this function:| ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 2406 of file class.ilObjForumGUI.php.
References $_GET, $_POST, error(), and getReplyEditForm().
Referenced by quoteTopLevelPostObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::quoteTopLevelPostObject | ( | ) |
Definition at line 1973 of file class.ilObjForumGUI.php.
References quotePostObject().
Here is the call graph for this function:| ilObjForumGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 4179 of file class.ilObjForumGUI.php.
References ilDesktopItemGUI\removeFromDesktop(), ilUtil\sendSuccess(), settings(), and showThreadsObject().
Here is the call graph for this function:
|
protected |
| $render_drafts | ||
| $node | ||
| null | $edit_draft_id |
Definition at line 648 of file class.ilObjForumGUI.php.
References $_GET, $file, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, ilGlyphGUI\get(), ilLinkButton\getInstance(), ilForumPostDraft\getInstancesByUserIdAndThreadId(), getReplyEditForm(), renderSplitButton(), and user().
Here is the call graph for this function:
|
protected |
| $node | |
| $Start | |
| $z |
Definition at line 840 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $file, $is_moderator, $object, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, displayConfirmPostActivation(), ilGlyphGUI\get(), ilForumPost\getCensorshipComment(), ilForumPost\getChangeDate(), ilForumPost\getCreateDate(), ilForumPost\getDisplayUserId(), ilForumPost\getId(), ilForumPost\getImportName(), ilLinkButton\getInstance(), ilForumPost\getIsAuthorModerator(), ilForumPost\getMessage(), ilForumPost\getPosAuthorId(), ilForumPost\getSubject(), ilForumPost\getThreadId(), ilForumPost\getUpdateUserId(), ilForumPost\getUserAlias(), ilForumPost\isActivated(), ilForumPost\isCensored(), ilForumPost\isOwner(), ilForumPost\isPostRead(), renderSplitButton(), ilForumPost\setChangeDate(), ilForumPost\setMessage(), ilUtil\switchColor(), and user().
Here is the call graph for this function:
|
private |
| bool | $is_post | |
| ilForumPost | $node | |
| int | $Start | |
| ilForumPostDraft | NULL | $draft |
| ilSplitButtonException |
Definition at line 5207 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$actions, $i, $url, ilForumPost\getForumId(), ilForumPost\getId(), ilLinkButton\getInstance(), ilSplitButtonGUI\getInstance(), ilForumPostDraft\getInstancesByUserIdAndThreadId(), ilForumPost\getThreadId(), ilForumPost\hasReplies(), ilForumPost\isActivated(), ilForumPost\isCensored(), ilForumPost\isOwner(), ilForumPost\isPostRead(), and user().
Referenced by renderDraftContent(), and renderPostContent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::restoreFromHistoryObject | ( | ) |
Definition at line 4460 of file class.ilObjForumGUI.php.
References $_GET, and ilForumPostDraft\createDraftBackup().
Here is the call graph for this function:| ilObjForumGUI::saveThreadAsDraftObject | ( | ) |
Definition at line 4484 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $file, $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), doCaptchaCheck(), error(), ilForumUtil\getPublicUserAlias(), handleFormInput(), initTopicCreateForm(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), ilUtil\sendSuccess(), and user().
Here is the call graph for this function:| ilObjForumGUI::saveThreadSortingObject | ( | ) |
Definition at line 4192 of file class.ilObjForumGUI.php.
References $_POST, ensureThreadBelongsToForum(), error(), ilUtil\sendSuccess(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::saveTopLevelPostObject | ( | ) |
Definition at line 1964 of file class.ilObjForumGUI.php.
| ilObjForumGUI::setColumnSettings | ( | ilColumnGUI | $column_gui | ) |
May be overwritten in subclasses.
Reimplemented from ilObjectGUI.
Definition at line 3899 of file class.ilObjForumGUI.php.
References ilColumnGUI\setBlockProperty(), and ilColumnGUI\setRepositoryMode().
Here is the call graph for this function:| ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = 0 | ) |
Definition at line 1511 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
Here is the caller graph for this function:
|
protected |
{}
Definition at line 4380 of file class.ilObjForumGUI.php.
References $GLOBALS, ilObjectGUI\getRightColumnHTML(), and ilRepositoryObjectSearchGUI\getSearchBlockHTML().
Referenced by executeCommand(), showThreadsObject(), and sortThreadsObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3592 of file class.ilObjForumGUI.php.
Referenced by createThreadObject().
Here is the caller graph for this function:| ilObjForumGUI::showStatisticsObject | ( | ) |
if globally deactivated, skip!!! intrusion detected
Definition at line 1206 of file class.ilObjForumGUI.php.
References $_GET, $counter, ilObjectGUI\$data, $result, $row, $tbl, error(), ilUtil\sendInfo(), and settings().
Here is the call graph for this function:| ilObjForumGUI::showThreadsObject | ( | ) |
Definition at line 544 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Referenced by addToDeskObject(), cancelMergeThreads(), confirmDeleteThreadDraftsObject(), confirmDeleteThreads(), confirmMergeThreadsObject(), disableForumNotificationObject(), enableForumNotificationObject(), executeCommand(), markAllReadObject(), mergeThreadsObject(), performDeleteThreadsObject(), performMergeThreadsObject(), removeFromDeskObject(), saveThreadSortingObject(), and updateThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::showUserObject | ( | ) |
Definition at line 3106 of file class.ilObjForumGUI.php.
References $_GET, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjForumGUI::sortThreadsObject | ( | ) |
Definition at line 551 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Here is the call graph for this function:| ilObjForumGUI::toggleStickinessObject | ( | ) |
Definition at line 1540 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), and error().
Here is the call graph for this function:| ilObjForumGUI::toggleThreadNotificationObject | ( | ) |
Definition at line 1521 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), error(), ilUtil\sendInfo(), and user().
Here is the call graph for this function:
|
protected |
| ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 443 of file class.ilObjForumGUI.php.
| ilObjForumGUI::updateThreadDraftObject | ( | ) |
Definition at line 4574 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $file, $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), doCaptchaCheck(), editThreadDraftObject(), error(), ilForumUtil\getPublicUserAlias(), handleFormInput(), initTopicCreateForm(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), ilUtil\sendSuccess(), and user().
Here is the call graph for this function:| ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 502 of file class.ilObjForumGUI.php.
References $form, editThreadObject(), ensureThreadBelongsToForum(), error(), getThreadEditingForm(), ilUtil\sendSuccess(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::$access |
Definition at line 109 of file class.ilObjForumGUI.php.
|
private |
Definition at line 102 of file class.ilObjForumGUI.php.
|
private |
Definition at line 67 of file class.ilObjForumGUI.php.
|
private |
Definition at line 72 of file class.ilObjForumGUI.php.
Referenced by autosaveThreadDraftAsyncObject().
|
private |
Definition at line 57 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
| ilObjForumGUI::$error |
Definition at line 112 of file class.ilObjForumGUI.php.
|
private |
Definition at line 87 of file class.ilObjForumGUI.php.
|
private |
Definition at line 107 of file class.ilObjForumGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 97 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
|
private |
Definition at line 82 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
| ilObjForumGUI::$ilHelp |
Definition at line 120 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$ilNavigationHistory |
Definition at line 113 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$ilObjDataCache |
Definition at line 110 of file class.ilObjForumGUI.php.
|
private |
Definition at line 62 of file class.ilObjForumGUI.php.
Referenced by moveThreadsObject(), and renderPostContent().
| ilObjForumGUI::$locator |
Definition at line 119 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$modal_history = '' |
Definition at line 38 of file class.ilObjForumGUI.php.
|
private |
Definition at line 52 of file class.ilObjForumGUI.php.
|
private |
Definition at line 47 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$object |
Definition at line 92 of file class.ilObjForumGUI.php.
Referenced by getForumObjects(), and renderPostContent().
| ilObjForumGUI::$objProperties |
Definition at line 42 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$rbac |
Definition at line 118 of file class.ilObjForumGUI.php.
|
private |
Definition at line 77 of file class.ilObjForumGUI.php.
Referenced by getReplyEditForm().
| ilObjForumGUI::$repositoryTree |
Definition at line 117 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$settings |
Definition at line 115 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$tabs |
Definition at line 111 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$toolbar |
Definition at line 116 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$user |
Definition at line 114 of file class.ilObjForumGUI.php.