|
ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilObjForumGUI. More...
Inheritance diagram for ilObjForumGUI:
Collaboration diagram for ilObjForumGUI:Public Member Functions | |
| ilObjForumGUI ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true) | |
| & | executeCommand () |
| Execute Command. | |
| updateObject () | |
| updates object entry in object_data | |
| editObject () | |
| edit object | |
| markAllReadObject () | |
| showThreadsObject () | |
| list threads of forum | |
| getContent () | |
| createObject () | |
| creation form | |
| cancelObject ($in_rep=false) | |
| cancel action and go back to previous page public | |
| performImportObject () | |
| saveObject ($a_prevent_redirect=false) | |
| save object public | |
| getTabs (&$tabs_gui) | |
| get tabs abstract method. | |
| showStatisticsObject () | |
| called from GUI | |
| _goto ($a_target, $a_thread=0, $a_posting=0) | |
| redirect script | |
| showThreadFramesetObject () | |
| Output forum frameset. | |
| showExplorerObject () | |
| Show Forum Explorer. | |
| prepareThreadScreen ($a_forum_obj) | |
| performPostAndChildPostsActivationObject () | |
| performPostActivationObject () | |
| cancelPostActivationObject () | |
| askForPostActivationObject () | |
| setDisplayConfirmPostActivation ($status=false) | |
| displayConfirmPostActivation () | |
| toggleThreadNotificationObject () | |
| Toggle thread notification for current user in notification tab view. | |
| toggleStickinessObject () | |
| Toggle sticky attribute of a thread. | |
| cancelPostObject () | |
| getDeleteFormHTML () | |
| getActivationFormHTML () | |
| getDeactivationFormHTML () | |
| getCensorshipFormHTML () | |
| viewThreadObject () | |
| View single thread. | |
| showUserObject () | |
| Show user profile. | |
| performThreadsActionObject () | |
| Perform form action in threads list. | |
| performMoveThreadsObject () | |
| cancelMoveThreadsObject () | |
| confirmMoveThreadsObject () | |
| searchForumsObject () | |
| moveThreadsObject ($confirm=false) | |
| createThreadObject ($errors= '') | |
| New Thread form. | |
| addThreadObject ($a_prevent_redirect=false) | |
| Add New Thread. | |
| enableForumNotificationObject () | |
| Show Notification Tab. | |
| disableForumNotificationObject () | |
| Disable forum notification. | |
| checkEnableColumnEdit () | |
| No editing allowd in forums. | |
| setColumnSettings ($column_gui) | |
| Set column settings. | |
| copyWizardHasOptions ($a_mode) | |
| public | |
| cloneWizardPageObject () | |
| Show selection of starting threads. | |
| addLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| handleFormInput ($a_text) | |
| Handle subject and message text input. | |
| prepareFormOutput ($a_text) | |
| forwardInputToOutput ($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 | |
| infoScreen () | |
| show information screen | |
Public Member Functions inherited from ilObjectGUI | |
| ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
| Constructor public. | |
| 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 | |
| assignObject () | |
| prepareOutput () | |
| prepare output | |
| setTitleAndDescription () | |
| called by prepare output | |
| showUpperIcon () | |
| showMountWebfolderIcon () | |
| setTabs () | |
| set admin tabs public | |
| setAdminTabs () | |
| set admin tabs public | |
| getAdminTabs (&$tabs_gui) | |
| administration tabs show only permissions and trash folder | |
| getHTML () | |
| setActions ($a_actions="") | |
| set possible actions for objects in list. | |
| setSubObjects ($a_sub_objects="") | |
| set possible subobjects for this object. | |
| setLocator () | |
| set Locator | |
| omitLocator ($a_omit=true) | |
| addAdminLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| undeleteObject () | |
| get object back from trash | |
| insertSavedNodes ($a_source_id, $a_dest_id, $a_tree_id, &$a_affected_ids) | |
| recursive method to insert all saved nodes of the clipboard (maybe this function could be moved to a rbac class ?) | |
| confirmedDeleteObject () | |
| confirmed deletion if object -> objects are moved to trash | |
| cancelDeleteObject () | |
| cancel deletion of object | |
| removeFromSystemObject () | |
| remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
| removeDeletedNodes ($a_node_id, $a_checked, $a_delete_objects, &$a_affected_ids) | |
| remove already deleted objects within the objects in trash recursive function | |
| saveObject () | |
| save object | |
| importObject () | |
| import new object form | |
| displayEditForm ($fields) | |
| display edit form (usually called by editObject) | |
| afterUpdate () | |
| permObject () | |
| show permissions of current node | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. | |
| 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 | |
| permSaveObject () | |
| save permissions | |
| isVisible ($a_ref_id, $a_type) | |
| displayList () | |
| display object list | |
| viewObject () | |
| list childs of current object | |
| deleteObject ($a_error=false) | |
| display deletion confirmation screen only for referenced objects. | |
| trashObject () | |
| show trash content of object | |
| addRoleObject () | |
| adds a local role This method is only called when choose the option 'you may add local roles'. | |
| showActions ($with_subobjects=false) | |
| show possible action (form buttons) | |
| getActions () | |
| Get Actions. | |
| 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 | |
| __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 | |
| __showClipboardTable ($a_result_set, $a_from="") | |
| infoObject () | |
| __buildRoleFilterSelect () | |
| __filterRoles ($a_roles, $a_filter) | |
| ownerObject () | |
| changeOwnerObject () | |
| 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. | |
| fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
| Add an object search in case the number of existing objects is too big to offer a selection list. | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. | |
| getCenterColumnHTML () | |
| Get center column. | |
| getRightColumnHTML () | |
| Display right column. | |
| checkPermission ($a_perm, $a_cmd="") | |
Private Member Functions | |
| __initFileObject () | |
| __initParserObject ($a_xml_file) | |
Private Attributes | |
| $objProperties = null | |
| $objCurrentTopic = null | |
| $objCurrentPost = null | |
| $display_confirm_post_deactivation = false | |
| $display_confirm_post_activation = false | |
| $is_moderator = false | |
Additional Inherited Members | |
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 | |
Protected Member Functions inherited from ilObjectGUI | |
| searchCloneSourceObject () | |
| Search clone source by title. | |
| buildCloneSelect ($existing_objs) | |
| Build a select box for clonable objects (permission write) | |
Class ilObjForumGUI.
ilObjForumGUI: ilPermissionGUI, ilForumExportGUI, ilInfoScreenGUI ilObjForumGUI: ilColumnGUI, ilPublicUserProfileGUI
Definition at line 42 of file class.ilObjForumGUI.php.
|
private |
Definition at line 1004 of file class.ilObjForumGUI.php.
Referenced by performImportObject().
Here is the caller graph for this function:
|
private |
Definition at line 1013 of file class.ilObjForumGUI.php.
Referenced by performImportObject().
Here is the caller graph for this function:| ilObjForumGUI::_goto | ( | $a_target, | |
$a_thread = 0, |
|||
$a_posting = 0 |
|||
| ) |
redirect script
| string | $a_target |
Definition at line 1027 of file class.ilObjForumGUI.php.
References $_GET, $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:| ilObjForumGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 3501 of file class.ilObjForumGUI.php.
References $_GET.
| ilObjForumGUI::addThreadObject | ( | $a_prevent_redirect = false | ) |
Add New Thread.
Definition at line 3206 of file class.ilObjForumGUI.php.
References $_GET, $errors, ilObjectGUI\$lng, ilObjectGUI\$tpl, createThreadObject(), handleFormInput(), ilUtil\redirect(), ilFileDataForum\storeUploadedFile(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1347 of file class.ilObjForumGUI.php.
References $_GET, setDisplayConfirmPostActivation(), and viewThreadObject().
Here is the call graph for this function:| ilObjForumGUI::cancelMoveThreadsObject | ( | ) |
Definition at line 2830 of file class.ilObjForumGUI.php.
References $_SESSION, and ilObjectGUI\$lng.
| ilObjForumGUI::cancelObject | ( | $in_rep = false | ) |
cancel action and go back to previous page public
Reimplemented from ilObjectGUI.
Definition at line 740 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::cancelPostActivationObject | ( | ) |
Definition at line 1340 of file class.ilObjForumGUI.php.
References viewThreadObject().
Here is the call graph for this function:| ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1471 of file class.ilObjForumGUI.php.
References $_GET, and viewThreadObject().
Here is the call graph for this function:| ilObjForumGUI::checkEnableColumnEdit | ( | ) |
No editing allowd in forums.
Notifications only.
Definition at line 3390 of file class.ilObjForumGUI.php.
| ilObjForumGUI::cloneWizardPageObject | ( | ) |
Show selection of starting threads.
public
Definition at line 3445 of file class.ilObjForumGUI.php.
References $_SESSION, $title, ilForum\_getThreads(), createObject(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilObjectGUI\searchCloneSourceObject(), ilUtil\sendInfo(), and ilForum\SORT_TITLE.
Here is the call graph for this function:| ilObjForumGUI::confirmMoveThreadsObject | ( | ) |
Definition at line 2846 of file class.ilObjForumGUI.php.
References ilObjectGUI\$lng, moveThreadsObject(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::copyWizardHasOptions | ( | $a_mode | ) |
public
Reimplemented from ilObjectGUI.
Definition at line 3428 of file class.ilObjForumGUI.php.
| ilObjForumGUI::createObject | ( | ) |
creation form
Reimplemented from ilObjectGUI.
Definition at line 645 of file class.ilObjForumGUI.php.
References $_GET, ilMainMenuGUI\_checkAdministrationPermission(), ilFrameTargetInfo\_getFrame(), ilObjectGUI\fillCloneTemplate(), ilUtil\formCheckbox(), ilUtil\formRadioButton(), and ilUtil\getImagePath().
Referenced by cloneWizardPageObject(), and performImportObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::createThreadObject | ( | $errors = '' | ) |
New Thread form.
Definition at line 3115 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $errors, ilObjectGUI\$ilias, ilObjectGUI\$lng, ilObjectGUI\$tpl, forwardInputToOutput(), and ilUtil\sendInfo().
Referenced by addThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::disableForumNotificationObject | ( | ) |
Disable forum notification.
Definition at line 3372 of file class.ilObjForumGUI.php.
References $_GET, and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1386 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
Referenced by viewThreadObject().
Here is the caller graph for this function:| ilObjForumGUI::editObject | ( | ) |
edit object
public
Reimplemented from ilObjectGUI.
Definition at line 200 of file class.ilObjForumGUI.php.
References $_GET, $ilSetting, ilRadioGroupInputGUI\addOption(), ilCheckboxInputGUI\setValue(), ilTextInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Here is the call graph for this function:| ilObjForumGUI::enableForumNotificationObject | ( | ) |
Show Notification Tab.
Enable forum notification.
Definition at line 3352 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and showThreadsObject().
Here is the call graph for this function:| & ilObjForumGUI::executeCommand | ( | ) |
Execute Command.
Reimplemented from ilObjectGUI.
Definition at line 81 of file class.ilObjForumGUI.php.
References $_GET, $cmd, $ret, exit, ilObjectGUI\getCreationMode(), infoScreen(), ilObjectGUI\prepareOutput(), and showThreadsObject().
Referenced by performThreadsActionObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::forwardInputToOutput | ( | $a_text | ) |
Definition at line 3537 of file class.ilObjForumGUI.php.
References handleFormInput(), and prepareFormOutput().
Referenced by createThreadObject(), and viewThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::getActivationFormHTML | ( | ) |
Definition at line 1503 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
Referenced by viewThreadObject().
Here is the caller graph for this function:| ilObjForumGUI::getCensorshipFormHTML | ( | ) |
Definition at line 1549 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
Referenced by viewThreadObject().
Here is the caller graph for this function:| ilObjForumGUI::getContent | ( | ) |
Definition at line 279 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, ilUtil\Linkbar(), and ilUtil\switchColor().
Here is the call graph for this function:| ilObjForumGUI::getDeactivationFormHTML | ( | ) |
Definition at line 1527 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
| ilObjForumGUI::getDeleteFormHTML | ( | ) |
Definition at line 1480 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, and ilFrameTargetInfo\_getFrame().
Referenced by viewThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs abstract method.
overwrite in derived GUI class of your object type public
| object | instance of ilTabsGUI |
Reimplemented from ilObjectGUI.
Definition at line 869 of file class.ilObjForumGUI.php.
References $_GET, and ilRepositoryExplorer\buildLinkTarget().
Here is the call graph for this function:| ilObjForumGUI::handleFormInput | ( | $a_text | ) |
Handle subject and message text input.
< and > are escaped because HTML is not allowed.
| string | $a_text | input text |
Definition at line 3517 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Referenced by addThreadObject(), forwardInputToOutput(), and viewThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::ilObjForumGUI | ( | $a_data, | |
| $a_id, | |||
| $a_call_by_reference, | |||
$a_prepare_output = true |
|||
| ) |
Definition at line 53 of file class.ilObjForumGUI.php.
References $_GET, $ilCtrl, ilForumProperties\getInstance(), ilObjectGUI\ilObjectGUI(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjForumGUI::infoScreen | ( | ) |
show information screen
Definition at line 3559 of file class.ilObjForumGUI.php.
References $_GET.
Referenced by executeCommand(), and infoScreenObject().
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 3549 of file class.ilObjForumGUI.php.
References infoScreen().
Here is the call graph for this function:| ilObjForumGUI::markAllReadObject | ( | ) |
Definition at line 258 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), and showThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::moveThreadsObject | ( | $confirm = false | ) |
Definition at line 2884 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, ilObjectGUI\$lng, ilObjectGUI\$obj_id, $objCurrentTopic, ilObjectGUI\$ref_id, $res, $result, ilObjectGUI\$tree, ilUtil\_getObjectsByOperations(), ilUtil\formRadioButton(), ilUtil\prepareFormOutput(), QP_COMBINATION_AND, ilUtil\sendInfo(), and ilUtil\stripSlashes().
Referenced by confirmMoveThreadsObject(), performMoveThreadsObject(), performThreadsActionObject(), and searchForumsObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::performImportObject | ( | ) |
Definition at line 748 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$ref_id, __initFileObject(), __initParserObject(), createObject(), ilObjectGUI\getReturnLocation(), ilUtil\redirect(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::performMoveThreadsObject | ( | ) |
Definition at line 2801 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$lng, moveThreadsObject(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1325 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and viewThreadObject().
Here is the call graph for this function:| ilObjForumGUI::performPostAndChildPostsActivationObject | ( | ) |
Definition at line 1310 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and viewThreadObject().
Here is the call graph for this function:| ilObjForumGUI::performThreadsActionObject | ( | ) |
Perform form action in threads list.
Definition at line 2687 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, executeCommand(), moveThreadsObject(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 3529 of file class.ilObjForumGUI.php.
Referenced by forwardInputToOutput(), and viewThreadObject().
Here is the caller graph for this function:| ilObjForumGUI::prepareThreadScreen | ( | $a_forum_obj | ) |
Definition at line 1236 of file class.ilObjForumGUI.php.
References $_SESSION, ilObjectGUI\$ilias, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilFrameTargetInfo\_getFrame(), ilUtil\getImagePath(), ilUtil\infoPanel(), and ilUtil\sendInfo().
Referenced by viewThreadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::saveObject | ( | $a_prevent_redirect = false | ) |
save object public
Definition at line 800 of file class.ilObjForumGUI.php.
References ilUtil\redirect(), ilObjectGUI\saveObject(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::searchForumsObject | ( | ) |
Definition at line 2867 of file class.ilObjForumGUI.php.
References $_SESSION, ilObjectGUI\$lng, and moveThreadsObject().
Here is the call graph for this function:| ilObjForumGUI::setColumnSettings | ( | $column_gui | ) |
Set column settings.
Reimplemented from ilObjectGUI.
Definition at line 3398 of file class.ilObjForumGUI.php.
References ilObjectGUI\$lng.
| ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = false | ) |
Definition at line 1376 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
Here is the caller graph for this function:| ilObjForumGUI::showExplorerObject | ( | ) |
Show Forum Explorer.
Definition at line 1196 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, $objCurrentTopic, ilObjectGUI\$tpl, exit, and ilUtil\getImagePath().
Here is the call graph for this function:| ilObjForumGUI::showStatisticsObject | ( | ) |
called from GUI
if globally deactivated, skip!!! intrusion detected
Definition at line 935 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$data, and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::showThreadFramesetObject | ( | ) |
Output forum frameset.
Definition at line 1088 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $ilCtrl, ilObjectGUI\$lng, exit, and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjForumGUI::showThreadsObject | ( | ) |
list threads of forum
Definition at line 273 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), and ilObjectGUI\getRightColumnHTML().
Referenced by disableForumNotificationObject(), enableForumNotificationObject(), executeCommand(), and markAllReadObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjForumGUI::showUserObject | ( | ) |
Show user profile.
Definition at line 2622 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilObjectFactory\getInstanceByRefId().
Here is the call graph for this function:| ilObjForumGUI::toggleStickinessObject | ( | ) |
Toggle sticky attribute of a thread.
Definition at line 1450 of file class.ilObjForumGUI.php.
References $_GET, and viewThreadObject().
Here is the call graph for this function:| ilObjForumGUI::toggleThreadNotificationObject | ( | ) |
Toggle thread notification for current user in notification tab view.
/*
/* public function toggleThreadNotificationTabObject() { global $ilUser;
if ($this->objCurrentTopic->isNotificationEnabled($ilUser->getId())) { $this->objCurrentTopic->disableNotification($ilUser->getId()); ilUtil::sendInfo($this->lng->txt('forums_notification_disabled'), true); } else { $this->objCurrentTopic->enableNotification($ilUser->getId()); ilUtil::sendInfo($this->lng->txt('forums_notification_enabled'), true); }
$this->showThreadNotificationObject();
return true; } Toggle thread notification for current user
Definition at line 1427 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), and viewThreadObject().
Here is the call graph for this function:| ilObjForumGUI::updateObject | ( | ) |
updates object entry in object_data
public
Reimplemented from ilObjectGUI.
Definition at line 159 of file class.ilObjForumGUI.php.
References $_GET, $ilSetting, ilUtil\redirect(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjForumGUI::viewThreadObject | ( | ) |
View single thread.
Definition at line 1587 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $errors, $file, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObject\_exists(), ilFrameTargetInfo\_getFrame(), ilUtil\deliverFile(), displayConfirmPostActivation(), exit, ilUtil\formCheckbox(), forwardInputToOutput(), getActivationFormHTML(), getCensorshipFormHTML(), ilObjectGUI\getCreationMode(), getDeleteFormHTML(), ilNewsItem\getFirstNewsIdForContext(), ilUtil\getImagePath(), ilUtil\getWebspaceDir(), handleFormInput(), ilUtil\Linkbar(), ilUtil\makeClickable(), ilUtil\prepareFormOutput(), prepareFormOutput(), prepareThreadScreen(), ilUtil\sendInfo(), ilFileDataForum\storeUploadedFile(), ilUtil\stripSlashes(), and ilUtil\switchColor().
Referenced by askForPostActivationObject(), cancelPostActivationObject(), cancelPostObject(), performPostActivationObject(), performPostAndChildPostsActivationObject(), toggleStickinessObject(), and toggleThreadNotificationObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 49 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
|
private |
Definition at line 48 of file class.ilObjForumGUI.php.
|
private |
Definition at line 51 of file class.ilObjForumGUI.php.
|
private |
Definition at line 47 of file class.ilObjForumGUI.php.
|
private |
Definition at line 46 of file class.ilObjForumGUI.php.
Referenced by moveThreadsObject(), and showExplorerObject().
|
private |
Definition at line 44 of file class.ilObjForumGUI.php.