ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilObjForumGUI. More...
Static Public Member Functions | |
static | _goto ($a_target, $a_thread=0, $a_posting=0) |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. More... | |
Data Fields | |
$modal_history = '' | |
$objProperties | |
$object | |
$access | |
$ilObjDataCache | |
$tabs | |
$error | |
$ilNavigationHistory | |
$user | |
$settings | |
$toolbar | |
$repositoryTree | |
$rbac | |
$locator | |
$ilHelp | |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$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 () | |
addAutosave (ilPropertyFormGUI $form) | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
getEditFormCustomValues (array &$a_values) | |
updateCustom (ilPropertyFormGUI $a_form) | |
renderDraftContent ($render_drafts, $node, $edit_draft_id=null) | |
renderPostContent (ilForumPost $node, $Start, $z) | |
afterSave (ilObject $forumObj) | |
getTabs () | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
setSideBlocks () | |
{} More... | |
deleteMobsOfDraft ($draft_id, $message) | |
todo: move to ilForumUtil More... | |
deleteSelectedDraft (ilForumPostDraft $draft_obj=null) | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
setTitleAndDescription () | |
called by prepare output More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public More... | |
setAdminTabs () | |
set admin tabs public More... | |
setLocator () | |
set Locator More... | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms ($a_new_type) | |
Init creation froms. More... | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm ($a_new_type) | |
Init object creation form. More... | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. More... | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
Init object edit form. More... | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
Get values for edit form. More... | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm ($a_new_type) | |
Init object import form. More... | |
importFileObject ($parent_id=null, $a_catch_errors=true) | |
Import. More... | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. More... | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command More... | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command More... | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command More... | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) More... | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. More... | |
getTabs () | |
get tabs abstract method. More... | |
__showButton ($a_cmd, $a_text, $a_target='') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table More... | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value More... | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
May be overwritten in subclasses. More... | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. More... | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. More... | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. More... | |
Private Member Functions | |
isHierarchicalView () | |
isTopLevelReplyCommand () | |
getThreadEditingForm ($a_thread_id) | |
initForumCreateForm ($object_type) | |
getReplyEditForm () | |
hideToolbar ($a_flag=null) | |
getForumObjects () | |
getModifiedReOnSubject ($on_reply=false) | |
isWritingWithPseudonymAllowed () | |
initTopicCreateForm ($edit_draft=false) | |
setTopicCreateDefaultValues () | |
renderSplitButton ($is_post=true, ilForumPost $node, $Start=0, ilForumPostDraft $draft=null) | |
Private Attributes | |
$objCurrentTopic | |
$objCurrentPost | |
$display_confirm_post_activation = 0 | |
$is_moderator = false | |
$create_form_gui | |
$create_topic_form_gui | |
$replyEditForm | |
$hideToolbar = false | |
$forum_overview_setting = null | |
$forumObjects | |
$confirmation_gui_html = '' | |
$forum_settings_gui | |
Additional Inherited Members | |
Protected Attributes inherited from ilObjectGUI | |
$ilErr | |
$locator | |
$user | |
$access | |
$settings | |
$rbacreview | |
$toolbar | |
$rbacsystem | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
Class ilObjForumGUI.
ilObjForumGUI: ilPermissionGUI, ilForumExportGUI, ilInfoScreenGUI ilObjForumGUI: ilColumnGUI, ilPublicUserProfileGUI, ilForumModeratorsGUI, ilRepositoryObjectSearchGUI ilObjForumGUI: ilObjectCopyGUI, ilExportGUI, ilCommonActionDispatcherGUI, ilRatingGUI ilObjForumGUI: ilForumSettingsGUI
Definition at line 36 of file class.ilObjForumGUI.php.
ilObjForumGUI::__construct | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference = true , |
|||
$a_prepare_output = true |
|||
) |
Definition at line 122 of file class.ilObjForumGUI.php.
References $_GET, $DIC, array, ilForumProperties\getInstance(), initSessionStorage(), settings(), and user().
|
static |
Definition at line 1252 of file class.ilObjForumGUI.php.
References $_GET, $DIC, ilObjectGUI\$ilErr, ilObjectGUI\$lng, ilObjectGUI\$ref_id, ilObject\_getAllReferences(), ilObject\_lookupObjectId(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, ilUtil\redirect(), and ilUtil\sendInfo().
|
protected |
ilPropertyFormGUI | $form |
Definition at line 196 of file class.ilObjForumGUI.php.
References $_GET, array, ilFormGUI\getId(), ilUtil\getImagePath(), ilForumPostDraft\isAutoSavePostDraftAllowed(), and ilForumPostDraft\lookupAutosaveInterval().
Referenced by getCensorshipFormHTML(), and initTopicCreateForm().
ilObjForumGUI::addLocatorItems | ( | ) |
Definition at line 3960 of file class.ilObjForumGUI.php.
References object.
ilObjForumGUI::addThreadObject | ( | $a_prevent_redirect = false | ) |
Definition at line 3736 of file class.ilObjForumGUI.php.
References $_POST, $file, $GLOBALS, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), array, doCaptchaCheck(), ilForumUtil\getPublicUserAlias(), handleFormInput(), initTopicCreateForm(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ilForumPostDraft\newInstanceByDraftId(), object, ilUtil\sendSuccess(), ilFileDataForum\storeUploadedFile(), and user().
ilObjForumGUI::addToDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 4163 of file class.ilObjForumGUI.php.
References ilDesktopItemGUI\addToDesktop(), ilUtil\sendSuccess(), settings(), and showThreadsObject().
|
protected |
ilObject | ilObjForum | $forumObj |
Definition at line 1145 of file class.ilObjForumGUI.php.
References ilObject\getRefId(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1496 of file class.ilObjForumGUI.php.
References setDisplayConfirmPostActivation().
ilObjForumGUI::autosaveDraftAsyncObject | ( | ) |
Definition at line 4960 of file class.ilObjForumGUI.php.
References $_GET, ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), exit, ilForumUtil\getPublicUserAlias(), getReplyEditForm(), handleFormInput(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilObjForum\lookupForumIdByRefId(), ilForumDraftsHistory\MEDIAOBJECT_TYPE, ilForumPostDraft\MEDIAOBJECT_TYPE, ilForumPostDraft\newInstanceByDraftId(), and user().
ilObjForumGUI::autosaveThreadDraftAsyncObject | ( | ) |
Definition at line 5080 of file class.ilObjForumGUI.php.
References $_GET, $create_topic_form_gui, ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), exit, ilForumUtil\getPublicUserAlias(), handleFormInput(), initTopicCreateForm(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilObjForum\lookupForumIdByRefId(), ilForumDraftsHistory\MEDIAOBJECT_TYPE, ilForumPostDraft\MEDIAOBJECT_TYPE, ilForumPostDraft\newInstanceByDraftId(), and user().
ilObjForumGUI::cancelDraftObject | ( | ) |
Definition at line 1572 of file class.ilObjForumGUI.php.
References $_GET, array, ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumDraftsHistory\MEDIAOBJECT_TYPE, ilForumPostDraft\MEDIAOBJECT_TYPE, ilForumUtil\moveMediaObjects(), and ilForumPostDraft\newInstanceByDraftId().
ilObjForumGUI::cancelMergeThreads | ( | ) |
Definition at line 4372 of file class.ilObjForumGUI.php.
References showThreadsObject().
ilObjForumGUI::cancelMoveThreadsObject | ( | ) |
ilObjForumGUI::cancelObject | ( | ) |
Definition at line 1136 of file class.ilObjForumGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1561 of file class.ilObjForumGUI.php.
References $_GET, $_POST, array, and ilForumPostDraft\newInstanceByDraftId().
ilObjForumGUI::checkDraftAccess | ( | $draft_id | ) |
$draft_id |
Definition at line 5415 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\newInstanceByDraftId(), and user().
Referenced by editDraftObject().
ilObjForumGUI::checkEnableColumnEdit | ( | ) |
Definition at line 3894 of file class.ilObjForumGUI.php.
ilObjForumGUI::cloneWizardPageObject | ( | ) |
Definition at line 3916 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $title, ilForum\_getThreads(), ilObjectGUI\createObject(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUtil\sendInfo(), and ilForum\SORT_TITLE.
ilObjForumGUI::confirmDeleteThreadDraftsObject | ( | ) |
Definition at line 1403 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilObject\_getIcon(), ilForumPostDraft\getDraftInstancesByUserId(), ilObject\getId(), hideToolbar(), ilUtil\infoPanel(), isHierarchicalView(), ilUtil\sendInfo(), showThreadsObject(), user(), ilForumProperties\VIEW_DATE, and ilForumProperties\VIEW_TREE.
ilObjForumGUI::confirmDeleteThreads | ( | ) |
Definition at line 1361 of file class.ilObjForumGUI.php.
References $_POST, ensureThreadBelongsToForum(), hideToolbar(), object, ilUtil\sendInfo(), and showThreadsObject().
Referenced by performThreadsActionObject().
ilObjForumGUI::confirmMergeThreadsObject | ( | ) |
Definition at line 4279 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilForumTopic\_lookupDate(), ilForumTopic\_lookupTitle(), ensureThreadBelongsToForum(), ilForumTopic\lookupForumIdByTopicId(), mergeThreadsObject(), object, ilUtil\sendFailure(), ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::createThreadObject | ( | ) |
Definition at line 3602 of file class.ilObjForumGUI.php.
References initTopicCreateForm(), and setTopicCreateDefaultValues().
ilObjForumGUI::createTopLevelPostObject | ( | ) |
Definition at line 1940 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\getDraftId(), ilForumPostDraft\isSavePostDraftAllowed(), and user().
|
protected |
todo: move to ilForumUtil
$draft_id | |
$message |
Definition at line 4886 of file class.ilObjForumGUI.php.
References $message, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), and ilObjMediaObject\_removeUsage().
Referenced by deleteSelectedDraft(), and deleteThreadDraftsObject().
|
protected |
ilForumPostDraft | null | $draft_obj |
Definition at line 4913 of file class.ilObjForumGUI.php.
References $_GET, $GLOBALS, array, ilFileDataForumDrafts\delete(), deleteMobsOfDraft(), ilForumPostDraft\isSavePostDraftAllowed(), object, ilUtil\sendSuccess(), and user().
Referenced by getForumObjects().
ilObjForumGUI::deleteThreadDraftsObject | ( | ) |
Definition at line 3548 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $GLOBALS, array, ilFileDataForumDrafts\delete(), deleteMobsOfDraft(), ilForumPostDraft\getDraftInstancesByUserId(), ilForumPostDraft\isSavePostDraftAllowed(), object, ilUtil\sendInfo(), and user().
ilObjForumGUI::deliverDraftZipFileObject | ( | ) |
Definition at line 4393 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\newInstanceByDraftId(), and user().
ilObjForumGUI::deliverZipFileObject | ( | ) |
Definition at line 4407 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), and object.
ilObjForumGUI::disableForumNotificationObject | ( | ) |
Definition at line 3878 of file class.ilObjForumGUI.php.
References object, ilUtil\sendInfo(), showThreadsObject(), and user().
ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1516 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
Referenced by getForumObjects(), renderPostContent(), and renderSplitButton().
ilObjForumGUI::doCaptchaCheck | ( | ) |
Definition at line 5476 of file class.ilObjForumGUI.php.
References user().
Referenced by addThreadObject(), editDraftObject(), publishDraftObject(), publishThreadDraftObject(), saveThreadAsDraftObject(), and updateThreadDraftObject().
ilObjForumGUI::doHistoryCheck | ( | $draft_id | ) |
$draft_id |
Definition at line 5430 of file class.ilObjForumGUI.php.
References $key, ilRTE\_replaceMediaObjectImageSrc(), ilForumPostDraft\createDraftBackup(), ilDatePresentation\formatDate(), ilLinkButton\getInstance(), ilModalGUI\getInstance(), ilForumDraftsHistory\getInstancesByDraftId(), IL_CAL_DATETIME, iljQueryUtil\initjQuery(), and ilForumPostDraft\isAutoSavePostDraftAllowed().
Referenced by editDraftObject(), and editThreadDraftObject().
ilObjForumGUI::editDraftObject | ( | ) |
Definition at line 4757 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $file, $GLOBALS, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), array, checkDraftAccess(), doCaptchaCheck(), doHistoryCheck(), getForumObjects(), ilForumUtil\getPublicUserAlias(), getReplyEditForm(), handleFormInput(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), object, ilForumUtil\saveMediaObjects(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and user().
ilObjForumGUI::editThreadDraftObject | ( | $form = null | ) |
Definition at line 4421 of file class.ilObjForumGUI.php.
References $_GET, $form, $modal_history, ilRTE\_replaceMediaObjectImageSrc(), array, doHistoryCheck(), initTopicCreateForm(), and object.
Referenced by updateThreadDraftObject().
ilObjForumGUI::editThreadObject | ( | $a_thread_id, | |
ilPropertyFormGUI | $form = null |
||
) |
$a_thread_id | ||
ilPropertyFormGUI | $form |
Definition at line 474 of file class.ilObjForumGUI.php.
References $form, array, ensureThreadBelongsToForum(), getThreadEditingForm(), and object.
Referenced by performThreadsActionObject(), and updateThreadObject().
ilObjForumGUI::enableForumNotificationObject | ( | ) |
Definition at line 3862 of file class.ilObjForumGUI.php.
References object, ilUtil\sendInfo(), showThreadsObject(), and user().
ilObjForumGUI::ensureThreadBelongsToForum | ( | $objId, | |
\ilForumTopic | $thread | ||
) |
int | $objId | |
ilForumTopic | $thread |
Definition at line 185 of file class.ilObjForumGUI.php.
References ilForumTopic\getForumId(), and ilObjForum\lookupForumIdByObjId().
Referenced by confirmDeleteThreads(), confirmMergeThreadsObject(), deliverZipFileObject(), editThreadObject(), executeCommand(), getForumObjects(), markPostReadObject(), markPostUnreadObject(), moveThreadsObject(), performDeleteThreadsObject(), performMergeThreadsObject(), performMoveThreadsObject(), performPostActivationObject(), performThreadsActionObject(), publishDraftObject(), quotePostObject(), saveThreadSortingObject(), toggleStickinessObject(), toggleThreadNotificationObject(), and updateThreadObject().
ilObjForumGUI::executeCommand | ( | ) |
Definition at line 250 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $forum_settings_gui, $objCurrentTopic, $ret, ilObjectGUI\addHeaderAction(), ilNavigationHistory\addItem(), array, ensureThreadBelongsToForum(), exit, ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilRating\getOverallRatingForObject(), infoScreen(), object, ilObjectGUI\prepareOutput(), setSideBlocks(), showThreadsObject(), and user().
Referenced by performThreadsActionObject().
ilObjForumGUI::getActivationFormHTML | ( | ) |
Definition at line 1639 of file class.ilObjForumGUI.php.
References $_GET.
Referenced by getForumObjects().
ilObjForumGUI::getCensorshipFormHTML | ( | ) |
Definition at line 1659 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $file, ilHtmlPurifierFactory\_getInstanceByType(), ilObjAdvancedEditing\_getRichTextEditorUserState(), ilRTE\_getRTEClassname(), ilObjAdvancedEditing\_setRichTextEditorUserState(), addAutosave(), array, getForumObjects(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), isTopLevelReplyCommand(), isWritingWithPseudonymAllowed(), ilForumPostDraft\lookupAutosaveInterval(), ilFileWizardInputGUI\setFilenames(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setMaxLength(), ilFormPropertyGUI\setRequired(), and user().
Referenced by getForumObjects().
ilObjForumGUI::getContent | ( | ) |
Definition at line 566 of file class.ilObjForumGUI.php.
References $_GET, $tbl, array, ilLinkButton\getInstance(), ilForumPostDraft\getThreadDraftData(), hideToolbar(), ilForumPostDraft\isSavePostDraftAllowed(), ilObjForum\lookupForumIdByObjId(), ilAccessKey\MARK_ALL_READ, object, and user().
|
protected |
array | $a_values |
Definition at line 435 of file class.ilObjForumGUI.php.
|
private |
Definition at line 2465 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$actions, $form, $forumObjects, $i, $mobs, $objCurrentTopic, $object, $params, $toolbar, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjectGUI\addHeaderAction(), ilNavigationHistory\addItem(), array, deleteSelectedDraft(), displayConfirmPostActivation(), ensureThreadBelongsToForum(), getActivationFormHTML(), getCensorshipFormHTML(), ilObjectGUI\getCreationMode(), ilLinkButton\getInstance(), ilSplitButtonGUI\getInstance(), ilForumPostDraft\getInstancesByUserIdAndThreadId(), getModifiedReOnSubject(), getReplyEditForm(), handleFormInput(), isHierarchicalView(), ilForumPostDraft\isSavePostDraftAllowed(), isTopLevelReplyCommand(), ilUtil\Linkbar(), ilAccessKey\MARK_ALL_READ, object, renderDraftContent(), renderPostContent(), ilUtil\sendInfo(), ilUtil\sendSuccess(), ilForumExplorerGUI\setThread(), user(), ilForumProperties\VIEW_DATE, ilForumProperties\VIEW_DATE_ASC, and ilForumProperties\VIEW_TREE.
Referenced by editDraftObject(), getCensorshipFormHTML(), publishDraftObject(), quotePostObject(), and updateThreadDraftObject().
|
private |
Definition at line 3061 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
|
private |
Definition at line 1928 of file class.ilObjForumGUI.php.
References $replyEditForm.
Referenced by autosaveDraftAsyncObject(), editDraftObject(), getForumObjects(), publishDraftObject(), quotePostObject(), renderDraftContent(), and updateThreadDraftObject().
ilObjForumGUI::getSubTabs | ( | $subtab = 'showThreads' | ) |
Definition at line 558 of file class.ilObjForumGUI.php.
References $is_moderator.
Referenced by showThreadsObject(), and sortThreadsObject().
|
protected |
Definition at line 1152 of file class.ilObjForumGUI.php.
References $_GET, array, and settings().
|
private |
int | $a_thread_id |
Definition at line 452 of file class.ilObjForumGUI.php.
References $form, and ilFormPropertyGUI\setRequired().
Referenced by editThreadObject(), and updateThreadObject().
ilObjForumGUI::handleFormInput | ( | $a_text, | |
$a_stripslashes = true |
|||
) |
Definition at line 3967 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Referenced by addThreadObject(), autosaveDraftAsyncObject(), autosaveThreadDraftAsyncObject(), editDraftObject(), getForumObjects(), publishDraftObject(), publishThreadDraftObject(), saveThreadAsDraftObject(), and updateThreadDraftObject().
|
private |
Definition at line 2396 of file class.ilObjForumGUI.php.
References $hideToolbar.
Referenced by confirmDeleteThreadDraftsObject(), confirmDeleteThreads(), getContent(), and moveThreadsObject().
ilObjForumGUI::infoScreen | ( | ) |
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 3998 of file class.ilObjForumGUI.php.
Referenced by executeCommand(), and infoScreenObject().
ilObjForumGUI::infoScreenObject | ( | ) |
Definition at line 416 of file class.ilObjForumGUI.php.
References infoScreen().
|
protected |
|
private |
string | $object_type |
Definition at line 1061 of file class.ilObjForumGUI.php.
References ilRadioOption\addSubItem(), ilUtil\getImagePath(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setSize(), settings(), ilCheckboxInputGUI\setValue(), ilObject\TITLE_LENGTH, ilForumProperties\VIEW_DATE, ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
|
protected |
Definition at line 4051 of file class.ilObjForumGUI.php.
References $lg, array, ilUtil\getImagePath(), isParentObjectCrsOrGrp(), isUserAllowedToDeactivateNotification(), object, settings(), and user().
|
protected |
Definition at line 167 of file class.ilObjForumGUI.php.
References $_GET, $sess, array, ilSession\get(), and ilSession\set().
Referenced by __construct().
|
private |
Definition at line 3402 of file class.ilObjForumGUI.php.
References $_GET, $file, ilHtmlPurifierFactory\_getInstanceByType(), addAutosave(), array, ilUtil\getImagePath(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ilForumPostDraft\newInstanceByDraftId(), ilTextAreaInputGUI\setCols(), ilFileWizardInputGUI\setFilenames(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setMaxLength(), ilFormPropertyGUI\setRequired(), ilNonEditableValueGUI\setValue(), and user().
Referenced by addThreadObject(), autosaveThreadDraftAsyncObject(), createThreadObject(), editThreadDraftObject(), publishThreadDraftObject(), saveThreadAsDraftObject(), and updateThreadDraftObject().
|
private |
Definition at line 228 of file class.ilObjForumGUI.php.
References $_SESSION, ilForumProperties\VIEW_DATE, and ilForumProperties\VIEW_TREE.
Referenced by confirmDeleteThreadDraftsObject(), and getForumObjects().
ilObjForumGUI::isParentObjectCrsOrGrp | ( | ) |
Definition at line 4148 of file class.ilObjForumGUI.php.
References object.
Referenced by initHeaderAction(), and isUserAllowedToDeactivateNotification().
|
private |
Definition at line 242 of file class.ilObjForumGUI.php.
References array.
Referenced by getCensorshipFormHTML(), and getForumObjects().
ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) |
Definition at line 4123 of file class.ilObjForumGUI.php.
References $_GET, isParentObjectCrsOrGrp(), and user().
Referenced by initHeaderAction().
|
private |
Definition at line 3393 of file class.ilObjForumGUI.php.
Referenced by addThreadObject(), getCensorshipFormHTML(), initTopicCreateForm(), and publishDraftObject().
ilObjForumGUI::markAllReadObject | ( | ) |
Definition at line 533 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), showThreadsObject(), and user().
ilObjForumGUI::markPostReadObject | ( | ) |
Definition at line 4033 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), object, and user().
ilObjForumGUI::markPostUnreadObject | ( | ) |
Definition at line 4019 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), object, and user().
ilObjForumGUI::mergeThreadsObject | ( | ) |
Definition at line 4221 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $tbl, ilForum\_lookupObjIdForForumId(), array, object, ilUtil\sendFailure(), ilUtil\sendInfo(), and showThreadsObject().
Referenced by confirmMergeThreadsObject(), and performThreadsActionObject().
ilObjForumGUI::moveThreadsObject | ( | ) |
Definition at line 3323 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $counter, $is_moderator, $result, array, ensureThreadBelongsToForum(), hideToolbar(), object, and ilUtil\sendInfo().
Referenced by performMoveThreadsObject(), and performThreadsActionObject().
ilObjForumGUI::performDeleteThreadsObject | ( | ) |
Definition at line 1309 of file class.ilObjForumGUI.php.
References $_POST, ensureThreadBelongsToForum(), object, ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::performMergeThreadsObject | ( | ) |
Definition at line 4336 of file class.ilObjForumGUI.php.
References $_POST, ensureThreadBelongsToForum(), ilForum\mergeThreads(), object, ilUtil\sendFailure(), ilUtil\sendSuccess(), and showThreadsObject().
ilObjForumGUI::performMoveThreadsObject | ( | ) |
Definition at line 3265 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, array, ensureThreadBelongsToForum(), moveThreadsObject(), object, ilUtil\sendFailure(), and ilUtil\sendInfo().
ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1470 of file class.ilObjForumGUI.php.
References $GLOBALS, $objCurrentPost, array, ensureThreadBelongsToForum(), object, and ilUtil\sendInfo().
ilObjForumGUI::performThreadsActionObject | ( | ) |
Definition at line 3147 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $i, $message, confirmDeleteThreads(), editThreadObject(), ensureThreadBelongsToForum(), executeCommand(), mergeThreadsObject(), moveThreadsObject(), object, ilUtil\sendInfo(), ilUtil\sendSuccess(), settings(), and user().
ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 3978 of file class.ilObjForumGUI.php.
References ilUtil\prepareFormOutput().
ilObjForumGUI::publishDraftObject | ( | $use_replyform = true | ) |
Definition at line 1986 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $file, $GLOBALS, $message, $objCurrentPost, $objCurrentTopic, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), array, date, ilFileDataForum\delete(), ilForumPostDraft\deleteDraft(), doCaptchaCheck(), ensureThreadBelongsToForum(), ilNewsItem\getFirstNewsIdForContext(), getForumObjects(), getReplyEditForm(), handleFormInput(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ilForumUtil\moveMediaObjects(), object, ilForumUtil\saveMediaObjects(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilFileDataForum\storeUploadedFile(), and user().
Referenced by publishSelectedDraftObject().
ilObjForumGUI::publishSelectedDraftObject | ( | ) |
Definition at line 1979 of file class.ilObjForumGUI.php.
References $_GET, and publishDraftObject().
ilObjForumGUI::publishThreadDraftObject | ( | $a_prevent_redirect = false | ) |
Definition at line 3622 of file class.ilObjForumGUI.php.
References $_GET, $file, $GLOBALS, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), array, doCaptchaCheck(), ilForumUtil\getPublicUserAlias(), handleFormInput(), initTopicCreateForm(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumPostDraft\newInstanceByDraftId(), object, ilUtil\sendSuccess(), ilFileDataForum\storeUploadedFile(), and user().
ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 2406 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $html, ilRTE\_replaceMediaObjectImageSrc(), array, ensureThreadBelongsToForum(), exit, getForumObjects(), getReplyEditForm(), and object.
Referenced by quoteTopLevelPostObject().
ilObjForumGUI::quoteTopLevelPostObject | ( | ) |
Definition at line 1973 of file class.ilObjForumGUI.php.
References quotePostObject().
ilObjForumGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 4179 of file class.ilObjForumGUI.php.
References ilDesktopItemGUI\removeFromDesktop(), ilUtil\sendSuccess(), settings(), and showThreadsObject().
|
protected |
$render_drafts | ||
$node | ||
null | $edit_draft_id |
Definition at line 648 of file class.ilObjForumGUI.php.
References $_GET, $file, $modal_history, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), array, ilGlyphGUI\ATTACHMENT, ilGlyphGUI\get(), ilLinkButton\getInstance(), ilForumPostDraft\getInstancesByUserIdAndThreadId(), getReplyEditForm(), object, renderSplitButton(), and user().
Referenced by getForumObjects().
|
protected |
$node | |
$Start | |
$z |
Definition at line 840 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $file, $is_moderator, $object, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), array, ilGlyphGUI\ATTACHMENT, displayConfirmPostActivation(), ilGlyphGUI\get(), ilForumPost\getCensorshipComment(), ilForumPost\getChangeDate(), ilForumPost\getCreateDate(), ilForumPost\getDisplayUserId(), ilForumPost\getId(), ilForumPost\getImportName(), ilLinkButton\getInstance(), ilForumPost\getIsAuthorModerator(), ilForumPost\getMessage(), ilForumPost\getPosAuthorId(), ilForumPost\getSubject(), ilForumPost\getThreadId(), ilForumPost\getUpdateUserId(), ilForumPost\getUserAlias(), ilForumPost\isActivated(), ilForumPost\isCensored(), ilForumPost\isOwner(), ilForumPost\isPostRead(), renderSplitButton(), ilForumPost\setChangeDate(), ilForumPost\setMessage(), ilUtil\switchColor(), and user().
Referenced by getForumObjects().
|
private |
bool | $is_post | |
ilForumPost | $node | |
int | $Start | |
ilForumPostDraft | NULL | $draft |
ilSplitButtonException |
Definition at line 5207 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$actions, $i, $is_moderator, $url, array, displayConfirmPostActivation(), ilForumPost\getForumId(), ilForumPost\getId(), ilLinkButton\getInstance(), ilSplitButtonGUI\getInstance(), ilForumPostDraft\getInstancesByUserIdAndThreadId(), ilForumPost\getThreadId(), ilForumPost\hasReplies(), ilForumPost\isActivated(), ilForumPost\isCensored(), ilForumPost\isOwner(), ilForumPost\isPostRead(), and user().
Referenced by renderDraftContent(), and renderPostContent().
ilObjForumGUI::restoreFromHistoryObject | ( | ) |
Definition at line 4460 of file class.ilObjForumGUI.php.
References $_GET, and ilForumPostDraft\createDraftBackup().
ilObjForumGUI::saveThreadAsDraftObject | ( | ) |
Definition at line 4484 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $file, $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), array, doCaptchaCheck(), ilForumUtil\getPublicUserAlias(), handleFormInput(), initTopicCreateForm(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), object, ilUtil\sendSuccess(), and user().
ilObjForumGUI::saveThreadSortingObject | ( | ) |
Definition at line 4192 of file class.ilObjForumGUI.php.
References $_POST, array, ensureThreadBelongsToForum(), object, ilUtil\sendSuccess(), and showThreadsObject().
ilObjForumGUI::saveTopLevelPostObject | ( | ) |
Definition at line 1964 of file class.ilObjForumGUI.php.
ilObjForumGUI::setColumnSettings | ( | ilColumnGUI | $column_gui | ) |
Definition at line 3899 of file class.ilObjForumGUI.php.
References ilColumnGUI\setBlockProperty(), and ilColumnGUI\setRepositoryMode().
ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = 0 | ) |
Definition at line 1511 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
|
protected |
{}
Definition at line 4380 of file class.ilObjForumGUI.php.
References $GLOBALS, ilObjectGUI\getRightColumnHTML(), and ilRepositoryObjectSearchGUI\getSearchBlockHTML().
Referenced by executeCommand(), showThreadsObject(), and sortThreadsObject().
|
private |
Definition at line 3592 of file class.ilObjForumGUI.php.
References array.
Referenced by createThreadObject().
ilObjForumGUI::showStatisticsObject | ( | ) |
if globally deactivated, skip!!! intrusion detected
Definition at line 1206 of file class.ilObjForumGUI.php.
References $_GET, $counter, ilObjectGUI\$data, $result, $row, $tbl, array, object, ilUtil\sendInfo(), and settings().
ilObjForumGUI::showThreadsObject | ( | ) |
Definition at line 544 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Referenced by addToDeskObject(), cancelMergeThreads(), confirmDeleteThreadDraftsObject(), confirmDeleteThreads(), confirmMergeThreadsObject(), disableForumNotificationObject(), enableForumNotificationObject(), executeCommand(), markAllReadObject(), mergeThreadsObject(), performDeleteThreadsObject(), performMergeThreadsObject(), removeFromDeskObject(), saveThreadSortingObject(), and updateThreadObject().
ilObjForumGUI::showUserObject | ( | ) |
Definition at line 3106 of file class.ilObjForumGUI.php.
References $_GET, array, ilObjectFactory\getInstanceByRefId(), and ilUtil\stripSlashes().
ilObjForumGUI::sortThreadsObject | ( | ) |
Definition at line 551 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
ilObjForumGUI::toggleStickinessObject | ( | ) |
Definition at line 1540 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ensureThreadBelongsToForum(), and object.
ilObjForumGUI::toggleThreadNotificationObject | ( | ) |
Definition at line 1521 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ensureThreadBelongsToForum(), object, ilUtil\sendInfo(), and user().
|
protected |
ilPropertyFormGUI | $a_form |
Definition at line 443 of file class.ilObjForumGUI.php.
ilObjForumGUI::updateThreadDraftObject | ( | ) |
Definition at line 4574 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $file, $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), array, doCaptchaCheck(), editThreadDraftObject(), getForumObjects(), ilForumUtil\getPublicUserAlias(), getReplyEditForm(), handleFormInput(), initTopicCreateForm(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), object, ilUtil\sendFailure(), ilUtil\sendSuccess(), ilFileDataForumDrafts\storeUploadedFile(), and user().
ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 502 of file class.ilObjForumGUI.php.
References $form, $objCurrentTopic, editThreadObject(), ensureThreadBelongsToForum(), getThreadEditingForm(), object, ilUtil\sendSuccess(), and showThreadsObject().
ilObjForumGUI::$access |
Definition at line 109 of file class.ilObjForumGUI.php.
|
private |
Definition at line 102 of file class.ilObjForumGUI.php.
|
private |
Definition at line 67 of file class.ilObjForumGUI.php.
|
private |
Definition at line 72 of file class.ilObjForumGUI.php.
Referenced by autosaveThreadDraftAsyncObject().
|
private |
Definition at line 57 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
ilObjForumGUI::$error |
Definition at line 112 of file class.ilObjForumGUI.php.
|
private |
Definition at line 87 of file class.ilObjForumGUI.php.
|
private |
Definition at line 107 of file class.ilObjForumGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 97 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
|
private |
Definition at line 82 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
ilObjForumGUI::$ilHelp |
Definition at line 120 of file class.ilObjForumGUI.php.
ilObjForumGUI::$ilNavigationHistory |
Definition at line 113 of file class.ilObjForumGUI.php.
ilObjForumGUI::$ilObjDataCache |
Definition at line 110 of file class.ilObjForumGUI.php.
|
private |
Definition at line 62 of file class.ilObjForumGUI.php.
Referenced by getSubTabs(), moveThreadsObject(), renderPostContent(), and renderSplitButton().
ilObjForumGUI::$locator |
Definition at line 119 of file class.ilObjForumGUI.php.
ilObjForumGUI::$modal_history = '' |
Definition at line 38 of file class.ilObjForumGUI.php.
Referenced by editThreadDraftObject(), and renderDraftContent().
|
private |
Definition at line 52 of file class.ilObjForumGUI.php.
Referenced by performPostActivationObject(), and publishDraftObject().
|
private |
Definition at line 47 of file class.ilObjForumGUI.php.
Referenced by executeCommand(), getForumObjects(), publishDraftObject(), toggleStickinessObject(), toggleThreadNotificationObject(), and updateThreadObject().
ilObjForumGUI::$object |
Definition at line 92 of file class.ilObjForumGUI.php.
Referenced by getForumObjects(), and renderPostContent().
ilObjForumGUI::$objProperties |
Definition at line 42 of file class.ilObjForumGUI.php.
ilObjForumGUI::$rbac |
Definition at line 118 of file class.ilObjForumGUI.php.
|
private |
Definition at line 77 of file class.ilObjForumGUI.php.
Referenced by getReplyEditForm().
ilObjForumGUI::$repositoryTree |
Definition at line 117 of file class.ilObjForumGUI.php.
ilObjForumGUI::$settings |
Definition at line 115 of file class.ilObjForumGUI.php.
ilObjForumGUI::$tabs |
Definition at line 111 of file class.ilObjForumGUI.php.
ilObjForumGUI::$toolbar |
Definition at line 116 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
ilObjForumGUI::$user |
Definition at line 114 of file class.ilObjForumGUI.php.