ILIAS
Release_4_1_x_branch Revision 61804
|
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 | |
importFileObject () | |
Import. | |
editThreadObject ($a_thread_id) | |
updateThreadObject () | |
markAllReadObject () | |
showThreadsObject () | |
list threads of forum | |
getContent () | |
createObject ($subbmitted_form= '') | |
creation form | |
initImportForm ($a_new_type="") | |
Init object import form. | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
saveObject ($a_prevent_redirect=false) | |
save object public | |
getTabs (&$tabs_gui) | |
get tabs abstract method. | |
settingsTabs () | |
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 | |
updateNotificationSettingsObject () | |
Saves the notifcation settings. | |
getIcon ($user_toggle_noti) | |
showMembersObject () | |
Shows different user sections and their notifcation status. | |
__showMembersTable ($moderators, $admins, $members, $tutors) | |
enableAdminForceNotiObject () | |
enableAdminForceNotiObject | |
disableAdminForceNotiObject () | |
disableAdminForceNotiObject | |
enableHideUserToggleNotiObject () | |
enableHideUserToggleNotiObject | |
disableHideUserToggleNotiObject () | |
disableHideUserToggleNotiObject | |
markPostUnreadObject () | |
markPostReadObject () | |
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. |
Data Fields | |
$objProperties = null | |
$viewmode = null | |
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 |
Private Member Functions | |
initForumCreateForm ($object_type) | |
private | |
setForumCreateDefaultValues () | |
private | |
initReplyEditForm () | |
getReplyEditForm () | |
reloadTree ($a_flag=null) | |
hideToolbar ($a_flag=null) | |
getForumObjects () | |
initTopicCreateForm () | |
setTopicCreateDefaultValues () | |
private | |
getUserInstance ($a_usr_id) | |
Caching method for user instances. | |
initNotificationSettingsForm () | |
Initializes a new form for notifcation settings. |
Private Attributes | |
$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 | |
$forum_overview_setting = null |
Additional Inherited Members | |
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. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
checkPermission ($a_perm, $a_cmd="") |
Class ilObjForumGUI.
ilObjForumGUI: ilPermissionGUI, ilForumExportGUI, ilInfoScreenGUI ilObjForumGUI: ilColumnGUI, ilPublicUserProfileGUI, ilForumModeratorsGUI, ilObjectCopyGUI, ilExportGUI
Definition at line 24 of file class.ilObjForumGUI.php.
ilObjForumGUI::__showMembersTable | ( | $moderators, | |
$admins, | |||
$members, | |||
$tutors | |||
) |
Definition at line 4450 of file class.ilObjForumGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\$tpl.
Referenced by showMembersObject().
ilObjForumGUI::_goto | ( | $a_target, | |
$a_thread = 0 , |
|||
$a_posting = 0 |
|||
) |
redirect script
string | $a_target |
Definition at line 1122 of file class.ilObjForumGUI.php.
References $_GET, $ilCtrl, $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 4050 of file class.ilObjForumGUI.php.
References $_GET.
ilObjForumGUI::addThreadObject | ( | $a_prevent_redirect = false | ) |
Add New Thread.
Definition at line 3737 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 1527 of file class.ilObjForumGUI.php.
References $_GET, setDisplayConfirmPostActivation(), and viewThreadObject().
ilObjForumGUI::cancelMoveThreadsObject | ( | ) |
Definition at line 3420 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 880 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjForumGUI::cancelPostActivationObject | ( | ) |
Definition at line 1520 of file class.ilObjForumGUI.php.
References viewThreadObject().
ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1651 of file class.ilObjForumGUI.php.
References $_GET, and viewThreadObject().
ilObjForumGUI::checkEnableColumnEdit | ( | ) |
No editing allowd in forums.
Notifications only.
Definition at line 3939 of file class.ilObjForumGUI.php.
ilObjForumGUI::cloneWizardPageObject | ( | ) |
Show selection of starting threads.
public
Definition at line 3994 of file class.ilObjForumGUI.php.
References $_POST, $_REQUEST, $_SESSION, $title, ilForum\_getThreads(), ilObjectGUI\createObject(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUtil\sendInfo(), and ilForum\SORT_TITLE.
ilObjForumGUI::confirmDeleteThreads | ( | ) |
Definition at line 1221 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 3437 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 3977 of file class.ilObjForumGUI.php.
ilObjForumGUI::createObject | ( | $subbmitted_form = '' | ) |
creation form
Definition at line 815 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilObjectGUI\fillCloneTemplate(), initForumCreateForm(), initImportForm(), and setForumCreateDefaultValues().
ilObjForumGUI::createThreadObject | ( | ) |
New Thread form.
Definition at line 3718 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, initTopicCreateForm(), and setTopicCreateDefaultValues().
ilObjForumGUI::disableAdminForceNotiObject | ( | ) |
disableAdminForceNotiObject
public
Definition at line 4609 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilUtil\sendInfo(), ilUtil\sendSuccess(), and showMembersObject().
ilObjForumGUI::disableForumNotificationObject | ( | ) |
Disable forum notification.
Definition at line 3921 of file class.ilObjForumGUI.php.
References $_GET, and showThreadsObject().
ilObjForumGUI::disableHideUserToggleNotiObject | ( | ) |
disableHideUserToggleNotiObject
public
Definition at line 4688 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilUtil\sendInfo(), ilUtil\sendSuccess(), and showMembersObject().
ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1566 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
Referenced by viewThreadObject().
ilObjForumGUI::doReloadTreeObject | ( | ) |
Definition at line 2248 of file class.ilObjForumGUI.php.
References reloadTree(), and viewThreadObject().
ilObjForumGUI::editObject | ( | ) |
edit object
public
Reimplemented from ilObjectGUI.
Definition at line 241 of file class.ilObjForumGUI.php.
References $_GET, $ilSetting, ilRadioGroupInputGUI\addOption(), settingsTabs(), ilTextInputGUI\setValue(), ilCheckboxInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by updateObject().
ilObjForumGUI::editThreadObject | ( | $a_thread_id | ) |
Definition at line 346 of file class.ilObjForumGUI.php.
References ilForumTopic\_lookupTitle(), and ilTextInputGUI\setValue().
Referenced by performThreadsActionObject().
ilObjForumGUI::enableAdminForceNotiObject | ( | ) |
enableAdminForceNotiObject
if the Moderator or Admin activates the HideUserToggle Checkbox the AdminForceNoti Checkbox will be automatically activated too
if Mod/Admin disable the AdminForceNoti Checkbox the HideUserToggle Checkbox will be disabled too
public
Definition at line 4571 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilUtil\sendInfo(), ilUtil\sendSuccess(), and showMembersObject().
ilObjForumGUI::enableForumNotificationObject | ( | ) |
Show Notification Tab.
Enable forum notification.
Definition at line 3901 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::enableHideUserToggleNotiObject | ( | ) |
enableHideUserToggleNotiObject
public
Definition at line 4646 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilUtil\sendInfo(), ilUtil\sendSuccess(), and showMembersObject().
& ilObjForumGUI::executeCommand | ( | ) |
Execute Command.
Reimplemented from ilObjectGUI.
Definition at line 80 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 1683 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
Referenced by viewThreadObject().
ilObjForumGUI::getCensorshipFormHTML | ( | ) |
Definition at line 1729 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
Referenced by viewThreadObject().
ilObjForumGUI::getContent | ( | ) |
Definition at line 400 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilObjectGUI\$lng, $result, ilUtil\formCheckbox(), ilAccessKeyGUI\getAttribute(), hideToolbar(), ilUtil\Linkbar(), and ilAccessKey\MARK_ALL_READ.
ilObjForumGUI::getDeactivationFormHTML | ( | ) |
Definition at line 1707 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
ilObjForumGUI::getDeleteFormHTML | ( | ) |
Definition at line 1660 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, and ilFrameTargetInfo\_getFrame().
Referenced by viewThreadObject().
|
private |
Definition at line 2230 of file class.ilObjForumGUI.php.
References $_GET.
Referenced by getQuotationHTMLAsynchObject(), initReplyEditForm(), savePostObject(), and viewThreadObject().
ilObjForumGUI::getIcon | ( | $user_toggle_noti | ) |
Definition at line 4262 of file class.ilObjForumGUI.php.
Referenced by showMembersObject().
ilObjForumGUI::getQuotationHTMLAsynchObject | ( | ) |
Definition at line 2220 of file class.ilObjForumGUI.php.
References ilRTE\_replaceMediaObjectImageSrc(), exit, and getForumObjects().
|
private |
Definition at line 1932 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 961 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$tree.
|
private |
Caching method for user instances.
private
integer | $a_usr_id | Id of a user instance |
Definition at line 4152 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 4066 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Referenced by addThreadObject(), savePostObject(), and viewThreadObject().
|
private |
Definition at line 2182 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 47 of file class.ilObjForumGUI.php.
References $_GET, $ilCtrl, ilObject\_lookupObjId(), ilForumProperties\getInstance(), ilObjectGUI\ilObjectGUI(), and ilUtil\stripSlashes().
ilObjForumGUI::importFileObject | ( | ) |
Import.
public
Definition at line 307 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $ilErr, ilObjectGUI\$lng, ilObjectGUI\$objDefinition, ilObjectGUI\$tpl, ilObjectFactory\getInstanceByObjId(), initImportForm(), and ilUtil\sendSuccess().
ilObjForumGUI::infoScreen | ( | ) |
show information screen
Definition at line 4102 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 4092 of file class.ilObjForumGUI.php.
References infoScreen().
|
private |
private
Definition at line 740 of file class.ilObjForumGUI.php.
References ilUtil\getImagePath(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setMaxLength(), and ilCheckboxInputGUI\setValue().
Referenced by createObject(), and saveObject().
ilObjForumGUI::initImportForm | ( | $a_new_type = "" | ) |
Init object import form.
string | new type |
Definition at line 849 of file class.ilObjForumGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFileInputGUI\setSuffixes().
Referenced by createObject(), and importFileObject().
|
private |
Initializes a new form for notifcation settings.
private
boolean | True in case the form did not exist before calling this method, otherwise false |
Definition at line 4228 of file class.ilObjForumGUI.php.
References ilRadioOption\addSubItem(), and ilCheckboxInputGUI\setValue().
Referenced by showMembersObject(), and updateNotificationSettingsObject().
|
private |
Definition at line 1763 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 3594 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 379 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::markPostReadObject | ( | ) |
Definition at line 4730 of file class.ilObjForumGUI.php.
References viewThreadObject().
ilObjForumGUI::markPostUnreadObject | ( | ) |
Definition at line 4722 of file class.ilObjForumGUI.php.
References $_GET, and viewThreadObject().
ilObjForumGUI::moveThreadsObject | ( | $confirm = false | ) |
Definition at line 3476 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$lng, $objCurrentTopic, $path, $result, ilObjectGUI\$tree, ilForumTopic\_lookupTitle(), hideToolbar(), ilUtil\sendInfo(), and ilExplorer\setExpandTarget().
Referenced by confirmMoveThreadsObject(), performMoveThreadsObject(), performThreadsActionObject(), and searchForumsObject().
ilObjForumGUI::performDeleteThreadsObject | ( | ) |
Definition at line 1181 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::performMoveThreadsObject | ( | ) |
Definition at line 3390 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$lng, moveThreadsObject(), and ilUtil\sendInfo().
ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1505 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and viewThreadObject().
ilObjForumGUI::performPostAndChildPostsActivationObject | ( | ) |
Definition at line 1490 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and viewThreadObject().
ilObjForumGUI::performThreadsActionObject | ( | ) |
Perform form action in threads list.
Definition at line 3233 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$lng, confirmDeleteThreads(), editThreadObject(), executeCommand(), moveThreadsObject(), and ilUtil\sendInfo().
ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 4079 of file class.ilObjForumGUI.php.
ilObjForumGUI::prepareThreadScreen | ( | $a_forum_obj | ) |
Definition at line 1416 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 2193 of file class.ilObjForumGUI.php.
References $_GET, $_POST, getReplyEditForm(), and viewThreadObject().
|
private |
Definition at line 2171 of file class.ilObjForumGUI.php.
References $reloadTree.
Referenced by doReloadTreeObject(), and viewThreadObject().
ilObjForumGUI::saveObject | ( | $a_prevent_redirect = false | ) |
save object public
Definition at line 891 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilObjForum\_lookupModeratorRole(), ilObjectGUI\createObject(), initForumCreateForm(), ilUtil\redirect(), ilObjectGUI\saveObject(), and ilUtil\sendSuccess().
ilObjForumGUI::savePostObject | ( | ) |
Definition at line 1942 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $file, 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 3459 of file class.ilObjForumGUI.php.
References $_SESSION, ilObjectGUI\$lng, and moveThreadsObject().
ilObjForumGUI::setColumnSettings | ( | $column_gui | ) |
Set column settings.
Reimplemented from ilObjectGUI.
Definition at line 3947 of file class.ilObjForumGUI.php.
References ilObjectGUI\$lng.
ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = 0 | ) |
Definition at line 1556 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
|
private |
private
Definition at line 800 of file class.ilObjForumGUI.php.
Referenced by createObject().
ilObjForumGUI::settingsTabs | ( | ) |
Definition at line 1036 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$tree.
Referenced by editObject(), and showMembersObject().
|
private |
private
Definition at line 3702 of file class.ilObjForumGUI.php.
Referenced by createThreadObject().
ilObjForumGUI::showExplorerObject | ( | ) |
Show Forum Explorer.
Definition at line 1376 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, $objCurrentTopic, ilObjectGUI\$tpl, exit, and ilUtil\getImagePath().
ilObjForumGUI::showMembersObject | ( | ) |
Shows different user sections and their notifcation status.
public
Definition at line 4277 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $res, ilObjectGUI\$tpl, ilObjectGUI\$tree, __showMembersTable(), ilGroupParticipants\_getInstanceByObjId(), ilCourseParticipants\_getInstanceByObjId(), ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilUtil\formCheckbox(), getIcon(), ilObjectFactory\getInstanceByRefId(), initNotificationSettingsForm(), and settingsTabs().
Referenced by disableAdminForceNotiObject(), disableHideUserToggleNotiObject(), enableAdminForceNotiObject(), enableHideUserToggleNotiObject(), and updateNotificationSettingsObject().
ilObjForumGUI::showStatisticsObject | ( | ) |
called from GUI
if globally deactivated, skip!!! intrusion detected
Definition at line 1063 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$data, $result, $row, and ilUtil\sendInfo().
ilObjForumGUI::showThreadFramesetObject | ( | ) |
Output forum frameset.
Definition at line 1260 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, $ilDB, ilObjectGUI\$lng, $viewmode, exit, and ilUtil\sendInfo().
ilObjForumGUI::showThreadsObject | ( | ) |
list threads of forum
Definition at line 394 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), and ilObjectGUI\getRightColumnHTML().
Referenced by confirmDeleteThreads(), disableForumNotificationObject(), enableForumNotificationObject(), executeCommand(), markAllReadObject(), performDeleteThreadsObject(), and updateThreadObject().
ilObjForumGUI::showUserObject | ( | ) |
Show user profile.
Definition at line 3170 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilObjectFactory\getInstanceByRefId().
ilObjForumGUI::toggleStickinessObject | ( | ) |
Toggle sticky attribute of a thread.
Definition at line 1630 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 1607 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), and viewThreadObject().
ilObjForumGUI::updateNotificationSettingsObject | ( | ) |
Saves the notifcation settings.
public
Definition at line 4178 of file class.ilObjForumGUI.php.
References $_POST, initNotificationSettingsForm(), ilUtil\sendSuccess(), and showMembersObject().
ilObjForumGUI::updateObject | ( | ) |
updates object entry in object_data
public
Reimplemented from ilObjectGUI.
Definition at line 200 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $ilSetting, editObject(), ilUtil\redirect(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 364 of file class.ilObjForumGUI.php.
References $_POST, and showThreadsObject().
ilObjForumGUI::viewThreadObject | ( | ) |
View single thread.
Definition at line 2258 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $file, $ilCtrl, ilObjectGUI\$lng, $mobs, $path, 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(), ilForumNotification\setUserId(), ilUtil\switchColor(), and vd().
Referenced by askForPostActivationObject(), cancelPostActivationObject(), cancelPostObject(), doReloadTreeObject(), markPostReadObject(), markPostUnreadObject(), performPostActivationObject(), performPostAndChildPostsActivationObject(), quotePostObject(), savePostObject(), toggleStickinessObject(), and toggleThreadNotificationObject().
|
private |
Definition at line 34 of file class.ilObjForumGUI.php.
|
private |
Definition at line 36 of file class.ilObjForumGUI.php.
|
private |
Definition at line 37 of file class.ilObjForumGUI.php.
|
private |
Definition at line 38 of file class.ilObjForumGUI.php.
|
private |
Definition at line 31 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
|
private |
Definition at line 30 of file class.ilObjForumGUI.php.
|
private |
Definition at line 43 of file class.ilObjForumGUI.php.
|
private |
Definition at line 41 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
|
private |
Definition at line 33 of file class.ilObjForumGUI.php.
|
private |
Definition at line 29 of file class.ilObjForumGUI.php.
|
private |
Definition at line 28 of file class.ilObjForumGUI.php.
Referenced by moveThreadsObject(), and showExplorerObject().
ilObjForumGUI::$objProperties = null |
Definition at line 26 of file class.ilObjForumGUI.php.
|
private |
Definition at line 40 of file class.ilObjForumGUI.php.
Referenced by reloadTree().
ilObjForumGUI::$viewmode = null |
Definition at line 45 of file class.ilObjForumGUI.php.
Referenced by showThreadFramesetObject().