ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilObjForumGUI. More...
Public Member Functions | |
ilObjForumGUI ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true) | |
& | executeCommand () |
Execute Command. | |
editThreadObject ($a_thread_id) | |
updateThreadObject () | |
markAllReadObject () | |
showThreadsObject () | |
list threads of forum | |
getContent () | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page 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 () | |
showExplorerObject () | |
Show Forum Explorer. | |
prepareThreadScreen ($a_forum_obj) | |
performPostAndChildPostsActivationObject () | |
performPostActivationObject () | |
cancelPostActivationObject () | |
askForPostActivationObject () | |
setDisplayConfirmPostActivation ($status=0) | |
displayConfirmPostActivation () | |
toggleThreadNotificationObject () | |
Toggle thread notification for current user. | |
toggleStickinessObject () | |
Toggle sticky attribute of a thread. | |
cancelPostObject () | |
getDeleteFormHTML () | |
getActivationFormHTML () | |
getDeactivationFormHTML () | |
getCensorshipFormHTML () | |
savePostObject () | |
quotePostObject () | |
getQuotationHTMLAsynchObject () | |
getForumExplorer () | |
rememberTreeStateAsynchObject () | |
viewThreadObject () | |
View single thread. | |
showUserObject () | |
Show user profile. | |
performThreadsActionObject () | |
Perform form action in threads list. | |
performMoveThreadsObject () | |
cancelMoveThreadsObject () | |
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 | |
cancelCreation () | |
cancel create action and go back to repository parent | |
saveObject () | |
save object | |
editObject () | |
edit object | |
updateObject () | |
updates object entry in object_data | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
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 | |
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 () | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. | |
afterSave (ilObject $forumObj) | |
save object public | |
getUserProfileAdditional ($a_forum_ref_id, $a_user_id) | |
Additional data for public profile. | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. | |
addHeaderAction () | |
Add header action menu. | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. | |
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) | |
initCreationForms ($a_new_type) | |
Init creation froms. | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) | |
initCreateForm ($a_new_type) | |
Init object creation form. | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. | |
initEditForm () | |
Init object edit form. | |
getEditFormValues () | |
Get values for edit form. | |
afterUpdate () | |
Post (successful) object update hook. | |
initImportForm ($a_new_type) | |
Init object import form. | |
importFileObject ($parent_id=null) | |
Import. | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
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="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. |
Private Member Functions | |
initForumCreateForm ($object_type) | |
private | |
initReplyEditForm () | |
getReplyEditForm () | |
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 | |
$hideToolbar = false | |
$forum_overview_setting = null |
Class ilObjForumGUI.
ilObjForumGUI: ilPermissionGUI, ilForumExportGUI, ilInfoScreenGUI ilObjForumGUI: ilColumnGUI, ilPublicUserProfileGUI, ilForumModeratorsGUI ilObjForumGUI: ilObjectCopyGUI, ilExportGUI, ilCommonActionDispatcherGUI
Definition at line 26 of file class.ilObjForumGUI.php.
ilObjForumGUI::__showMembersTable | ( | $moderators, | |
$admins, | |||
$members, | |||
$tutors | |||
) |
Definition at line 4173 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 959 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 3779 of file class.ilObjForumGUI.php.
References $_GET.
ilObjForumGUI::addThreadObject | ( | $a_prevent_redirect = false | ) |
Add New Thread.
Definition at line 3460 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().
|
protected |
save object public
Reimplemented from ilObjectGUI.
Definition at line 770 of file class.ilObjForumGUI.php.
References ilObjForum\_lookupModeratorRole(), ilObject\getId(), ilObject\getOwner(), ilObject\getRefId(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1190 of file class.ilObjForumGUI.php.
References $_GET, setDisplayConfirmPostActivation(), and viewThreadObject().
ilObjForumGUI::cancelMoveThreadsObject | ( | ) |
Definition at line 3149 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 759 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjForumGUI::cancelPostActivationObject | ( | ) |
Definition at line 1183 of file class.ilObjForumGUI.php.
References viewThreadObject().
ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1260 of file class.ilObjForumGUI.php.
References $_GET, and viewThreadObject().
ilObjForumGUI::checkEnableColumnEdit | ( | ) |
No editing allowd in forums.
Notifications only.
Definition at line 3668 of file class.ilObjForumGUI.php.
ilObjForumGUI::cloneWizardPageObject | ( | ) |
Show selection of starting threads.
public
Definition at line 3723 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 1057 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilObjectGUI\$lng, ilForumTopic\_lookupTitle(), hideToolbar(), ilUtil\sendInfo(), and showThreadsObject().
Referenced by performThreadsActionObject().
ilObjForumGUI::copyWizardHasOptions | ( | $a_mode | ) |
public
Reimplemented from ilObjectGUI.
Definition at line 3706 of file class.ilObjForumGUI.php.
ilObjForumGUI::createThreadObject | ( | ) |
New Thread form.
Definition at line 3441 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, initTopicCreateForm(), and setTopicCreateDefaultValues().
ilObjForumGUI::disableAdminForceNotiObject | ( | ) |
disableAdminForceNotiObject
public
Definition at line 4338 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilUtil\sendInfo(), ilUtil\sendSuccess(), and showMembersObject().
ilObjForumGUI::disableForumNotificationObject | ( | ) |
Disable forum notification.
Definition at line 3650 of file class.ilObjForumGUI.php.
References $_GET, and showThreadsObject().
ilObjForumGUI::disableHideUserToggleNotiObject | ( | ) |
disableHideUserToggleNotiObject
public
Definition at line 4417 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilUtil\sendInfo(), ilUtil\sendSuccess(), and showMembersObject().
ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1208 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
Referenced by viewThreadObject().
ilObjForumGUI::editThreadObject | ( | $a_thread_id | ) |
Definition at line 304 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 4300 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 3630 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::enableHideUserToggleNotiObject | ( | ) |
enableHideUserToggleNotiObject
public
Definition at line 4375 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilUtil\sendInfo(), ilUtil\sendSuccess(), and showMembersObject().
& ilObjForumGUI::executeCommand | ( | ) |
Execute Command.
Reimplemented from ilObjectGUI.
Definition at line 91 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $cmd, $ilCtrl, $ret, ilObjectGUI\addHeaderAction(), exit, ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getUserProfileAdditional(), infoScreen(), ilObjectGUI\prepareOutput(), and showThreadsObject().
Referenced by performThreadsActionObject().
ilObjForumGUI::getActivationFormHTML | ( | ) |
Definition at line 1290 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
Referenced by viewThreadObject().
ilObjForumGUI::getCensorshipFormHTML | ( | ) |
Definition at line 1336 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
Referenced by viewThreadObject().
ilObjForumGUI::getContent | ( | ) |
Definition at line 356 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilObjectGUI\$lng, $result, ilUtil\formCheckbox(), hideToolbar(), ilUtil\Linkbar(), and ilAccessKey\MARK_ALL_READ.
ilObjForumGUI::getDeactivationFormHTML | ( | ) |
Definition at line 1314 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
ilObjForumGUI::getDeleteFormHTML | ( | ) |
Definition at line 1269 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$lng.
Referenced by viewThreadObject().
|
protected |
Add values to custom edit fields.
array | $a_values |
Reimplemented from ilObjectGUI.
Definition at line 273 of file class.ilObjForumGUI.php.
ilObjForumGUI::getForumExplorer | ( | ) |
Definition at line 1862 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $objCurrentTopic, ilObjectGUI\$tpl, ilJsonUtil\encode(), ilYuiUtil\getLocalPath(), and ilYuiUtil\initConnection().
Referenced by viewThreadObject().
|
private |
Definition at line 1844 of file class.ilObjForumGUI.php.
References $_GET.
Referenced by getQuotationHTMLAsynchObject(), initReplyEditForm(), savePostObject(), and viewThreadObject().
ilObjForumGUI::getIcon | ( | $user_toggle_noti | ) |
Definition at line 3986 of file class.ilObjForumGUI.php.
Referenced by showMembersObject().
ilObjForumGUI::getQuotationHTMLAsynchObject | ( | ) |
Definition at line 1834 of file class.ilObjForumGUI.php.
References ilRTE\_replaceMediaObjectImageSrc(), exit, and getForumObjects().
|
private |
Definition at line 1553 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 800 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 3881 of file class.ilObjForumGUI.php.
References ilObjectFactory\getInstanceByObjId().
Referenced by viewThreadObject().
|
protected |
Additional data for public profile.
Used in showUserObject() and executeCommand()
int | $a_forum_ref_id | |
int | $a_user_id |
Definition at line 2920 of file class.ilObjForumGUI.php.
References ilObjectGUI\$lng, and ilObjectFactory\getInstanceByRefId().
Referenced by executeCommand(), and showUserObject().
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 3795 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Referenced by addThreadObject(), savePostObject(), and viewThreadObject().
|
private |
Definition at line 1796 of file class.ilObjForumGUI.php.
References $hideToolbar.
Referenced by confirmDeleteThreads(), getContent(), and moveThreadsObject().
ilObjForumGUI::ilObjForumGUI | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prepare_output = true |
|||
) |
Definition at line 45 of file class.ilObjForumGUI.php.
References $_GET, $ilCtrl, ilObject\_lookupObjId(), ilForumProperties\getInstance(), ilObjectGUI\ilObjectGUI(), initSessionStorage(), and ilUtil\stripSlashes().
ilObjForumGUI::infoScreen | ( | ) |
show information screen
Definition at line 3831 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 3821 of file class.ilObjForumGUI.php.
References infoScreen().
|
protected |
Add custom fields to update form.
ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 225 of file class.ilObjForumGUI.php.
References $ilSetting, ilPropertyFormGUI\addItem(), ilRadioGroupInputGUI\addOption(), settingsTabs(), and ilCheckboxInputGUI\setValue().
|
private |
private
Definition at line 697 of file class.ilObjForumGUI.php.
References ilUtil\getImagePath(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setMaxLength(), and ilCheckboxInputGUI\setValue().
|
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 3952 of file class.ilObjForumGUI.php.
References ilRadioOption\addSubItem(), and ilCheckboxInputGUI\setValue().
Referenced by showMembersObject(), and updateNotificationSettingsObject().
|
private |
Definition at line 1370 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().
|
protected |
Definition at line 75 of file class.ilObjForumGUI.php.
References $_GET, and $_SESSION.
Referenced by ilObjForumGUI().
|
private |
Definition at line 3302 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 335 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::markPostReadObject | ( | ) |
Definition at line 4459 of file class.ilObjForumGUI.php.
References viewThreadObject().
ilObjForumGUI::markPostUnreadObject | ( | ) |
Definition at line 4451 of file class.ilObjForumGUI.php.
References $_GET, and viewThreadObject().
ilObjForumGUI::moveThreadsObject | ( | $confirm = false | ) |
Definition at line 3184 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 performMoveThreadsObject(), performThreadsActionObject(), and searchForumsObject().
ilObjForumGUI::performDeleteThreadsObject | ( | ) |
Definition at line 1017 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::performMoveThreadsObject | ( | ) |
Definition at line 3119 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$lng, moveThreadsObject(), and ilUtil\sendInfo().
ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1168 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and viewThreadObject().
ilObjForumGUI::performPostAndChildPostsActivationObject | ( | ) |
Definition at line 1153 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\sendInfo(), and viewThreadObject().
ilObjForumGUI::performThreadsActionObject | ( | ) |
Perform form action in threads list.
Definition at line 2962 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 3808 of file class.ilObjForumGUI.php.
ilObjForumGUI::prepareThreadScreen | ( | $a_forum_obj | ) |
Definition at line 1113 of file class.ilObjForumGUI.php.
References $_SESSION, ilObjectGUI\$ilias, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilUtil\getImagePath(), ilUtil\infoPanel(), and ilUtil\sendInfo().
Referenced by viewThreadObject().
ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 1807 of file class.ilObjForumGUI.php.
References $_GET, $_POST, getReplyEditForm(), and viewThreadObject().
ilObjForumGUI::rememberTreeStateAsynchObject | ( | ) |
Definition at line 1900 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, ilJsonUtil\encode(), and exit.
ilObjForumGUI::savePostObject | ( | ) |
Definition at line 1563 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $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 3167 of file class.ilObjForumGUI.php.
References $_SESSION, ilObjectGUI\$lng, and moveThreadsObject().
ilObjForumGUI::setColumnSettings | ( | $column_gui | ) |
Set column settings.
Reimplemented from ilObjectGUI.
Definition at line 3676 of file class.ilObjForumGUI.php.
References ilObjectGUI\$lng.
ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = 0 | ) |
Definition at line 1204 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
ilObjForumGUI::settingsTabs | ( | ) |
Definition at line 873 of file class.ilObjForumGUI.php.
References $_GET, and ilObjectGUI\$tree.
Referenced by initEditCustomForm(), and showMembersObject().
|
private |
private
Definition at line 3425 of file class.ilObjForumGUI.php.
Referenced by createThreadObject().
ilObjForumGUI::showExplorerObject | ( | ) |
Show Forum Explorer.
Definition at line 1096 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$lng, $objCurrentTopic, ilObjectGUI\$tpl, and ilUtil\getImagePath().
ilObjForumGUI::showMembersObject | ( | ) |
Shows different user sections and their notifcation status.
public
Definition at line 4000 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 900 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$data, $result, $row, and ilUtil\sendInfo().
ilObjForumGUI::showThreadsObject | ( | ) |
list threads of forum
Definition at line 350 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 2895 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$tpl, and getUserProfileAdditional().
ilObjForumGUI::toggleStickinessObject | ( | ) |
Toggle sticky attribute of a thread.
Definition at line 1239 of file class.ilObjForumGUI.php.
References $_GET, and viewThreadObject().
ilObjForumGUI::toggleThreadNotificationObject | ( | ) |
Toggle thread notification for current user.
Definition at line 1216 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), and viewThreadObject().
|
protected |
Insert custom update form values into object.
ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 284 of file class.ilObjForumGUI.php.
References $ilSetting, and ilPropertyFormGUI\getInput().
ilObjForumGUI::updateNotificationSettingsObject | ( | ) |
Saves the notifcation settings.
public
Definition at line 3907 of file class.ilObjForumGUI.php.
References $_POST, initNotificationSettingsForm(), ilUtil\sendSuccess(), and showMembersObject().
ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 322 of file class.ilObjForumGUI.php.
References $_POST, and showThreadsObject().
ilObjForumGUI::viewThreadObject | ( | ) |
View single thread.
Definition at line 1917 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $file, $ilCtrl, $is_moderator, ilObjectGUI\$lng, $mobs, $path, ilObjectGUI\$tpl, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilForum\_isModerator(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilUtil\deliverFile(), displayConfirmPostActivation(), exit, getActivationFormHTML(), getCensorshipFormHTML(), ilObjectGUI\getCreationMode(), getDeleteFormHTML(), getForumExplorer(), getForumObjects(), ilUtil\getImagePath(), getReplyEditForm(), getUserInstance(), ilUtil\getWebspaceDir(), handleFormInput(), ilUtil\Linkbar(), ilAccessKey\MARK_ALL_READ, prepareThreadScreen(), ilUtil\sendInfo(), ilForumNotification\setUserId(), and ilUtil\switchColor().
Referenced by askForPostActivationObject(), cancelPostActivationObject(), cancelPostObject(), markPostReadObject(), markPostUnreadObject(), performPostActivationObject(), performPostAndChildPostsActivationObject(), quotePostObject(), savePostObject(), toggleStickinessObject(), and toggleThreadNotificationObject().
|
private |
Definition at line 36 of file class.ilObjForumGUI.php.
|
private |
Definition at line 38 of file class.ilObjForumGUI.php.
|
private |
Definition at line 39 of file class.ilObjForumGUI.php.
|
private |
Definition at line 40 of file class.ilObjForumGUI.php.
|
private |
Definition at line 33 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
|
private |
Definition at line 32 of file class.ilObjForumGUI.php.
|
private |
Definition at line 43 of file class.ilObjForumGUI.php.
|
private |
Definition at line 42 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
|
private |
Definition at line 35 of file class.ilObjForumGUI.php.
Referenced by viewThreadObject().
|
private |
Definition at line 31 of file class.ilObjForumGUI.php.
|
private |
Definition at line 30 of file class.ilObjForumGUI.php.
Referenced by getForumExplorer(), moveThreadsObject(), and showExplorerObject().
ilObjForumGUI::$objProperties = null |
Definition at line 28 of file class.ilObjForumGUI.php.