ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilObjForumGUI. More...
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 ($subbmitted_form= '') | |
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 | |
performDeleteThreadsObject () | |
confirmDeleteThreads () | |
showThreadFramesetObject () | |
Output forum frameset. | |
showExplorerObject () | |
Show Forum Explorer. | |
prepareThreadScreen ($a_forum_obj) | |
performPostAndChildPostsActivationObject () | |
performPostActivationObject () | |
cancelPostActivationObject () | |
askForPostActivationObject () | |
setDisplayConfirmPostActivation ($status=0) | |
displayConfirmPostActivation () | |
toggleThreadNotificationObject () | |
Toggle thread notification for current user in notification tab view. | |
toggleStickinessObject () | |
Toggle sticky attribute of a thread. | |
cancelPostObject () | |
getDeleteFormHTML () | |
getActivationFormHTML () | |
getDeactivationFormHTML () | |
getCensorshipFormHTML () | |
savePostObject () | |
quotePostObject () | |
getQuotationHTMLAsynchObject () | |
doReloadTreeObject () | |
viewThreadObject () | |
View single thread. | |
showUserObject () | |
Show user profile. | |
performThreadsActionObject () | |
Perform form action in threads list. | |
performMoveThreadsObject () | |
cancelMoveThreadsObject () | |
confirmMoveThreadsObject () | |
searchForumsObject () | |
moveThreadsObject ($confirm=false) | |
createThreadObject () | |
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, $a_stripslashes=true) | |
Handle subject and message text input. | |
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 | |
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 | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
createObject () | |
create new object form | |
saveObject () | |
save object | |
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. | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. |
Private Member Functions | |
initForumCreateForm ($object_type) | |
private | |
setForumCreateDefaultValues () | |
private | |
initForumImportForm ($object_type) | |
private | |
__initFileObject () | |
__initParserObject ($a_xml_file) | |
initReplyEditForm () | |
getReplyEditForm () | |
reloadTree ($a_flag=null) | |
hideToolbar ($a_flag=null) | |
getForumObjects () | |
initTopicCreateForm () | |
setTopicCreateDefaultValues () | |
private | |
getUserInstance ($a_usr_id) | |
Caching method for user instances. |
Private Attributes | |
$objProperties = null | |
$objCurrentTopic = null | |
$objCurrentPost = null | |
$display_confirm_post_deactivation = 0 | |
$display_confirm_post_activation = 0 | |
$is_moderator = false | |
$action = null | |
$create_form_gui = null | |
$create_import_gui = null | |
$create_topic_form_gui = null | |
$reloadTree = false | |
$hideToolbar = 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 | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
showUpperIcon () | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
setLocator () | |
set Locator | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
afterUpdate () | |
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) | |
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="") | |
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. | |
searchCloneSourceObject () | |
Search clone source by title. | |
buildCloneSelect ($existing_objs) | |
Build a select box for clonable objects (permission write) | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
checkPermission ($a_perm, $a_cmd="") |
Class ilObjForumGUI.
ilObjForumGUI: ilPermissionGUI, ilForumExportGUI, ilInfoScreenGUI ilObjForumGUI: ilColumnGUI, ilPublicUserProfileGUI, ilForumModeratorsGUI, ilObjectCopyGUI
Definition at line 44 of file class.ilObjForumGUI.php.
|
private |
Definition at line 1044 of file class.ilObjForumGUI.php.
Referenced by performImportObject().
|
private |
Definition at line 1053 of file class.ilObjForumGUI.php.
Referenced by performImportObject().
ilObjForumGUI::_goto | ( | $a_target, | |
$a_thread = 0 , |
|||
$a_posting = 0 |
|||
) |
redirect script
string | $a_target |
Definition at line 1067 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().
ilObjForumGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 3879 of file class.ilObjForumGUI.php.
References $_GET.
ilObjForumGUI::addThreadObject | ( | $a_prevent_redirect = false | ) |
Add New Thread.
Definition at line 3566 of file class.ilObjForumGUI.php.
References $_GET, $file, ilObjectGUI\$lng, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), handleFormInput(), initTopicCreateForm(), ilUtil\sendSuccess(), and ilFileDataForum\storeUploadedFile().
ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1467 of file class.ilObjForumGUI.php.
References $_GET, setDisplayConfirmPostActivation(), and viewThreadObject().
ilObjForumGUI::cancelMoveThreadsObject | ( | ) |
Definition at line 3249 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 766 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjForumGUI::cancelPostActivationObject | ( | ) |
Definition at line 1460 of file class.ilObjForumGUI.php.
References viewThreadObject().
ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1591 of file class.ilObjForumGUI.php.
References $_GET, and viewThreadObject().
ilObjForumGUI::checkEnableColumnEdit | ( | ) |
No editing allowd in forums.
Notifications only.
Definition at line 3768 of file class.ilObjForumGUI.php.
ilObjForumGUI::cloneWizardPageObject | ( | ) |
Show selection of starting threads.
public
Definition at line 3823 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $title, ilForum\_getThreads(), ilObjectGUI\createObject(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilObjectGUI\searchCloneSourceObject(), ilUtil\sendInfo(), and ilForum\SORT_TITLE.
ilObjForumGUI::confirmDeleteThreads | ( | ) |
Definition at line 1165 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilObjectGUI\$lng, ilForumTopic\_lookupTitle(), hideToolbar(), ilUtil\sendInfo(), and showThreadsObject().
Referenced by performThreadsActionObject().
ilObjForumGUI::confirmMoveThreadsObject | ( | ) |
Definition at line 3266 of file class.ilObjForumGUI.php.
References $_POST, ilObjectGUI\$lng, hideToolbar(), moveThreadsObject(), and ilUtil\sendInfo().
ilObjForumGUI::copyWizardHasOptions | ( | $a_mode | ) |
public
Reimplemented from ilObjectGUI.
Definition at line 3806 of file class.ilObjForumGUI.php.
ilObjForumGUI::createObject | ( | $subbmitted_form = '' | ) |
creation form
Definition at line 727 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilMainMenuGUI\_checkAdministrationPermission(), ilObjectGUI\fillCloneTemplate(), initForumCreateForm(), initForumImportForm(), and setForumCreateDefaultValues().
ilObjForumGUI::createThreadObject | ( | ) |
New Thread form.
Definition at line 3547 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, initTopicCreateForm(), and setTopicCreateDefaultValues().
ilObjForumGUI::disableForumNotificationObject | ( | ) |
Disable forum notification.
Definition at line 3750 of file class.ilObjForumGUI.php.
References $_GET, and showThreadsObject().
ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1506 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
Referenced by viewThreadObject().
ilObjForumGUI::doReloadTreeObject | ( | ) |
Definition at line 2157 of file class.ilObjForumGUI.php.
References reloadTree(), and viewThreadObject().
ilObjForumGUI::editObject | ( | ) |
edit object
public
Reimplemented from ilObjectGUI.
Definition at line 230 of file class.ilObjForumGUI.php.
References $_GET, $ilSetting, ilRadioGroupInputGUI\addOption(), ilTextInputGUI\setValue(), ilCheckboxInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by updateObject().
ilObjForumGUI::enableForumNotificationObject | ( | ) |
Show Notification Tab.
Enable forum notification.
Definition at line 3730 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and showThreadsObject().
& ilObjForumGUI::executeCommand | ( | ) |
Execute Command.
Reimplemented from ilObjectGUI.
Definition at line 91 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $cmd, $ilCtrl, $ret, exit, ilObjectGUI\getCreationMode(), infoScreen(), ilObjectGUI\prepareOutput(), and showThreadsObject().
Referenced by performThreadsActionObject().
ilObjForumGUI::getActivationFormHTML | ( | ) |
Definition at line 1623 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
Referenced by viewThreadObject().
ilObjForumGUI::getCensorshipFormHTML | ( | ) |
Definition at line 1669 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
Referenced by viewThreadObject().
ilObjForumGUI::getContent | ( | ) |
Definition at line 309 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $ilDB, ilObjectGUI\$lng, $result, ilUtil\formCheckbox(), ilAccessKeyGUI\getAttribute(), hideToolbar(), ilUtil\Linkbar(), and ilAccessKey\MARK_ALL_READ.
ilObjForumGUI::getDeactivationFormHTML | ( | ) |
Definition at line 1647 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
ilObjForumGUI::getDeleteFormHTML | ( | ) |
Definition at line 1600 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, and ilFrameTargetInfo\_getFrame().
Referenced by viewThreadObject().
|
private |
Definition at line 2139 of file class.ilObjForumGUI.php.
References $_GET.
Referenced by getQuotationHTMLAsynchObject(), initReplyEditForm(), savePostObject(), and viewThreadObject().
ilObjForumGUI::getQuotationHTMLAsynchObject | ( | ) |
Definition at line 2129 of file class.ilObjForumGUI.php.
References ilRTE\_replaceMediaObjectImageSrc(), exit, and getForumObjects().
|
private |
Definition at line 1868 of file class.ilObjForumGUI.php.
References initReplyEditForm().
Referenced by quotePostObject(), savePostObject(), and viewThreadObject().
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 919 of file class.ilObjForumGUI.php.
References $_GET, and ilRepositoryExplorer\buildLinkTarget().
|
private |
Caching method for user instances.
private
integer | $a_usr_id | Id of a user instance |
Definition at line 3981 of file class.ilObjForumGUI.php.
References ilObjectFactory\getInstanceByObjId().
Referenced by viewThreadObject().
ilObjForumGUI::handleFormInput | ( | $a_text, | |
$a_stripslashes = true |
|||
) |
Handle subject and message text input.
< and > are escaped because HTML is not allowed.
string | $a_text | input text |
Definition at line 3895 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Referenced by addThreadObject(), savePostObject(), and viewThreadObject().
|
private |
Definition at line 2091 of file class.ilObjForumGUI.php.
References $hideToolbar.
Referenced by confirmDeleteThreads(), confirmMoveThreadsObject(), getContent(), and moveThreadsObject().
ilObjForumGUI::ilObjForumGUI | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prepare_output = true |
|||
) |
Definition at line 63 of file class.ilObjForumGUI.php.
References $_GET, $ilCtrl, ilForumProperties\getInstance(), ilObjectGUI\ilObjectGUI(), and ilUtil\stripSlashes().
ilObjForumGUI::infoScreen | ( | ) |
show information screen
Definition at line 3931 of file class.ilObjForumGUI.php.
References $_GET.
Referenced by executeCommand(), and infoScreenObject().
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 3921 of file class.ilObjForumGUI.php.
References infoScreen().
|
private |
private
Definition at line 631 of file class.ilObjForumGUI.php.
References ilUtil\getImagePath(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setMaxLength(), and ilCheckboxInputGUI\setValue().
Referenced by createObject(), and saveObject().
|
private |
private
Definition at line 704 of file class.ilObjForumGUI.php.
References ilUtil\getImagePath(), and ilFormPropertyGUI\setRequired().
Referenced by createObject(), and performImportObject().
|
private |
Definition at line 1703 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $file, ilHtmlPurifierFactory\_getInstanceByType(), ilObjAdvancedEditing\_getRichTextEditorUserState(), ilRTE\_getRTEClassname(), ilObjAdvancedEditing\_setRichTextEditorUserState(), getForumObjects(), ilFileWizardInputGUI\setFilenames(), ilTextInputGUI\setMaxLength(), and ilFormPropertyGUI\setRequired().
Referenced by getReplyEditForm().
|
private |
Definition at line 3423 of file class.ilObjForumGUI.php.
References ilObjectGUI\$ilias, ilHtmlPurifierFactory\_getInstanceByType(), ilUtil\getImagePath(), ilTextAreaInputGUI\setCols(), ilFileWizardInputGUI\setFilenames(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setMaxLength(), and ilNonEditableValueGUI\setValue().
Referenced by addThreadObject(), and createThreadObject().
ilObjForumGUI::markAllReadObject | ( | ) |
Definition at line 288 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::moveThreadsObject | ( | $confirm = false | ) |
Definition at line 3305 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $ilDB, ilObjectGUI\$lng, $objCurrentTopic, $result, ilObjectGUI\$tree, ilForumTopic\_lookupTitle(), hideToolbar(), ilUtil\sendInfo(), and ilExplorer\setExpandTarget().
Referenced by confirmMoveThreadsObject(), performMoveThreadsObject(), performThreadsActionObject(), and searchForumsObject().
ilObjForumGUI::performDeleteThreadsObject | ( | ) |
Definition at line 1125 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $ilCtrl, $ilDB, ilObjectGUI\$lng, ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::performImportObject | ( | ) |
Definition at line 774 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $error, $file, ilObjectGUI\$ref_id, __initFileObject(), __initParserObject(), ilObjectGUI\createObject(), ilObjectGUI\getReturnLocation(), initForumImportForm(), ilUtil\redirect(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjForumGUI::performMoveThreadsObject | ( | ) |
Definition at line 3219 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$lng, moveThreadsObject(), and ilUtil\sendInfo().
ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1445 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and viewThreadObject().
ilObjForumGUI::performPostAndChildPostsActivationObject | ( | ) |
Definition at line 1430 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and viewThreadObject().
ilObjForumGUI::performThreadsActionObject | ( | ) |
Perform form action in threads list.
Definition at line 3082 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$lng, confirmDeleteThreads(), executeCommand(), moveThreadsObject(), and ilUtil\sendInfo().
ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 3908 of file class.ilObjForumGUI.php.
ilObjForumGUI::prepareThreadScreen | ( | $a_forum_obj | ) |
Definition at line 1356 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().
ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 2102 of file class.ilObjForumGUI.php.
References $_GET, $_POST, getReplyEditForm(), and viewThreadObject().
|
private |
Definition at line 2080 of file class.ilObjForumGUI.php.
References $reloadTree.
Referenced by doReloadTreeObject(), and viewThreadObject().
ilObjForumGUI::saveObject | ( | $a_prevent_redirect = false | ) |
save object public
Definition at line 852 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilObjectGUI\createObject(), initForumCreateForm(), ilUtil\redirect(), ilObjectGUI\saveObject(), and ilUtil\sendSuccess().
ilObjForumGUI::savePostObject | ( | ) |
Definition at line 1878 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $file, $ilDB, ilObjectGUI\$lng, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), ilNewsItem\getFirstNewsIdForContext(), getForumObjects(), getReplyEditForm(), handleFormInput(), ilUtil\sendSuccess(), and viewThreadObject().
ilObjForumGUI::searchForumsObject | ( | ) |
Definition at line 3288 of file class.ilObjForumGUI.php.
References $_SESSION, ilObjectGUI\$lng, and moveThreadsObject().
ilObjForumGUI::setColumnSettings | ( | $column_gui | ) |
Set column settings.
Reimplemented from ilObjectGUI.
Definition at line 3776 of file class.ilObjForumGUI.php.
References ilObjectGUI\$lng.
ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = 0 | ) |
Definition at line 1496 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
|
private |
private
Definition at line 689 of file class.ilObjForumGUI.php.
Referenced by createObject().
|
private |
private
Definition at line 3531 of file class.ilObjForumGUI.php.
Referenced by createThreadObject().
ilObjForumGUI::showExplorerObject | ( | ) |
Show Forum Explorer.
Definition at line 1316 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, $objCurrentTopic, ilObjectGUI\$tpl, exit, and ilUtil\getImagePath().
ilObjForumGUI::showStatisticsObject | ( | ) |
called from GUI
if globally deactivated, skip!!! intrusion detected
Definition at line 990 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$data, $result, $row, and ilUtil\sendInfo().
ilObjForumGUI::showThreadFramesetObject | ( | ) |
Output forum frameset.
Definition at line 1204 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, $ilDB, ilObjectGUI\$lng, exit, and ilUtil\sendInfo().
ilObjForumGUI::showThreadsObject | ( | ) |
list threads of forum
Definition at line 303 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), and ilObjectGUI\getRightColumnHTML().
Referenced by confirmDeleteThreads(), disableForumNotificationObject(), enableForumNotificationObject(), executeCommand(), markAllReadObject(), and performDeleteThreadsObject().
ilObjForumGUI::showUserObject | ( | ) |
Show user profile.
Definition at line 3020 of file class.ilObjForumGUI.php.
References $_GET, $ilDB, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilObjectFactory\getInstanceByRefId().
ilObjForumGUI::toggleStickinessObject | ( | ) |
Toggle sticky attribute of a thread.
Definition at line 1570 of file class.ilObjForumGUI.php.
References $_GET, and viewThreadObject().
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 1547 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), and viewThreadObject().
ilObjForumGUI::updateObject | ( | ) |
updates object entry in object_data
public
Reimplemented from ilObjectGUI.
Definition at line 186 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $ilSetting, editObject(), ilUtil\redirect(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
ilObjForumGUI::viewThreadObject | ( | ) |
View single thread.
Definition at line 2167 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $file, $ilCtrl, $ilDB, ilObjectGUI\$lng, $mobs, $params, ilObjectGUI\$tpl, ilObjMediaObject\_exists(), ilFrameTargetInfo\_getFrame(), ilObjMediaObject\_getMobsOfObject(), ilForum\_isModerator(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilUtil\deliverFile(), displayConfirmPostActivation(), exit, getActivationFormHTML(), ilAccessKeyGUI\getAttribute(), getCensorshipFormHTML(), ilObjectGUI\getCreationMode(), getDeleteFormHTML(), getForumObjects(), ilUtil\getImagePath(), getReplyEditForm(), getUserInstance(), ilUtil\getWebspaceDir(), handleFormInput(), ilUtil\Linkbar(), ilAccessKey\MARK_ALL_READ, prepareThreadScreen(), reloadTree(), ilUtil\sendInfo(), and ilUtil\switchColor().
Referenced by askForPostActivationObject(), cancelPostActivationObject(), cancelPostObject(), doReloadTreeObject(), performPostActivationObject(), performPostAndChildPostsActivationObject(), quotePostObject(), savePostObject(), toggleStickinessObject(), and toggleThreadNotificationObject().
|
private |
Definition at line 54 of file class.ilObjForumGUI.php.
|
private |
Definition at line 56 of file class.ilObjForumGUI.php.
|
private |
Definition at line 57 of file class.ilObjForumGUI.php.
|
private |
Definition at line 58 of file class.ilObjForumGUI.php.
|
private |
Definition at line 51 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
|
private |
Definition at line 50 of file class.ilObjForumGUI.php.
|
private |
Definition at line 61 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
|
private |
Definition at line 53 of file class.ilObjForumGUI.php.
|
private |
Definition at line 49 of file class.ilObjForumGUI.php.
|
private |
Definition at line 48 of file class.ilObjForumGUI.php.
Referenced by moveThreadsObject(), and showExplorerObject().
|
private |
Definition at line 46 of file class.ilObjForumGUI.php.
|
private |
Definition at line 60 of file class.ilObjForumGUI.php.
Referenced by reloadTree().