|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilObjForumGUI. More...
Inheritance diagram for ilObjForumGUI:
Collaboration diagram for ilObjForumGUI:Public Member Functions | |
| __construct ($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true) | |
| ensureThreadBelongsToForum (int $objId, \ilForumTopic $thread) | |
| executeCommand () | |
| execute command More... | |
| infoScreenObject () | |
| editThreadObject ($threadId, ilPropertyFormGUI $form=null) | |
| updateThreadObject () | |
| markAllReadObject () | |
| showThreadsObject () | |
| sortThreadsObject () | |
| getSubTabs ($subtab='showThreads') | |
| getContent () | |
| showStatisticsObject () | |
| performDeleteThreadsObject () | |
| confirmDeleteThreads () | |
| performPostActivationObject () | |
| askForPostActivationObject () | |
| setDisplayConfirmPostActivation ($status=0) | |
| displayConfirmPostActivation () | |
| cancelPostObject () | |
| cancelDraftObject () | |
| getActivationFormHTML () | |
| getCensorshipFormHTML () | |
| createTopLevelPostObject () | |
| saveTopLevelPostObject () | |
| publishSelectedDraftObject () | |
| publishDraftObject ($use_replyform=true) | |
| quotePostObject () | |
| showUserObject () | |
| performThreadsActionObject () | |
| performMoveThreadsObject () | |
| cancelMoveThreadsObject () | |
| moveThreadsObject () | |
| handleFormInput ($a_text, $a_stripslashes=true) | |
| prepareFormOutput ($a_text) | |
| isUserAllowedToDeactivateNotification () | |
| isParentObjectCrsOrGrp () | |
| addToDeskObject () | |
| Add desktop item @access public. More... | |
| removeFromDeskObject () | |
| Remove from desktop @access public. More... | |
| mergeThreadsObject () | |
| confirmMergeThreadsObject () | |
| performMergeThreadsObject () | |
| checkDraftAccess (int $draftId) | |
Public Member Functions inherited from ilObjectGUI | |
| executeCommand () | |
| execute command More... | |
| withReferences () | |
| determines wether objects are referenced or not (got ref ids or not) More... | |
| setCreationMode ($a_mode=true) | |
| if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui More... | |
| getCreationMode () | |
| get creation mode More... | |
| prepareOutput ($a_show_subobjects=true) | |
| prepare output More... | |
| getAdminTabs () | |
| administration tabs show only permissions and trash folder More... | |
| getHTML () | |
| confirmedDeleteObject () | |
| confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
| cancelDeleteObject () | |
| cancel deletion of object More... | |
| cancelObject () | |
| cancel action and go back to previous page @access public More... | |
| createObject () | |
| create new object form More... | |
| cancelCreation () | |
| cancel create action and go back to repository parent More... | |
| saveObject () | |
| save object More... | |
| getDidacticTemplateVar ($a_type) | |
| Get didactic template setting from creation screen. More... | |
| putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
| Add object to tree at given position. More... | |
| editObject () | |
| edit object More... | |
| addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
| updateObject () | |
| updates object entry in object_data More... | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. More... | |
| isVisible ($a_ref_id, $a_type) | |
| viewObject () | |
| list childs of current object More... | |
| deleteObject ($a_error=false) | |
| Display deletion confirmation screen. More... | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
| redirectAfterCreation () | |
| Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. More... | |
| addToDeskObject () | |
| Add desktop item @access public. More... | |
| removeFromDeskObject () | |
| Remove from desktop @access public. More... | |
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 | |
| $ilNavigationHistory | |
| $access | |
| $ilObjDataCache | |
| $tabs | |
| $error | |
| $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 () | |||||||
| initEditCustomForm (ilPropertyFormGUI $a_form) | |||||||
| getEditFormCustomValues (array &$a_values) | |||||||
| updateCustom (ilPropertyFormGUI $a_form) | |||||||
| renderDraftContent (string $action, bool $render_drafts, $node, $edit_draft_id=null) | |||||||
| renderPostContent (ilForumPost $node, string $action, $Start, $z) | |||||||
| afterSave (ilObject $a_new_object) | |||||||
| getTabs () | |||||||
| get tabs abstract method. More... | |||||||
| confirmDeleteThreadDraftsObject () | |||||||
| toggleThreadNotificationObject () | |||||||
| toggleStickinessObject () | |||||||
| deleteThreadDraftsObject () | |||||||
| createThreadObject () | |||||||
| publishThreadDraftObject () | |||||||
| addThreadObject () | |||||||
| enableForumNotificationObject () | |||||||
| disableForumNotificationObject () | |||||||
| setColumnSettings (ilColumnGUI $column_gui) | |||||||
| May be overwritten in subclasses. More... | |||||||
| addLocatorItems () | |||||||
| should be overwritten to add object specific items (repository items are preloaded) More... | |||||||
| infoScreen () | |||||||
| markPostUnreadObject () | |||||||
| markPostReadObject () | |||||||
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |||||||
Add header action menu.
| |||||||
| saveThreadSortingObject () | |||||||
| setSideBlocks () | |||||||
| deliverDraftZipFileObject () | |||||||
| deliverZipFileObject () | |||||||
| editThreadDraftObject (\ilPropertyFormGUI $form=null) | |||||||
| restoreFromHistoryObject () | |||||||
| saveThreadAsDraftObject () | |||||||
| updateThreadDraftObject () | |||||||
| editDraftObject () | |||||||
| deleteMobsOfDraft ($draft_id, $message) | |||||||
| todo: move to ilForumUtil More... | |||||||
| deleteSelectedDraft (ilForumPostDraft $draft_obj=null) | |||||||
| autosaveDraftAsyncObject () | |||||||
| autosaveThreadDraftAsyncObject () | |||||||
| doCaptchaCheck () | |||||||
| Performs a CAPTCHA check for anonymous users if the CAPTCHA should be used for forums in the public area. More... | |||||||
Protected Member Functions inherited from ilObjectGUI | |||||||
| getObjectService () | |||||||
| Get object service. More... | |||||||
| 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 | |
| decorateWithAutosave (\ilPropertyFormGUI $form) | |
| isHierarchicalView () | |
| isTopLevelReplyCommand () | |
| getThreadEditingForm ($a_thread_id) | |
| deletePostingDraftObject () | |
| revokeCensorshipObject () | |
| addCensorshipObject () | |
| getReplyEditForm () | |
| hideToolbar ($a_flag=null) | |
| getForumObjects () | |
| getModifiedReOnSubject ($on_reply=false) | |
| isWritingWithPseudonymAllowed () | |
| buildThreadForm ($isDraft=false) | |
| createThread (\ilForumPostDraft $draft, bool $createFromDraft=false) | |
| Refactored thread creation to method, refactoring to a separate class should be done in next refactoring steps. More... | |
| renderSplitButton (string $action, $is_post=true, ilForumPost $node, $Start=0, ilForumPostDraft $draft=null) | |
| doHistoryCheck ($draftId) | |
Private Attributes | |
| $objCurrentTopic | |
| $objCurrentPost | |
| $display_confirm_post_activation = 0 | |
| $is_moderator = false | |
| $create_form_gui | |
| $replyEditForm | |
| $hideToolbar = false | |
| $httpRequest | |
| $uiFactory | |
| $uiRenderer | |
| $forumObjects = null | |
| $confirmation_gui_html = '' | |
| $forum_settings_gui | |
| $requestAction = '' | |
Additional Inherited Members | |
Protected Attributes inherited from ilObjectGUI | |
| $ilErr | |
| $locator | |
| $user | |
| $access | |
| $settings | |
| $rbacreview | |
| $toolbar | |
| $tmp_import_dir | |
| $tabs_gui = null | |
| $ctrl | |
| $object_service | |
Class ilObjForumGUI.
Definition at line 18 of file class.ilObjForumGUI.php.
| ilObjForumGUI::__construct | ( | $a_data, | |
| $a_id, | |||
$a_call_by_reference = true, |
|||
$a_prepare_output = true |
|||
| ) |
Definition at line 85 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 1152 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(), and ilUtil\sendInfo().
Here is the call graph for this function:
|
private |
Definition at line 1442 of file class.ilObjForumGUI.php.
|
protected |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 3474 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 3400 of file class.ilObjForumGUI.php.
References createThread(), ilForumPostDraft\isSavePostDraftAllowed(), and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:| ilObjForumGUI::addToDeskObject | ( | ) |
Add desktop item @access public.
Implements ilDesktopItemHandling.
Definition at line 3678 of file class.ilObjForumGUI.php.
References ilDesktopItemGUI\addToDesktop(), settings(), and showThreadsObject().
Here is the call graph for this function:
|
protected |
| ilObject | ilObjForum | $a_new_object |
Reimplemented from ilObjectGUI.
Definition at line 1047 of file class.ilObjForumGUI.php.
References ilObject\getRefId().
Here is the call graph for this function:| ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1472 of file class.ilObjForumGUI.php.
References error(), and setDisplayConfirmPostActivation().
Here is the call graph for this function:
|
protected |
Definition at line 4492 of file class.ilObjForumGUI.php.
References $action, $message, exit, getReplyEditForm(), handleFormInput(), ilObjForum\lookupForumIdByRefId(), ilUtil\stripSlashes(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 4520 of file class.ilObjForumGUI.php.
References $action, $message, buildThreadForm(), exit, handleFormInput(), ilObjForum\lookupForumIdByRefId(), ilUtil\stripSlashes(), and user().
Here is the call graph for this function:
|
private |
| bool | $isDraft |
Definition at line 3216 of file class.ilObjForumGUI.php.
References $form, decorateWithAutosave(), isWritingWithPseudonymAllowed(), and user().
Referenced by autosaveThreadDraftAsyncObject(), createThread(), createThreadObject(), editThreadDraftObject(), saveThreadAsDraftObject(), and updateThreadDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::cancelDraftObject | ( | ) |
Definition at line 1548 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::cancelMoveThreadsObject | ( | ) |
Definition at line 3085 of file class.ilObjForumGUI.php.
References $_SESSION.
| ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1537 of file class.ilObjForumGUI.php.
References $_POST, and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:| ilObjForumGUI::checkDraftAccess | ( | int | $draftId | ) |
| int | $draftId |
Definition at line 4760 of file class.ilObjForumGUI.php.
References 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:
|
protected |
Definition at line 1300 of file class.ilObjForumGUI.php.
References error(), ilForumPostDraft\getDraftInstancesByUserId(), ilUtil\sendInfo(), showThreadsObject(), and user().
Here is the call graph for this function:| ilObjForumGUI::confirmDeleteThreads | ( | ) |
Definition at line 1259 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 3795 of file class.ilObjForumGUI.php.
References ilForumTopic\_lookupDate(), ilForumTopic\_lookupTitle(), ensureThreadBelongsToForum(), error(), ilForumTopic\lookupForumIdByTopicId(), mergeThreadsObject(), ilUtil\sendFailure(), ilUtil\sendInfo(), and showThreadsObject().
Here is the call graph for this function:
|
private |
Refactored thread creation to method, refactoring to a separate class should be done in next refactoring steps.
| ilForumPostDraft | $draft | |
| bool | $createFromDraft |
Definition at line 3262 of file class.ilObjForumGUI.php.
References $form, $GLOBALS, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), buildThreadForm(), ilForumPostDraft\deleteDraft(), doCaptchaCheck(), error(), ilForumPostDraft\getDraftId(), ilForumPostDraft\getNotify(), ilForumPostDraft\getPostAuthorId(), ilForumPostDraft\getPostDisplayUserId(), ilForumPostDraft\getPostNotify(), ilForumPostDraft\getPostUserAlias(), ilForumUtil\getPublicUserAlias(), handleFormInput(), isWritingWithPseudonymAllowed(), and user().
Referenced by addThreadObject(), and publishThreadDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 3240 of file class.ilObjForumGUI.php.
References buildThreadForm(), error(), and ilObjectGUI\getHTML().
Here is the call graph for this function:| ilObjForumGUI::createTopLevelPostObject | ( | ) |
Definition at line 1922 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\getDraftId(), ilForumPostDraft\isSavePostDraftAllowed(), and user().
Here is the call graph for this function:
|
private |
| \ilPropertyFormGUI | $form |
Definition at line 162 of file class.ilObjForumGUI.php.
References $_GET, $form, ilUtil\getImagePath(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\lookupAutosaveInterval(), and ilUtil\stripSlashes().
Referenced by buildThreadForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
todo: move to ilForumUtil
| $draft_id | |
| $message |
Definition at line 4421 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:
|
private |
Definition at line 1432 of file class.ilObjForumGUI.php.
References deleteSelectedDraft().
Here is the call graph for this function:
|
protected |
| ilForumPostDraft | null | $draft_obj |
Definition at line 4447 of file class.ilObjForumGUI.php.
References $_GET, $GLOBALS, deleteMobsOfDraft(), error(), ilForumPostDraft\getPostAuthorId(), ilForumPostDraft\isSavePostDraftAllowed(), and user().
Referenced by deletePostingDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 3167 of file class.ilObjForumGUI.php.
References $GLOBALS, deleteMobsOfDraft(), error(), ilForumPostDraft\getDraftInstancesByUserId(), ilUtil\sendInfo(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 3920 of file class.ilObjForumGUI.php.
References error(), and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:
|
protected |
Definition at line 3939 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), and error().
Here is the call graph for this function:
|
protected |
Definition at line 3433 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), showThreadsObject(), and user().
Here is the call graph for this function:| ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1492 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
Referenced by renderPostContent(), and renderSplitButton().
Here is the caller graph for this function:
|
protected |
Performs a CAPTCHA check for anonymous users if the CAPTCHA should be used for forums in the public area.
Definition at line 4823 of file class.ilObjForumGUI.php.
References user().
Referenced by createThread(), saveThreadAsDraftObject(), and updateThreadDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| $draftId |
Definition at line 4776 of file class.ilObjForumGUI.php.
References $header, $key, $message, ilRTE\_replaceMediaObjectImageSrc(), ilForumPostDraft\createDraftBackup(), ilDatePresentation\formatDate(), 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:
|
protected |
Definition at line 4293 of file class.ilObjForumGUI.php.
References checkDraftAccess(), doHistoryCheck(), and ilForumPostDraft\isAutoSavePostDraftAllowed().
Here is the call graph for this function:
|
protected |
| ilPropertyFormGUI | null | $form |
Definition at line 3956 of file class.ilObjForumGUI.php.
References $form, ilRTE\_replaceMediaObjectImageSrc(), buildThreadForm(), doHistoryCheck(), error(), and ilForumPostDraft\isSavePostDraftAllowed().
Referenced by updateThreadDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::editThreadObject | ( | $threadId, | |
| ilPropertyFormGUI | $form = null |
||
| ) |
| int | $threadId | |
| ilPropertyFormGUI | $form |
Definition at line 445 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:
|
protected |
Definition at line 3413 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), showThreadsObject(), and user().
Here is the call graph for this function:| ilObjForumGUI::ensureThreadBelongsToForum | ( | int | $objId, |
| \ilForumTopic | $thread | ||
| ) |
| int | $objId | |
| ilForumTopic | $thread |
Definition at line 151 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 218 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $forum_settings_gui, $ret, ilLink\_getLink(), 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 1615 of file class.ilObjForumGUI.php.
References $_GET, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjForumGUI::getCensorshipFormHTML | ( | ) |
Definition at line 1634 of file class.ilObjForumGUI.php.
References $_GET, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjForumGUI::getContent | ( | ) |
Definition at line 537 of file class.ilObjForumGUI.php.
References $_GET, $tbl, error(), ilLinkButton\getInstance(), ilForumPostDraft\getThreadDraftData(), ilForumPostDraft\isSavePostDraftAllowed(), ilObjForum\lookupForumIdByObjId(), ilAccessKey\MARK_ALL_READ, settings(), and user().
Here is the call graph for this function:
|
protected |
| array | $a_values |
Reimplemented from ilObjectGUI.
Definition at line 406 of file class.ilObjForumGUI.php.
|
private |
Definition at line 2436 of file class.ilObjForumGUI.php.
References $forumObjects, and $object.
Referenced by publishDraftObject().
Here is the caller graph for this function:
|
private |
Definition at line 2832 of file class.ilObjForumGUI.php.
|
private |
Definition at line 1910 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 529 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 1054 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 423 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 3481 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Referenced by autosaveDraftAsyncObject(), autosaveThreadDraftAsyncObject(), createThread(), saveThreadAsDraftObject(), and updateThreadDraftObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 2368 of file class.ilObjForumGUI.php.
References $hideToolbar, and hideToolbar().
Referenced by confirmDeleteThreads(), hideToolbar(), and moveThreadsObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 3500 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 387 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 397 of file class.ilObjForumGUI.php.
|
protected |
Add header action menu.
| string | $a_sub_type | |
| int | $a_sub_id |
Reimplemented from ilObjectGUI.
Definition at line 3556 of file class.ilObjForumGUI.php.
References $lg, ilUtil\getImagePath(), isParentObjectCrsOrGrp(), isUserAllowedToDeactivateNotification(), settings(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 132 of file class.ilObjForumGUI.php.
References 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 196 of file class.ilObjForumGUI.php.
References $_SESSION, ilForumProperties\VIEW_DATE, and ilForumProperties\VIEW_TREE.
| ilObjForumGUI::isParentObjectCrsOrGrp | ( | ) |
Definition at line 3667 of file class.ilObjForumGUI.php.
Referenced by initHeaderAction(), and isUserAllowedToDeactivateNotification().
Here is the caller graph for this function:
|
private |
Definition at line 210 of file class.ilObjForumGUI.php.
| ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) |
Definition at line 3644 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 3159 of file class.ilObjForumGUI.php.
Referenced by buildThreadForm(), and createThread().
Here is the caller graph for this function:| ilObjForumGUI::markAllReadObject | ( | ) |
Definition at line 504 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), showThreadsObject(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 3535 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), error(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 3518 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), error(), and user().
Here is the call graph for this function:| ilObjForumGUI::mergeThreadsObject | ( | ) |
Definition at line 3730 of file class.ilObjForumGUI.php.
References $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 3091 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $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 1208 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 3860 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), error(), ilUtil\sendFailure(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::performMoveThreadsObject | ( | ) |
Definition at line 3033 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 1367 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 2915 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $i, $message, confirmDeleteThreads(), editThreadObject(), ensureThreadBelongsToForum(), error(), executeCommand(), mergeThreadsObject(), moveThreadsObject(), ilUtil\sendInfo(), settings(), and user().
Here is the call graph for this function:| ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 3492 of file class.ilObjForumGUI.php.
References ilUtil\prepareFormOutput().
Here is the call graph for this function:| ilObjForumGUI::publishDraftObject | ( | $use_replyform = true | ) |
Definition at line 1959 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $GLOBALS, $message, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), error(), getForumObjects(), getReplyEditForm(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\saveMediaObjects(), ilUtil\sendFailure(), 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 1952 of file class.ilObjForumGUI.php.
References $_GET, and publishDraftObject().
Here is the call graph for this function:
|
protected |
Definition at line 3384 of file class.ilObjForumGUI.php.
References createThread(), error(), ilForumPostDraft\isSavePostDraftAllowed(), and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:| ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 2378 of file class.ilObjForumGUI.php.
References $_POST, error(), and getReplyEditForm().
Here is the call graph for this function:| ilObjForumGUI::removeFromDeskObject | ( | ) |
Remove from desktop @access public.
Implements ilDesktopItemHandling.
Definition at line 3691 of file class.ilObjForumGUI.php.
References ilDesktopItemGUI\removeFromDesktop(), settings(), and showThreadsObject().
Here is the call graph for this function:
|
protected |
| string | $action | |
| bool | $render_drafts | |
| $node | ||
| null | $edit_draft_id |
| ilSplitButtonException |
Definition at line 629 of file class.ilObjForumGUI.php.
References $_GET, $action, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, ilGlyphGUI\get(), ilLinkButton\getInstance(), ilForumPostDraft\getInstancesByUserIdAndThreadId(), getReplyEditForm(), ilUtil\prepareFormOutput(), renderSplitButton(), and user().
Here is the call graph for this function:
|
protected |
| ilForumPost | $node | |
| string | $action | |
| $Start | ||
| $z |
| ilSplitButtonException |
Definition at line 825 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $action, $is_moderator, $object, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, displayConfirmPostActivation(), ilGlyphGUI\get(), ilForumPost\getCensorshipComment(), ilForumPost\getChangeDate(), ilForumPost\getCreateDate(), ilForumPost\getDepth(), 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(), ilUtil\prepareFormOutput(), renderSplitButton(), ilForumPost\setChangeDate(), ilForumPost\setMessage(), ilUtil\switchColor(), and user().
Here is the call graph for this function:
|
private |
| string | $action | |
| bool | $is_post | |
| ilForumPost | $node | |
| int | $Start | |
| ilForumPostDraft | NULL | $draft |
| ilSplitButtonException |
Definition at line 4556 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $action, ilObjectGUI\$actions, $i, $url, displayConfirmPostActivation(), 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:
|
protected |
Definition at line 3998 of file class.ilObjForumGUI.php.
References ilForumPostDraft\createDraftBackup().
Here is the call graph for this function:
|
private |
Definition at line 1437 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4021 of file class.ilObjForumGUI.php.
References $form, $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), buildThreadForm(), doCaptchaCheck(), error(), ilForumUtil\getPublicUserAlias(), handleFormInput(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 3701 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), and error().
Here is the call graph for this function:| ilObjForumGUI::saveTopLevelPostObject | ( | ) |
Definition at line 1946 of file class.ilObjForumGUI.php.
|
protected |
May be overwritten in subclasses.
Reimplemented from ilObjectGUI.
Definition at line 3456 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 1487 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
Here is the caller graph for this function:
|
protected |
Definition at line 3905 of file class.ilObjForumGUI.php.
References 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:| ilObjForumGUI::showStatisticsObject | ( | ) |
if globally deactivated, skip!!! intrusion detected
Definition at line 1108 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$data, $result, $row, $tbl, error(), ilUtil\sendInfo(), and settings().
Here is the call graph for this function:| ilObjForumGUI::showThreadsObject | ( | ) |
Definition at line 515 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Referenced by addToDeskObject(), confirmDeleteThreadDraftsObject(), confirmDeleteThreads(), confirmMergeThreadsObject(), disableForumNotificationObject(), enableForumNotificationObject(), executeCommand(), markAllReadObject(), mergeThreadsObject(), performDeleteThreadsObject(), performMergeThreadsObject(), removeFromDeskObject(), and updateThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::showUserObject | ( | ) |
Definition at line 2877 of file class.ilObjForumGUI.php.
References $_GET, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjForumGUI::sortThreadsObject | ( | ) |
Definition at line 522 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Here is the call graph for this function:
|
protected |
Definition at line 1516 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), and error().
Here is the call graph for this function:
|
protected |
Definition at line 1497 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 414 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4107 of file class.ilObjForumGUI.php.
References $form, $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), buildThreadForm(), doCaptchaCheck(), editThreadDraftObject(), error(), ilForumUtil\getPublicUserAlias(), handleFormInput(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), and user().
Here is the call graph for this function:| ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 473 of file class.ilObjForumGUI.php.
References $form, editThreadObject(), ensureThreadBelongsToForum(), error(), getThreadEditingForm(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::$access |
Definition at line 73 of file class.ilObjForumGUI.php.
|
private |
Definition at line 63 of file class.ilObjForumGUI.php.
|
private |
Definition at line 39 of file class.ilObjForumGUI.php.
|
private |
Definition at line 33 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
| ilObjForumGUI::$error |
Definition at line 76 of file class.ilObjForumGUI.php.
|
private |
Definition at line 66 of file class.ilObjForumGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 60 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
|
private |
Definition at line 45 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
|
private |
Definition at line 51 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$ilHelp |
Definition at line 83 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$ilNavigationHistory |
Definition at line 69 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$ilObjDataCache |
Definition at line 74 of file class.ilObjForumGUI.php.
|
private |
Definition at line 36 of file class.ilObjForumGUI.php.
Referenced by moveThreadsObject(), and renderPostContent().
| ilObjForumGUI::$locator |
Definition at line 82 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$modal_history = '' |
Definition at line 21 of file class.ilObjForumGUI.php.
|
private |
Definition at line 30 of file class.ilObjForumGUI.php.
|
private |
Definition at line 27 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$object |
Definition at line 48 of file class.ilObjForumGUI.php.
Referenced by getForumObjects(), and renderPostContent().
| ilObjForumGUI::$objProperties |
Definition at line 24 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$rbac |
Definition at line 81 of file class.ilObjForumGUI.php.
|
private |
Definition at line 42 of file class.ilObjForumGUI.php.
Referenced by getReplyEditForm().
| ilObjForumGUI::$repositoryTree |
Definition at line 80 of file class.ilObjForumGUI.php.
|
private |
Definition at line 71 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$settings |
Definition at line 78 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$tabs |
Definition at line 75 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$toolbar |
Definition at line 79 of file class.ilObjForumGUI.php.
|
private |
Definition at line 54 of file class.ilObjForumGUI.php.
|
private |
Definition at line 57 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$user |
Definition at line 77 of file class.ilObjForumGUI.php.