| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Class ilObjForumGUI. More...
 Inheritance diagram for ilObjForumGUI:
 Inheritance diagram for ilObjForumGUI: Collaboration diagram for ilObjForumGUI:
 Collaboration diagram for ilObjForumGUI:| Public Member Functions | |
| updateThreadObject () | |
| showThreadsObject () | |
| sortThreadsObject () | |
| getSubTabs ($subtab= 'showThreads') | |
| cancelObject ($in_rep=false) | |
| cancel action and go back to previous page  public | |
| performPostAndChildPostsActivationObject () | |
| performPostActivationObject () | |
| cancelPostActivationObject () | |
| askForPostActivationObject () | |
| setDisplayConfirmPostActivation ($status=0) | |
| displayConfirmPostActivation () | |
| toggleStickinessObject () | |
| cancelPostObject () | |
| quotePostObject () | |
| getForumExplorer () | |
| fetchTreeChildrenAsyncObject () | |
| setTreeStateAsynchObject () | |
| checkEnableColumnEdit () | |
| cloneWizardPageObject () | |
| handleFormInput ($a_text, $a_stripslashes=true) | |
| prepareFormOutput ($a_text) | |
| infoScreenObject () | |
| this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed | |
| getIcon ($user_toggle_noti) | |
| isUserAllowedToDeactivateNotification () | |
| removeFromDeskObject () | |
| saveThreadSortingObject () | |
| mergeThreadsObject () | |
| confirmMergeThreadsObject () | |
| cancelMergeThreads () | |
|  Public Member Functions inherited from ilObjectGUI | |
| ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
| Constructor  public. | |
| & | executeCommand () | 
| execute command | |
| withReferences () | |
| determines wether objects are referenced or not (got ref ids or not) | |
| 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 | |
| getCreationMode () | |
| get creation mode | |
| getAdminTabs (&$tabs_gui) | |
| administration tabs show only permissions and trash folder | |
| getHTML () | |
| confirmedDeleteObject () | |
| confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
| cancelDeleteObject () | |
| cancel deletion of object | |
| createObject () | |
| create new object form | |
| cancelCreation () | |
| cancel create action and go back to repository parent | |
| saveObject () | |
| save object | |
| editObject () | |
| edit object | |
| updateObject () | |
| updates object entry in object_data | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. | |
| isVisible ($a_ref_id, $a_type) | |
| viewObject () | |
| list childs of current object | |
| deleteObject ($a_error=false) | |
| Display deletion confirmation screen. | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. | |
|  Public Member Functions inherited from ilDesktopItemHandling | |
| addToDeskObject () | |
| Add desktop item  public. | |
| Data Fields | |
| $objProperties | |
| $object | |
| $ilias | |
|  Data Fields inherited from ilObjectGUI | |
| const | COPY_WIZARD_NEEDS_PAGE = 1 | 
| $ilias | |
| $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 () | |
| getEditFormCustomValues (Array &$a_values) | |
|  Protected Member Functions inherited from ilObjectGUI | |
| assignObject () | |
| prepareOutput () | |
| prepare output | |
| setTitleAndDescription () | |
| called by prepare output | |
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
| Add header action menu. | |
| insertHeaderAction ($a_list_gui) | |
| Insert header action into main template. | |
| addHeaderAction () | |
| Add header action menu. | |
| redrawHeaderActionObject () | |
| Ajax call: redraw action header only. | |
| showMountWebfolderIcon () | |
| setTabs () | |
| set admin tabs  public | |
| setAdminTabs () | |
| set admin tabs  public | |
| setLocator () | |
| set Locator | |
| addLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| omitLocator ($a_omit=true) | |
| addAdminLocatorItems ($a_do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| initCreationForms ($a_new_type) | |
| Init creation froms. | |
| getCreationFormsHTML (array $a_forms) | |
| Get HTML for creation forms (accordion) | |
| initCreateForm ($a_new_type) | |
| Init object creation form. | |
| initDidacticTemplate (ilPropertyFormGUI $form) | |
| Show didactic template types. | |
| addDidacticTemplateOptions (array &$a_options) | |
| Add custom templates. | |
| getDidacticTemplateVar ($a_type) | |
| Get didactic template setting from creation screen. | |
| putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
| Add object to tree at given position. | |
| afterSave (ilObject $a_new_object) | |
| Post (successful) object creation hook. | |
| initEditForm () | |
| Init object edit form. | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| Add custom fields to update form. | |
| getEditFormValues () | |
| Get values for edit form. | |
| getEditFormCustomValues (array &$a_values) | |
| Add values to custom edit fields. | |
| updateCustom (ilPropertyFormGUI $a_form) | |
| Insert custom update form values into object. | |
| afterUpdate () | |
| Post (successful) object update hook. | |
| initImportForm ($a_new_type) | |
| Init object import form. | |
| importFileObject ($parent_id=null) | |
| Import. | |
| afterImport (ilObject $a_new_object) | |
| Post (successful) object import hook. | |
| setFormAction ($a_cmd, $a_formaction) | |
| set specific form action for command | |
| getReturnLocation ($a_cmd, $a_location="") | |
| get return location for command (command is method name without "Object", e.g. | |
| setReturnLocation ($a_cmd, $a_location) | |
| set specific return location for command | |
| getTargetFrame ($a_cmd, $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. | |
| setTargetFrame ($a_cmd, $a_target_frame) | |
| set specific target frame for command | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. | |
| getTitlesByRefId ($a_ref_ids) | |
| get Titles of objects this method is used for error messages in methods cut/copy/paste | |
| getTabs (&$tabs_gui) | |
| get tabs abstract method. | |
| __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 | |
| 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 | |
| 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. | |
| getCenterColumnHTML () | |
| Get center column. | |
| getRightColumnHTML () | |
| Display right column. | |
| setColumnSettings ($column_gui) | |
| May be overwritten in subclasses. | |
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission and redirect on error. | |
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission. | |
| enableDragDropFileUpload () | |
| Enables the file upload into this object by dropping files. | |
| handleAutoRating (ilObject $a_new_obj) | |
| Activate rating automatically if parent container setting. | |
| Private Member Functions | |
| getThreadEditingForm ($a_thread_id) | |
| initForumCreateForm ($object_type) | |
| getReplyEditForm () | |
| hideToolbar ($a_flag=null) | |
| getForumObjects () | |
| getModifiedReOnSubject ($on_reply=false) | |
| setTopicCreateDefaultValues () | |
| updateUserNotifications ($update_all_users=false) | |
| initNotificationSettingsForm () | |
| getUserNotificationTableData ($user_ids, ilForumNotification $frm_noti) | |
| isParentObjectCrsOrGrp () | |
| Private Attributes | |
| $objCurrentTopic | |
| $objCurrentPost | |
| $display_confirm_post_activation = 0 | |
| $is_moderator = false | |
| $create_form_gui | |
| $create_topic_form_gui | |
| $replyEditForm | |
| $notificationSettingsForm | |
| $hideToolbar = false | |
| $forum_overview_setting = null | |
| $forumObjects | |
| $confirmation_gui_html = '' | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from ilObjectGUI | |
| static | _gotoRepositoryRoot ($a_raise_error=false) | 
| Goto repository root. | |
| static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") | 
| Goto repository root. | |
Class ilObjForumGUI.
ilObjForumGUI: ilPermissionGUI, ilForumExportGUI, ilInfoScreenGUI ilObjForumGUI: ilColumnGUI, ilPublicUserProfileGUI, ilForumModeratorsGUI ilObjForumGUI: ilObjectCopyGUI, ilExportGUI, ilCommonActionDispatcherGUI
Definition at line 27 of file class.ilObjForumGUI.php.
| ilObjForumGUI::askForPostActivationObject | ( | ) | 
Definition at line 1118 of file class.ilObjForumGUI.php.
References setDisplayConfirmPostActivation().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::cancelMergeThreads | ( | ) | 
Definition at line 4637 of file class.ilObjForumGUI.php.
References showThreadsObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::cancelObject | ( | $in_rep = false | ) | 
cancel action and go back to previous page public
Reimplemented from ilObjectGUI.
Definition at line 693 of file class.ilObjForumGUI.php.
References ilUtil\redirect(), and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::cancelPostActivationObject | ( | ) | 
Definition at line 1113 of file class.ilObjForumGUI.php.
| ilObjForumGUI::cancelPostObject | ( | ) | 
Definition at line 1176 of file class.ilObjForumGUI.php.
| ilObjForumGUI::checkEnableColumnEdit | ( | ) | 
Definition at line 3570 of file class.ilObjForumGUI.php.
| ilObjForumGUI::cloneWizardPageObject | ( | ) | 
Definition at line 3600 of file class.ilObjForumGUI.php.
References $_REQUEST, ilForum\_getThreads(), ilObjectGUI\createObject(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUtil\sendInfo(), and ilForum\SORT_TITLE.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::confirmMergeThreadsObject | ( | ) | 
Definition at line 4541 of file class.ilObjForumGUI.php.
References ilForumTopic\_lookupDate(), ilForumTopic\_lookupTitle(), ilForumTopic\lookupForumIdByTopicId(), mergeThreadsObject(), ilUtil\sendFailure(), ilUtil\sendInfo(), and showThreadsObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::displayConfirmPostActivation | ( | ) | 
Definition at line 1133 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
| ilObjForumGUI::fetchTreeChildrenAsyncObject | ( | ) | 
Definition at line 1864 of file class.ilObjForumGUI.php.
References $_SESSION, ilJsonUtil\encode(), exit, and ilForumExplorer\getTreeNodeHtml().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 352 of file class.ilObjForumGUI.php.
References ilForumProperties\VIEW_DATE, ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
| ilObjForumGUI::getForumExplorer | ( | ) | 
Definition at line 1851 of file class.ilObjForumGUI.php.
| 
 | private | 
Definition at line 1833 of file class.ilObjForumGUI.php.
References $forumObjects, $object, ilObject\getId(), and ilObject\getRefId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::getIcon | ( | $user_toggle_noti | ) | 
Definition at line 3845 of file class.ilObjForumGUI.php.
Referenced by getUserNotificationTableData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 2849 of file class.ilObjForumGUI.php.
| 
 | private | 
Definition at line 1489 of file class.ilObjForumGUI.php.
References $replyEditForm.
Referenced by quotePostObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjForumGUI::getSubTabs | ( | $subtab = 'showThreads' | ) | 
Definition at line 533 of file class.ilObjForumGUI.php.
References $is_moderator.
Referenced by showThreadsObject(), and sortThreadsObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
| int | $a_thread_id | 
Definition at line 421 of file class.ilObjForumGUI.php.
References ilFormPropertyGUI\setRequired().
Referenced by updateThreadObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 3920 of file class.ilObjForumGUI.php.
References ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilUtil\formCheckbox(), getIcon(), ilForumNotification\isUserToggleNotification(), and ilForumNotification\setUserId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::handleFormInput | ( | $a_text, | |
| $a_stripslashes = true | |||
| ) | 
Definition at line 3667 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 1775 of file class.ilObjForumGUI.php.
References $hideToolbar.
| ilObjForumGUI::infoScreenObject | ( | ) | 
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 3690 of file class.ilObjForumGUI.php.
| 
 | private | 
| string | $object_type | 
Definition at line 619 of file class.ilObjForumGUI.php.
References ilRadioOption\addSubItem(), ilUtil\getImagePath(), ilTextAreaInputGUI\setCols(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setSize(), ilCheckboxInputGUI\setValue(), 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:
 Here is the call graph for this function:| 
 | private | 
Definition at line 3810 of file class.ilObjForumGUI.php.
References ilRadioOption\addSubItem(), and ilCheckboxInputGUI\setValue().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 139 of file class.ilObjForumGUI.php.
References $_GET, $sess, ilSession\get(), and ilSession\set().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 4362 of file class.ilObjForumGUI.php.
References ilObjectGUI\$tree.
Referenced by isUserAllowedToDeactivateNotification().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) | 
Definition at line 4331 of file class.ilObjForumGUI.php.
References $ilUser, and isParentObjectCrsOrGrp().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::mergeThreadsObject | ( | ) | 
Definition at line 4476 of file class.ilObjForumGUI.php.
References ilForum\_lookupObjIdForForumId(), ilUtil\sendFailure(), ilUtil\sendInfo(), and showThreadsObject().
Referenced by confirmMergeThreadsObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjForumGUI::performPostActivationObject | ( | ) | 
Definition at line 1102 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::performPostAndChildPostsActivationObject | ( | ) | 
Definition at line 1091 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::prepareFormOutput | ( | $a_text | ) | 
Definition at line 3677 of file class.ilObjForumGUI.php.
| ilObjForumGUI::quotePostObject | ( | ) | 
Definition at line 1786 of file class.ilObjForumGUI.php.
References $_POST, and getReplyEditForm().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::removeFromDeskObject | ( | ) | 
Implements ilDesktopItemHandling.
Definition at line 4442 of file class.ilObjForumGUI.php.
References $ilSetting, ilObjectGUI\$lng, ilDesktopItemGUI\removeFromDesktop(), ilUtil\sendSuccess(), and showThreadsObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::saveThreadSortingObject | ( | ) | 
Definition at line 4458 of file class.ilObjForumGUI.php.
References ilUtil\sendSuccess(), and showThreadsObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = 0 | ) | 
Definition at line 1128 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 3351 of file class.ilObjForumGUI.php.
| ilObjForumGUI::setTreeStateAsynchObject | ( | ) | 
Definition at line 1926 of file class.ilObjForumGUI.php.
References $_SESSION, and exit.
| ilObjForumGUI::showThreadsObject | ( | ) | 
Definition at line 519 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), ilObjectGUI\getRightColumnHTML(), and getSubTabs().
Referenced by cancelMergeThreads(), confirmMergeThreadsObject(), mergeThreadsObject(), removeFromDeskObject(), saveThreadSortingObject(), and updateThreadObject().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilObjForumGUI::sortThreadsObject | ( | ) | 
Definition at line 525 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), ilObjectGUI\getRightColumnHTML(), and getSubTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjForumGUI::toggleStickinessObject | ( | ) | 
Definition at line 1159 of file class.ilObjForumGUI.php.
| ilObjForumGUI::updateThreadObject | ( | ) | 
Definition at line 471 of file class.ilObjForumGUI.php.
References getThreadEditingForm(), ilObjForum\lookupForumIdByObjId(), ilUtil\sendSuccess(), and showThreadsObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 3774 of file class.ilObjForumGUI.php.
References ilForumNotification\_getModerators().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 102 of file class.ilObjForumGUI.php.
| 
 | private | 
Definition at line 57 of file class.ilObjForumGUI.php.
| 
 | private | 
Definition at line 62 of file class.ilObjForumGUI.php.
| 
 | private | 
Definition at line 47 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
| 
 | private | 
Definition at line 82 of file class.ilObjForumGUI.php.
| 
 | private | 
Definition at line 97 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
| 
 | private | 
Definition at line 77 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
| ilObjForumGUI::$ilias | 
Definition at line 92 of file class.ilObjForumGUI.php.
| 
 | private | 
Definition at line 52 of file class.ilObjForumGUI.php.
Referenced by getSubTabs().
| 
 | private | 
Definition at line 72 of file class.ilObjForumGUI.php.
| 
 | private | 
Definition at line 42 of file class.ilObjForumGUI.php.
| 
 | private | 
Definition at line 37 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$object | 
Definition at line 87 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
| ilObjForumGUI::$objProperties | 
Definition at line 32 of file class.ilObjForumGUI.php.
| 
 | private | 
Definition at line 67 of file class.ilObjForumGUI.php.
Referenced by getReplyEditForm().