|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 () | |
| checkUsersViewMode () | |
| showUserObject () | |
| performThreadsActionObject () | |
| performMoveThreadsObject () | |
| cancelMoveThreadsObject () | |
| moveThreadsObject () | |
| handleFormInput ($a_text, $a_stripslashes=true) | |
| prepareFormOutput ($a_text) | |
| isUserAllowedToDeactivateNotification () | |
| isParentObjectCrsOrGrp () | |
| mergeThreadsObject () | |
| confirmMergeThreadsObject () | |
| performMergeThreadsObject () | |
| saveTopLevelDraftObject () | |
| 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 () | |
| viewObject container presentation for "administration -> repository, trash, permissions" 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 () | |
| @inheritDoc More... | |
| removeFromDeskObject () | |
| @inheritDoc More... | |
Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback | |
| callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Public Member Functions inherited from ilDesktopItemHandling | |
| 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 | ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION |
| 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 () | |||||||
| toggleExplorerNodeStateObject () | |||||||
| Toggle explorer node. More... | |||||||
| ensureValidPageForCurrentPosting (array $subtree_nodes, array $pagedPostings, int $pageSize, ilForumPost $firstForumPost) | |||||||
| initEditCustomForm (ilPropertyFormGUI $a_form) | |||||||
| getEditFormCustomValues (array &$a_values) | |||||||
| updateCustom (ilPropertyFormGUI $a_form) | |||||||
| renderDraftContent (ilTemplate $tpl, string $action, ilForumPost $referencePosting, array $drafts) | |||||||
| renderPostContent (ilTemplate $tpl, ilForumPost $node, string $action, int $pageIndex, int $postIndex) | |||||||
| 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... | |||||||
| 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) | |
| isTopLevelReplyCommand () | |
| getThreadEditingForm ($a_thread_id) | |
| deletePostingDraftObject () | |
| revokeCensorshipObject () | |
| addCensorshipObject () | |
| getModalActions () | |
| getReplyEditForm () | |
| hideToolbar ($a_flag=null) | |
| getForumObjects () | |
| renderViewModeControl (int $currentViewMode) | |
| renderSortationControl (int $currentSorting) | |
| 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 (ilTemplate $tpl, string $action, bool $is_post, ilForumPost $node, int $pageIndex=0, ilForumPostDraft $draft=null) | |
| doHistoryCheck ($draftId) | |
Private Attributes | |
| $viewModeOptions | |
| $sortationOptions | |
| $globalScreen | |
| $objCurrentTopic | |
| $objCurrentPost | |
| $display_confirm_post_activation = 0 | |
| $is_moderator = false | |
| $replyEditForm | |
| $hideToolbar = false | |
| $httpRequest | |
| $http | |
| $uiFactory | |
| $uiRenderer | |
| $forumObjects = null | |
| $confirmation_gui_html = '' | |
| $forum_settings_gui | |
| $requestAction = '' | |
| $modalActionsContainer = [] | |
| $selectedSorting | |
Additional Inherited Members | |
Protected Attributes inherited from ilObjectGUI | |
| const | UPLOAD_TYPE_LOCAL = 1 |
| const | UPLOAD_TYPE_UPLOAD_DIRECTORY = 2 |
| $ilErr | |
| $locator | |
| $user | |
| $access | |
| $rbacsystem | |
| $settings | |
| $rbacreview | |
| $toolbar | |
| $tmp_import_dir | |
| $tabs_gui = null | |
| $ctrl | |
| $object_service | |
| $favourites | |
| $request | |
Class ilObjForumGUI.
Definition at line 17 of file class.ilObjForumGUI.php.
| ilObjForumGUI::__construct | ( | $a_data, | |
| $a_id, | |||
$a_call_by_reference = true, |
|||
$a_prepare_output = true |
|||
| ) |
Definition at line 103 of file class.ilObjForumGUI.php.
References $_GET, $DIC, ILIAS\GlobalScreen\Provider\__construct(), checkUsersViewMode(), error(), ilForumProperties\getInstance(), ILIAS\FileDelivery\http(), initSessionStorage(), settings(), and user().
Here is the call graph for this function:
|
static |
Definition at line 1344 of file class.ilObjForumGUI.php.
References $_GET, $DIC, $ilErr, $lng, ilObject\_getAllReferences(), ilObject\_lookupObjectId(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ROOT_FOLDER_ID, and ilUtil\sendInfo().
Here is the call graph for this function:
|
private |
Definition at line 1634 of file class.ilObjForumGUI.php.
|
protected |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 3867 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 3793 of file class.ilObjForumGUI.php.
References ilForumPostDraft\isSavePostDraftAllowed(), and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:
|
protected |
| ilObject | ilObjForum | $a_new_object |
Reimplemented from ilObjectGUI.
Definition at line 1172 of file class.ilObjForumGUI.php.
References ilObject\getRefId().
Here is the call graph for this function:| ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1680 of file class.ilObjForumGUI.php.
References error().
Here is the call graph for this function:
|
protected |
Definition at line 4912 of file class.ilObjForumGUI.php.
References $message, ILIAS\FileDelivery\http(), ilObjForum\lookupForumIdByRefId(), ilUtil\stripSlashes(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 4943 of file class.ilObjForumGUI.php.
References $message, ILIAS\FileDelivery\http(), ilObjForum\lookupForumIdByRefId(), ilUtil\stripSlashes(), and user().
Here is the call graph for this function:
|
private |
| bool | $isDraft |
Definition at line 3606 of file class.ilObjForumGUI.php.
References user().
Here is the call graph for this function:| ilObjForumGUI::cancelDraftObject | ( | ) |
Definition at line 1756 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 3468 of file class.ilObjForumGUI.php.
References $_SESSION.
| ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1745 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 5257 of file class.ilObjForumGUI.php.
References error(), ilForumPostDraft\getPostAuthorId(), and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:| ilObjForumGUI::checkUsersViewMode | ( | ) |
Definition at line 2703 of file class.ilObjForumGUI.php.
References ilSession\get(), ilSession\set(), ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1507 of file class.ilObjForumGUI.php.
References error(), ilForumPostDraft\getDraftInstancesByUserId(), ilUtil\sendInfo(), and user().
Here is the call graph for this function:| ilObjForumGUI::confirmDeleteThreads | ( | ) |
Definition at line 1466 of file class.ilObjForumGUI.php.
References $_POST, error(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::confirmMergeThreadsObject | ( | ) |
Definition at line 4173 of file class.ilObjForumGUI.php.
References ilForumTopic\_lookupDate(), ilForumTopic\_lookupTitle(), error(), ilForumTopic\lookupForumIdByTopicId(), ilUtil\sendFailure(), and ilUtil\sendInfo().
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 3652 of file class.ilObjForumGUI.php.
References $GLOBALS, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), ilForumPostDraft\deleteDraft(), error(), ilForumPostDraft\getDraftId(), ilForumPostDraft\getNotify(), ilForumPostDraft\getPostAuthorId(), ilForumPostDraft\getPostDisplayUserId(), ilForumPostDraft\getPostNotify(), ilForumPostDraft\getPostUserAlias(), ilForumUtil\getPublicUserAlias(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 3630 of file class.ilObjForumGUI.php.
References error().
Here is the call graph for this function:| ilObjForumGUI::createTopLevelPostObject | ( | ) |
Definition at line 2138 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\getDraftId(), ilForumPostDraft\isSavePostDraftAllowed(), ilUtil\stripSlashes(), and user().
Here is the call graph for this function:
|
private |
| \ilPropertyFormGUI | $form |
Definition at line 245 of file class.ilObjForumGUI.php.
References $_GET, ilFormGUI\getId(), ilUtil\getImagePath(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\lookupAutosaveInterval(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
todo: move to ilForumUtil
| $draft_id | |
| $message |
Definition at line 4839 of file class.ilObjForumGUI.php.
References $message, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), and ilObjMediaObject\_removeUsage().
Here is the call graph for this function:
|
private |
Definition at line 1624 of file class.ilObjForumGUI.php.
|
protected |
| ilForumPostDraft | null | $draft_obj |
Definition at line 4865 of file class.ilObjForumGUI.php.
References $_GET, $GLOBALS, error(), ilForumPostDraft\getPostAuthorId(), ilForumPostDraft\isSavePostDraftAllowed(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 3557 of file class.ilObjForumGUI.php.
References $GLOBALS, error(), ilForumPostDraft\getDraftInstancesByUserId(), ilUtil\sendInfo(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 4298 of file class.ilObjForumGUI.php.
References error(), and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:
|
protected |
Definition at line 4317 of file class.ilObjForumGUI.php.
References error().
Here is the call graph for this function:
|
protected |
Definition at line 3826 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), and user().
Here is the call graph for this function:| ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1700 of file class.ilObjForumGUI.php.
|
protected |
Performs a CAPTCHA check for anonymous users if the CAPTCHA should be used for forums in the public area.
Definition at line 5327 of file class.ilObjForumGUI.php.
References user().
Here is the call graph for this function:
|
private |
| $draftId |
Definition at line 5273 of file class.ilObjForumGUI.php.
References $message, ilRTE\_replaceMediaObjectImageSrc(), ilForumPostDraft\createDraftBackup(), error(), ilDatePresentation\formatDate(), ilModalGUI\getInstance(), ilForumDraftsHistory\getInstancesByDraftId(), IL_CAL_DATETIME, iljQueryUtil\initjQuery(), and ilForumPostDraft\isAutoSavePostDraftAllowed().
Here is the call graph for this function:
|
protected |
Definition at line 4692 of file class.ilObjForumGUI.php.
References ilForumPostDraft\isAutoSavePostDraftAllowed().
Here is the call graph for this function:
|
protected |
| ilPropertyFormGUI | null | $form |
Definition at line 4334 of file class.ilObjForumGUI.php.
References ilRTE\_replaceMediaObjectImageSrc(), error(), and ilForumPostDraft\isSavePostDraftAllowed().
Here is the call graph for this function:| ilObjForumGUI::editThreadObject | ( | $threadId, | |
| ilPropertyFormGUI | $form = null |
||
| ) |
| int | $threadId | |
| ilPropertyFormGUI | $form |
Definition at line 556 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), error(), and getThreadEditingForm().
Referenced by updateThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 3806 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), and user().
Here is the call graph for this function:| ilObjForumGUI::ensureThreadBelongsToForum | ( | int | $objId, |
| \ilForumTopic | $thread | ||
| ) |
| int | $objId | |
| ilForumTopic | $thread |
Definition at line 234 of file class.ilObjForumGUI.php.
References $objId, error(), ilForumTopic\getForumId(), and ilObjForum\lookupForumIdByObjId().
Referenced by editThreadObject(), executeCommand(), and updateThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| array | $subtree_nodes | |
| array | $pagedPostings | |
| int | $pageSize | |
| ilForumPost | $firstForumPost |
Definition at line 187 of file class.ilObjForumGUI.php.
References $i, ilForumPost\getId(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjForumGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 287 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $forum_settings_gui, $ret, ilLink\_getLink(), ilObjectGUI\addHeaderAction(), ilNavigationHistory\addItem(), ensureThreadBelongsToForum(), error(), ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilRating\getOverallRatingForObject(), ILIAS\FileDelivery\http(), infoScreen(), ilObjectGUI\prepareOutput(), setSideBlocks(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::getActivationFormHTML | ( | ) |
Definition at line 1784 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjForumGUI::getCensorshipFormHTML | ( | ) |
Definition at line 1807 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjForumGUI::getContent | ( | ) |
Definition at line 664 of file class.ilObjForumGUI.php.
References $_GET, 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 517 of file class.ilObjForumGUI.php.
|
private |
Definition at line 2686 of file class.ilObjForumGUI.php.
|
private |
Definition at line 1642 of file class.ilObjForumGUI.php.
|
private |
Definition at line 3211 of file class.ilObjForumGUI.php.
|
private |
Definition at line 2126 of file class.ilObjForumGUI.php.
Referenced by renderDraftContent().
Here is the caller graph for this function:| ilObjForumGUI::getSubTabs | ( | $subtab = 'showThreads' | ) |
Definition at line 640 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 1179 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 534 of file class.ilObjForumGUI.php.
Referenced by editThreadObject(), and updateThreadObject().
Here is the caller graph for this function:| ilObjForumGUI::handleFormInput | ( | $a_text, | |
$a_stripslashes = true |
|||
| ) |
Definition at line 3879 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Here is the call graph for this function:
|
private |
Definition at line 2610 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 3898 of file class.ilObjForumGUI.php.
References 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 498 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 508 of file class.ilObjForumGUI.php.
|
protected |
Add header action menu.
| string | $a_sub_type | |
| int | $a_sub_id |
Reimplemented from ilObjectGUI.
Definition at line 3954 of file class.ilObjForumGUI.php.
References ilUtil\getImagePath(), settings(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 150 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:| ilObjForumGUI::isParentObjectCrsOrGrp | ( | ) |
Definition at line 4065 of file class.ilObjForumGUI.php.
|
private |
Definition at line 279 of file class.ilObjForumGUI.php.
| ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) |
Definition at line 4042 of file class.ilObjForumGUI.php.
Here is the call graph for this function:
|
private |
Definition at line 3549 of file class.ilObjForumGUI.php.
| ilObjForumGUI::markAllReadObject | ( | ) |
Definition at line 615 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), showThreadsObject(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 3933 of file class.ilObjForumGUI.php.
References error(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 3916 of file class.ilObjForumGUI.php.
References error(), and user().
Here is the call graph for this function:| ilObjForumGUI::mergeThreadsObject | ( | ) |
Definition at line 4102 of file class.ilObjForumGUI.php.
References ilForum\_lookupObjIdForForumId(), error(), ilUtil\sendFailure(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::moveThreadsObject | ( | ) |
Definition at line 3474 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $result, error(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::performDeleteThreadsObject | ( | ) |
Definition at line 1415 of file class.ilObjForumGUI.php.
References $_POST, error(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::performMergeThreadsObject | ( | ) |
Definition at line 4238 of file class.ilObjForumGUI.php.
References Vendor\Package\$e, error(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjForumGUI::performMoveThreadsObject | ( | ) |
Definition at line 3415 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, error(), ilUtil\sendFailure(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1559 of file class.ilObjForumGUI.php.
References $GLOBALS, error(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::performThreadsActionObject | ( | ) |
Definition at line 3297 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $i, $message, error(), ilUtil\sendInfo(), settings(), and user().
Here is the call graph for this function:| ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 3890 of file class.ilObjForumGUI.php.
References ilUtil\prepareFormOutput().
Here is the call graph for this function:| ilObjForumGUI::publishDraftObject | ( | $use_replyform = true | ) |
Definition at line 2183 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $GLOBALS, $message, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), error(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\saveMediaObjects(), ilUtil\sendFailure(), and user().
Here is the call graph for this function:| ilObjForumGUI::publishSelectedDraftObject | ( | ) |
Definition at line 2176 of file class.ilObjForumGUI.php.
References $_GET.
|
protected |
Definition at line 3777 of file class.ilObjForumGUI.php.
References error(), ilForumPostDraft\isSavePostDraftAllowed(), and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:| ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 2620 of file class.ilObjForumGUI.php.
References $_POST, and error().
Here is the call graph for this function:
|
protected |
| ilTemplate | $tpl | |
| string | $action | |
| ilForumPost | $referencePosting | |
| ilForumPostDraft[] |
| ilSplitButtonException |
Definition at line 760 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$tpl, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, ilGlyphGUI\get(), ilForumPost\getDepth(), ilForumPost\getId(), ilLinkButton\getInstance(), getReplyEditForm(), ilForumPost\getThreadId(), ilForumPost\getUpdateUserId(), ilForumPost\isCensored(), ilUtil\prepareFormOutput(), renderSplitButton(), user(), and ilForumProperties\VIEW_TREE.
Here is the call graph for this function:
|
protected |
| ilTemplate | $tpl | |
| ilForumPost | $node | |
| string | $action | |
| int | $pageIndex | |
| int | $postIndex |
| ilSplitButtonException |
Definition at line 958 of file class.ilObjForumGUI.php.
References $tpl, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, 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(), ilForumPost\setChangeDate(), ilForumPost\setMessage(), ilUtil\stripSlashes(), ilUtil\switchColor(), and user().
Here is the call graph for this function:
|
private |
Definition at line 3187 of file class.ilObjForumGUI.php.
|
private |
| ilTemplate | $tpl | |
| string | $action | |
| bool | $is_post | |
| ilForumPost | $node | |
| int | $pageIndex | |
| ilForumPostDraft | NULL | $draft |
| ilSplitButtonException |
Definition at line 4983 of file class.ilObjForumGUI.php.
References $_GET, $i, $tpl, $url, ilForumPost\getForumId(), ilForumPost\getId(), ilLinkButton\getInstance(), ilSplitButtonGUI\getInstance(), ilForumPost\getThreadId(), ilForumPost\hasReplies(), ilForumPost\isActivated(), ilForumPost\isCensored(), ilForumPost\isOwner(), ilForumPost\isPostRead(), ilUtil\stripSlashes(), and user().
Referenced by renderDraftContent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3157 of file class.ilObjForumGUI.php.
References ilForumProperties\VIEW_DATE_ASC.
|
protected |
Definition at line 4376 of file class.ilObjForumGUI.php.
References ilForumPostDraft\createDraftBackup().
Here is the call graph for this function:
|
private |
Definition at line 1629 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4399 of file class.ilObjForumGUI.php.
References $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), error(), ilForumUtil\getPublicUserAlias(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 4073 of file class.ilObjForumGUI.php.
References error().
Here is the call graph for this function:| ilObjForumGUI::saveTopLevelDraftObject | ( | ) |
Definition at line 4564 of file class.ilObjForumGUI.php.
| ilObjForumGUI::saveTopLevelPostObject | ( | ) |
Definition at line 2170 of file class.ilObjForumGUI.php.
|
protected |
May be overwritten in subclasses.
Reimplemented from ilObjectGUI.
Definition at line 3849 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 1695 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4283 of file class.ilObjForumGUI.php.
References 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 1296 of file class.ilObjForumGUI.php.
References $_GET, $data, $result, error(), ilUtil\sendInfo(), and settings().
Here is the call graph for this function:| ilObjForumGUI::showThreadsObject | ( | ) |
Definition at line 626 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Referenced by executeCommand(), markAllReadObject(), and updateThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::showUserObject | ( | ) |
Definition at line 3259 of file class.ilObjForumGUI.php.
References $_GET, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjForumGUI::sortThreadsObject | ( | ) |
Definition at line 633 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Here is the call graph for this function:
|
protected |
Toggle explorer node.
Definition at line 168 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 1724 of file class.ilObjForumGUI.php.
References error().
Here is the call graph for this function:
|
protected |
Definition at line 1705 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), and user().
Here is the call graph for this function:
|
protected |
| ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 525 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4488 of file class.ilObjForumGUI.php.
References $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), error(), ilForumUtil\getPublicUserAlias(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), and user().
Here is the call graph for this function:| ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 584 of file class.ilObjForumGUI.php.
References editThreadObject(), ensureThreadBelongsToForum(), error(), getThreadEditingForm(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::$access |
Definition at line 89 of file class.ilObjForumGUI.php.
|
private |
Definition at line 76 of file class.ilObjForumGUI.php.
|
private |
Definition at line 47 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$error |
Definition at line 92 of file class.ilObjForumGUI.php.
|
private |
Definition at line 79 of file class.ilObjForumGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 73 of file class.ilObjForumGUI.php.
|
private |
Definition at line 32 of file class.ilObjForumGUI.php.
|
private |
Definition at line 56 of file class.ilObjForumGUI.php.
|
private |
Definition at line 64 of file class.ilObjForumGUI.php.
|
private |
Definition at line 62 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$ilHelp |
Definition at line 99 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$ilNavigationHistory |
Definition at line 82 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$ilObjDataCache |
Definition at line 90 of file class.ilObjForumGUI.php.
|
private |
Definition at line 50 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$locator |
Definition at line 98 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$modal_history = '' |
Definition at line 35 of file class.ilObjForumGUI.php.
|
private |
Definition at line 87 of file class.ilObjForumGUI.php.
|
private |
Definition at line 44 of file class.ilObjForumGUI.php.
|
private |
Definition at line 41 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$object |
Definition at line 59 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$objProperties |
Definition at line 38 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$rbac |
Definition at line 97 of file class.ilObjForumGUI.php.
|
private |
Definition at line 53 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$repositoryTree |
Definition at line 96 of file class.ilObjForumGUI.php.
|
private |
Definition at line 84 of file class.ilObjForumGUI.php.
|
private |
Definition at line 101 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$settings |
Definition at line 94 of file class.ilObjForumGUI.php.
|
private |
Definition at line 26 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$tabs |
Definition at line 91 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$toolbar |
Definition at line 95 of file class.ilObjForumGUI.php.
|
private |
Definition at line 67 of file class.ilObjForumGUI.php.
|
private |
Definition at line 70 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$user |
Definition at line 93 of file class.ilObjForumGUI.php.
|
private |
Definition at line 20 of file class.ilObjForumGUI.php.