|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilObjForumGUI. More...
Inheritance 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 @access public More... | |
| performPostActivationObject () | |
| askForPostActivationObject () | |
| setDisplayConfirmPostActivation ($status=0) | |
| displayConfirmPostActivation () | |
| toggleStickinessObject () | |
| cancelPostObject () | |
| createToLevelPostObject () | |
| saveTopLevelPostObject () | |
| quoteTopLevelPostObject () | |
| 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 More... | |
| 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 @access public. More... | |
| & | 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... | |
| getAdminTabs (&$tabs_gui) | |
| 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 ($in_rep=false) | |
| 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... | |
| 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... | |
Public Member Functions inherited from ilDesktopItemHandling | |
| addToDeskObject () | |
| Add desktop item @access public. More... | |
| removeFromDeskObject () | |
| Remove from desktop @access public. More... | |
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) | |
| afterSave (ilObjForum $forumObj) | |
| setSideBlocks () | |
| {} More... | |
Protected Member Functions inherited from ilObjectGUI | |
| assignObject () | |
| prepareOutput () | |
| prepare output More... | |
| 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... | |
| 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... | |
| 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... | |
| getTitlesByRefId ($a_ref_ids) | |
| get Titles of objects this method is used for error messages in methods cut/copy/paste More... | |
| getTabs (&$tabs_gui) | |
| 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 ($column_gui) | |
| May be overwritten in subclasses. More... | |
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission and redirect on error. More... | |
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission. More... | |
| enableDragDropFileUpload () | |
| Enables the file upload into this object by dropping files. More... | |
| handleAutoRating (ilObject $a_new_obj) | |
| Activate rating automatically if parent container setting. More... | |
Private Member Functions | |
| isHierarchicalView () | |
| isTopLevelReplyCommand () | |
| getThreadEditingForm ($a_thread_id) | |
| initForumCreateForm ($object_type) | |
| getReplyEditForm () | |
| hideToolbar ($a_flag=null) | |
| getForumObjects () | |
| getModifiedReOnSubject ($on_reply=false) | |
| 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. More... | |
| static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
| Goto repository root. More... | |
Protected Attributes inherited from ilObjectGUI | |
| $tmp_import_dir | |
Class ilObjForumGUI.
@ilCtrl_Calls ilObjForumGUI: ilPermissionGUI, ilForumExportGUI, ilInfoScreenGUI @ilCtrl_Calls ilObjForumGUI: ilColumnGUI, ilPublicUserProfileGUI, ilForumModeratorsGUI, ilRepositoryObjectSearchGUI @ilCtrl_Calls ilObjForumGUI: ilObjectCopyGUI, ilExportGUI, ilCommonActionDispatcherGUI, ilRatingGUI
Definition at line 28 of file class.ilObjForumGUI.php.
|
protected |
| ilObjForum | $forumObj |
Definition at line 787 of file class.ilObjForumGUI.php.
References ilObject\getRefId(), ilUtil\redirect(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1176 of file class.ilObjForumGUI.php.
References setDisplayConfirmPostActivation().
Here is the call graph for this function:| ilObjForumGUI::cancelMergeThreads | ( | ) |
Definition at line 4898 of file class.ilObjForumGUI.php.
References showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::cancelObject | ( | $in_rep = false | ) |
cancel action and go back to previous page @access public
Reimplemented from ilObjectGUI.
Definition at line 778 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1234 of file class.ilObjForumGUI.php.
References $_GET.
| ilObjForumGUI::checkEnableColumnEdit | ( | ) |
Definition at line 3831 of file class.ilObjForumGUI.php.
| ilObjForumGUI::cloneWizardPageObject | ( | ) |
Definition at line 3861 of file class.ilObjForumGUI.php.
References $_POST, $_REQUEST, $_SESSION, ilForum\_getThreads(), ilObjectGUI\createObject(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUtil\sendInfo(), and ilForum\SORT_TITLE.
Here is the call graph for this function:| ilObjForumGUI::confirmMergeThreadsObject | ( | ) |
Definition at line 4802 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilForumTopic\_lookupDate(), ilForumTopic\_lookupTitle(), ilForumTopic\lookupForumIdByTopicId(), mergeThreadsObject(), ilUtil\sendFailure(), ilUtil\sendInfo(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::createToLevelPostObject | ( | ) |
Definition at line 1552 of file class.ilObjForumGUI.php.
| ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1191 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
| ilObjForumGUI::fetchTreeChildrenAsyncObject | ( | ) |
Definition at line 1948 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $html, ilJsonUtil\encode(), exit, and ilForumExplorer\getTreeNodeHtml().
Here is the call graph for this function:
|
protected |
Definition at line 426 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 1935 of file class.ilObjForumGUI.php.
|
private |
Definition at line 1917 of file class.ilObjForumGUI.php.
References $forumObjects, and $object.
| ilObjForumGUI::getIcon | ( | $user_toggle_noti | ) |
Definition at line 4106 of file class.ilObjForumGUI.php.
Referenced by getUserNotificationTableData().
Here is the caller graph for this function:
|
private |
Definition at line 3086 of file class.ilObjForumGUI.php.
|
private |
Definition at line 1539 of file class.ilObjForumGUI.php.
References $replyEditForm.
Referenced by quotePostObject().
Here is the caller graph for this function:| ilObjForumGUI::getSubTabs | ( | $subtab = 'showThreads' | ) |
Definition at line 614 of file class.ilObjForumGUI.php.
Referenced by showThreadsObject(), and sortThreadsObject().
Here is the caller graph for this function:
|
private |
| int | $a_thread_id |
Definition at line 502 of file class.ilObjForumGUI.php.
Referenced by updateThreadObject().
Here is the caller graph for this function:
|
private |
Definition at line 4181 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:| ilObjForumGUI::handleFormInput | ( | $a_text, | |
$a_stripslashes = true |
|||
| ) |
Definition at line 3928 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Here is the call graph for this function:
|
private |
Definition at line 1858 of file class.ilObjForumGUI.php.
References $hideToolbar, and hideToolbar().
Referenced by hideToolbar().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 3951 of file class.ilObjForumGUI.php.
|
private |
| string | $object_type |
Definition at line 704 of file class.ilObjForumGUI.php.
References ilUtil\getImagePath(), 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:
|
private |
Definition at line 4071 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 140 of file class.ilObjForumGUI.php.
References $_GET, $sess, ilSession\get(), and ilSession\set().
Here is the call graph for this function:
|
private |
Definition at line 159 of file class.ilObjForumGUI.php.
References $_SESSION, ilForumProperties\VIEW_DATE, and ilForumProperties\VIEW_TREE.
|
private |
Definition at line 4623 of file class.ilObjForumGUI.php.
References ilObjectGUI\$tree.
Referenced by isUserAllowedToDeactivateNotification().
Here is the caller graph for this function:
|
private |
Definition at line 173 of file class.ilObjForumGUI.php.
| ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) |
Definition at line 4592 of file class.ilObjForumGUI.php.
References $_GET, $ilUser, and isParentObjectCrsOrGrp().
Here is the call graph for this function:| ilObjForumGUI::mergeThreadsObject | ( | ) |
Definition at line 4737 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $tbl, ilForum\_lookupObjIdForForumId(), ilUtil\sendFailure(), ilUtil\sendInfo(), and showThreadsObject().
Referenced by confirmMergeThreadsObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1157 of file class.ilObjForumGUI.php.
References $GLOBALS, and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 3938 of file class.ilObjForumGUI.php.
References ilUtil\prepareFormOutput().
Here is the call graph for this function:| ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 1869 of file class.ilObjForumGUI.php.
References $_GET, $_POST, and getReplyEditForm().
Referenced by quoteTopLevelPostObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::quoteTopLevelPostObject | ( | ) |
Definition at line 1570 of file class.ilObjForumGUI.php.
References quotePostObject().
Here is the call graph for this function:| ilObjForumGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 4703 of file class.ilObjForumGUI.php.
References $ilSetting, ilObjectGUI\$lng, ilDesktopItemGUI\removeFromDesktop(), ilUtil\sendSuccess(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::saveThreadSortingObject | ( | ) |
Definition at line 4719 of file class.ilObjForumGUI.php.
References $_POST, ilUtil\sendSuccess(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::saveTopLevelPostObject | ( | ) |
Definition at line 1561 of file class.ilObjForumGUI.php.
| ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = 0 | ) |
Definition at line 1186 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
Here is the caller graph for this function:
|
protected |
{}
Definition at line 4906 of file class.ilObjForumGUI.php.
References $GLOBALS, ilObjectGUI\getRightColumnHTML(), and ilRepositoryObjectSearchGUI\getSearchBlockHTML().
Referenced by showThreadsObject(), and sortThreadsObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3612 of file class.ilObjForumGUI.php.
| ilObjForumGUI::setTreeStateAsynchObject | ( | ) |
Definition at line 2010 of file class.ilObjForumGUI.php.
| ilObjForumGUI::showThreadsObject | ( | ) |
Definition at line 600 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Referenced by cancelMergeThreads(), confirmMergeThreadsObject(), mergeThreadsObject(), removeFromDeskObject(), saveThreadSortingObject(), and updateThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::sortThreadsObject | ( | ) |
Definition at line 606 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Here is the call graph for this function:| ilObjForumGUI::toggleStickinessObject | ( | ) |
Definition at line 1217 of file class.ilObjForumGUI.php.
| ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 552 of file class.ilObjForumGUI.php.
References getThreadEditingForm(), ilObjForum\lookupForumIdByObjId(), ilUtil\sendSuccess(), and showThreadsObject().
Here is the call graph for this function:
|
private |
Definition at line 4035 of file class.ilObjForumGUI.php.
|
private |
Definition at line 103 of file class.ilObjForumGUI.php.
|
private |
Definition at line 58 of file class.ilObjForumGUI.php.
|
private |
Definition at line 63 of file class.ilObjForumGUI.php.
|
private |
Definition at line 48 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
|
private |
Definition at line 83 of file class.ilObjForumGUI.php.
|
private |
Definition at line 98 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
|
private |
Definition at line 78 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
| ilObjForumGUI::$ilias |
Definition at line 93 of file class.ilObjForumGUI.php.
|
private |
Definition at line 53 of file class.ilObjForumGUI.php.
|
private |
Definition at line 73 of file class.ilObjForumGUI.php.
|
private |
Definition at line 43 of file class.ilObjForumGUI.php.
|
private |
Definition at line 38 of file class.ilObjForumGUI.php.
| ilObjForumGUI::$object |
Definition at line 88 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
| ilObjForumGUI::$objProperties |
Definition at line 33 of file class.ilObjForumGUI.php.
|
private |
Definition at line 68 of file class.ilObjForumGUI.php.
Referenced by getReplyEditForm().