ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilObjForumGUI. More...
Public Member Functions | |
__construct ($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true) | |
ensureThreadBelongsToForum (int $objId, \ilForumTopic $thread) | |
executeCommand () | |
infoScreenObject () | |
editThreadObject ($threadId, ilPropertyFormGUI $form=null) | |
updateThreadObject () | |
markAllReadObject () | |
showThreadsObject () | |
sortThreadsObject () | |
getSubTabs ($subtab='showThreads') | |
getContent () | |
showStatisticsObject () | |
performDeleteThreadsObject () | |
confirmDeleteThreads () | |
performPostActivationObject () | |
askForPostActivationObject () | |
setDisplayConfirmPostActivation ($status=0) | |
displayConfirmPostActivation () | |
cancelPostObject () | |
cancelDraftObject () | |
getActivationFormHTML () | |
getCensorshipFormHTML () | |
createTopLevelPostObject () | |
saveTopLevelPostObject () | |
publishSelectedDraftObject () | |
publishDraftObject ($use_replyform=true) | |
quotePostObject () | |
showUserObject () | |
performThreadsActionObject () | |
performMoveThreadsObject () | |
cancelMoveThreadsObject () | |
moveThreadsObject () | |
handleFormInput ($a_text, $a_stripslashes=true) | |
prepareFormOutput ($a_text) | |
isUserAllowedToDeactivateNotification () | |
isParentObjectCrsOrGrp () | |
addToDeskObject () | |
Add desktop item public. More... | |
removeFromDeskObject () | |
Remove from desktop public. More... | |
mergeThreadsObject () | |
confirmMergeThreadsObject () | |
performMergeThreadsObject () | |
checkDraftAccess (int $draftId) | |
Public Member Functions inherited from ilObjectGUI | |
executeCommand () | |
execute command More... | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) More... | |
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 More... | |
getCreationMode () | |
get creation mode More... | |
prepareOutput ($a_show_subobjects=true) | |
prepare output More... | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelDeleteObject () | |
cancel deletion of object More... | |
cancelObject () | |
cancel action and go back to previous page public More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
save object More... | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
edit object More... | |
addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. More... | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object More... | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. More... | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
redirectAfterCreation () | |
Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. 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 | |
$ilNavigationHistory | |
$access | |
$ilObjDataCache | |
$tabs | |
$error | |
$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 () | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
getEditFormCustomValues (array &$a_values) | |
updateCustom (ilPropertyFormGUI $a_form) | |
renderDraftContent (string $action, bool $render_drafts, $node, $edit_draft_id=null) | |
renderPostContent (ilForumPost $node, string $action, $Start, $z) | |
afterSave (ilObject $a_new_object) | |
getTabs () | |
confirmDeleteThreadDraftsObject () | |
toggleThreadNotificationObject () | |
toggleStickinessObject () | |
deleteThreadDraftsObject () | |
createThreadObject () | |
publishThreadDraftObject () | |
addThreadObject () | |
enableForumNotificationObject () | |
disableForumNotificationObject () | |
setColumnSettings (ilColumnGUI $column_gui) | |
addLocatorItems () | |
infoScreen () | |
markPostUnreadObject () | |
markPostReadObject () | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
saveThreadSortingObject () | |
setSideBlocks () | |
deliverDraftZipFileObject () | |
deliverZipFileObject () | |
editThreadDraftObject (\ilPropertyFormGUI $form=null) | |
restoreFromHistoryObject () | |
saveThreadAsDraftObject () | |
updateThreadDraftObject () | |
editDraftObject () | |
deleteMobsOfDraft ($draft_id, $message) | |
todo: move to ilForumUtil More... | |
deleteSelectedDraft (ilForumPostDraft $draft_obj=null) | |
autosaveDraftAsyncObject () | |
autosaveThreadDraftAsyncObject () | |
doCaptchaCheck () | |
Performs a CAPTCHA check for anonymous users if the CAPTCHA should be used for forums in the public area. More... | |
Protected Member Functions inherited from ilObjectGUI | |
getObjectService () | |
Get object service. More... | |
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 | |
decorateWithAutosave (\ilPropertyFormGUI $form) | |
isHierarchicalView () | |
isTopLevelReplyCommand () | |
getThreadEditingForm ($a_thread_id) | |
deletePostingDraftObject () | |
revokeCensorshipObject () | |
addCensorshipObject () | |
getReplyEditForm () | |
hideToolbar ($a_flag=null) | |
getForumObjects () | |
getModifiedReOnSubject ($on_reply=false) | |
isWritingWithPseudonymAllowed () | |
buildThreadForm ($isDraft=false) | |
createThread (\ilForumPostDraft $draft, bool $createFromDraft=false) | |
Refactored thread creation to method, refactoring to a separate class should be done in next refactoring steps. More... | |
renderSplitButton (string $action, $is_post=true, ilForumPost $node, $Start=0, ilForumPostDraft $draft=null) | |
doHistoryCheck ($draftId) | |
Private Attributes | |
$objCurrentTopic | |
$objCurrentPost | |
$display_confirm_post_activation = 0 | |
$is_moderator = false | |
$create_form_gui | |
$replyEditForm | |
$hideToolbar = false | |
$httpRequest | |
$uiFactory | |
$uiRenderer | |
$forumObjects = null | |
$confirmation_gui_html = '' | |
$forum_settings_gui | |
$requestAction = '' | |
Additional Inherited Members | |
Protected Attributes inherited from ilObjectGUI | |
$ilErr | |
$locator | |
$user | |
$access | |
$settings | |
$rbacreview | |
$toolbar | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
$object_service | |
Class ilObjForumGUI.
Definition at line 18 of file class.ilObjForumGUI.php.
ilObjForumGUI::__construct | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference = true , |
|||
$a_prepare_output = true |
|||
) |
Definition at line 85 of file class.ilObjForumGUI.php.
References $_GET, $DIC, ilForumProperties\getInstance(), initSessionStorage(), settings(), and user().
|
static |
Definition at line 1152 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().
|
private |
Definition at line 1442 of file class.ilObjForumGUI.php.
References $_POST, $is_moderator, $message, ensureThreadBelongsToForum(), getForumObjects(), and handleFormInput().
|
protected |
Definition at line 3474 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 3400 of file class.ilObjForumGUI.php.
References createThread(), ilForumPostDraft\isSavePostDraftAllowed(), and ilForumPostDraft\newInstanceByDraftId().
ilObjForumGUI::addToDeskObject | ( | ) |
Add desktop item public.
Implements ilDesktopItemHandling.
Definition at line 3678 of file class.ilObjForumGUI.php.
References ilDesktopItemGUI\addToDesktop(), settings(), and showThreadsObject().
|
protected |
ilObject | ilObjForum | $a_new_object |
Definition at line 1047 of file class.ilObjForumGUI.php.
References ilObject\getRefId().
ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1472 of file class.ilObjForumGUI.php.
References setDisplayConfirmPostActivation().
|
protected |
Definition at line 4492 of file class.ilObjForumGUI.php.
References $action, $message, exit, getReplyEditForm(), handleFormInput(), ilObjForum\lookupForumIdByRefId(), ilUtil\stripSlashes(), and user().
|
protected |
Definition at line 4520 of file class.ilObjForumGUI.php.
References $action, $message, buildThreadForm(), exit, handleFormInput(), ilObjForum\lookupForumIdByRefId(), ilUtil\stripSlashes(), and user().
|
private |
bool | $isDraft |
Definition at line 3216 of file class.ilObjForumGUI.php.
References $form, decorateWithAutosave(), isWritingWithPseudonymAllowed(), and user().
Referenced by autosaveThreadDraftAsyncObject(), createThread(), createThreadObject(), editThreadDraftObject(), saveThreadAsDraftObject(), and updateThreadDraftObject().
ilObjForumGUI::cancelDraftObject | ( | ) |
Definition at line 1548 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumDraftsHistory\MEDIAOBJECT_TYPE, ilForumPostDraft\MEDIAOBJECT_TYPE, ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), and ilUtil\stripSlashes().
ilObjForumGUI::cancelMoveThreadsObject | ( | ) |
ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1537 of file class.ilObjForumGUI.php.
References $_POST, and ilForumPostDraft\newInstanceByDraftId().
ilObjForumGUI::checkDraftAccess | ( | int | $draftId | ) |
int | $draftId |
Definition at line 4760 of file class.ilObjForumGUI.php.
References ilForumPostDraft\newInstanceByDraftId(), and user().
Referenced by editDraftObject().
|
protected |
Definition at line 1300 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\getDraftInstancesByUserId(), ilObject\getId(), ilUtil\infoPanel(), isHierarchicalView(), ilUtil\sendInfo(), showThreadsObject(), user(), ilForumProperties\VIEW_DATE, and ilForumProperties\VIEW_TREE.
ilObjForumGUI::confirmDeleteThreads | ( | ) |
Definition at line 1259 of file class.ilObjForumGUI.php.
References $_POST, ensureThreadBelongsToForum(), hideToolbar(), ilUtil\sendInfo(), and showThreadsObject().
Referenced by performThreadsActionObject().
ilObjForumGUI::confirmMergeThreadsObject | ( | ) |
Definition at line 3795 of file class.ilObjForumGUI.php.
References ilForumTopic\_lookupDate(), ilForumTopic\_lookupTitle(), ensureThreadBelongsToForum(), ilForumTopic\lookupForumIdByTopicId(), mergeThreadsObject(), ilUtil\sendFailure(), ilUtil\sendInfo(), and showThreadsObject().
|
private |
Refactored thread creation to method, refactoring to a separate class should be done in next refactoring steps.
ilForumPostDraft | $draft | |
bool | $createFromDraft |
Definition at line 3262 of file class.ilObjForumGUI.php.
References $form, $GLOBALS, $is_moderator, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), buildThreadForm(), ilForumPostDraft\deleteDraft(), doCaptchaCheck(), ilForumPostDraft\getDraftId(), ilForumPostDraft\getNotify(), ilForumPostDraft\getPostAuthorId(), ilForumPostDraft\getPostDisplayUserId(), ilForumPostDraft\getPostNotify(), ilForumPostDraft\getPostUserAlias(), ilForumUtil\getPublicUserAlias(), handleFormInput(), isWritingWithPseudonymAllowed(), and user().
Referenced by addThreadObject(), and publishThreadDraftObject().
|
protected |
Definition at line 3240 of file class.ilObjForumGUI.php.
References buildThreadForm(), and ilObjectGUI\getHTML().
ilObjForumGUI::createTopLevelPostObject | ( | ) |
Definition at line 1922 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\getDraftId(), ilForumPostDraft\isSavePostDraftAllowed(), and user().
|
private |
\ilPropertyFormGUI | $form |
Definition at line 162 of file class.ilObjForumGUI.php.
References $_GET, ilFormGUI\getId(), ilUtil\getImagePath(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\lookupAutosaveInterval(), and ilUtil\stripSlashes().
Referenced by buildThreadForm(), and getCensorshipFormHTML().
|
protected |
todo: move to ilForumUtil
$draft_id | |
$message |
Definition at line 4421 of file class.ilObjForumGUI.php.
References $message, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), and ilObjMediaObject\_removeUsage().
Referenced by deleteSelectedDraft(), and deleteThreadDraftsObject().
|
private |
Definition at line 1432 of file class.ilObjForumGUI.php.
References deleteSelectedDraft().
|
protected |
ilForumPostDraft | null | $draft_obj |
Definition at line 4447 of file class.ilObjForumGUI.php.
References $_GET, $GLOBALS, ilFileDataForumDrafts\delete(), deleteMobsOfDraft(), ilForumPostDraft\isSavePostDraftAllowed(), and user().
Referenced by deletePostingDraftObject().
|
protected |
Definition at line 3167 of file class.ilObjForumGUI.php.
References $GLOBALS, deleteMobsOfDraft(), ilForumPostDraft\getDraftInstancesByUserId(), ilUtil\sendInfo(), and user().
|
protected |
Definition at line 3920 of file class.ilObjForumGUI.php.
References ilForumPostDraft\newInstanceByDraftId(), and user().
|
protected |
Definition at line 3939 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum().
|
protected |
Definition at line 3433 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), showThreadsObject(), and user().
ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1492 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
Referenced by getForumObjects(), renderPostContent(), and renderSplitButton().
|
protected |
Performs a CAPTCHA check for anonymous users if the CAPTCHA should be used for forums in the public area.
Definition at line 4823 of file class.ilObjForumGUI.php.
References $_GET, $action, ilRTE\_replaceMediaObjectImageSrc(), ilForumPost\getDisplayUserId(), ilForumPost\getImportName(), ilForumPost\getMessage(), getModifiedReOnSubject(), ilForumPost\getPosAuthorId(), getReplyEditForm(), ilForumPost\getUserAlias(), ilForumPost\isCensored(), ilForumPost\isOwner(), ilForum\prepareText(), and user().
Referenced by createThread(), editDraftObject(), publishDraftObject(), saveThreadAsDraftObject(), and updateThreadDraftObject().
|
private |
$draftId |
Definition at line 4776 of file class.ilObjForumGUI.php.
References $header, $key, $message, ilRTE\_replaceMediaObjectImageSrc(), ilForumPostDraft\createDraftBackup(), ilDatePresentation\formatDate(), ilModalGUI\getInstance(), ilForumDraftsHistory\getInstancesByDraftId(), IL_CAL_DATETIME, iljQueryUtil\initjQuery(), and ilForumPostDraft\isAutoSavePostDraftAllowed().
Referenced by editDraftObject(), and editThreadDraftObject().
|
protected |
Definition at line 4293 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $GLOBALS, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), checkDraftAccess(), doCaptchaCheck(), doHistoryCheck(), getForumObjects(), ilForumUtil\getPublicUserAlias(), getReplyEditForm(), handleFormInput(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\saveMediaObjects(), ilUtil\sendFailure(), ilFileDataForumDrafts\unlinkFilesByMD5Filenames(), and user().
|
protected |
ilPropertyFormGUI | null | $form |
Definition at line 3956 of file class.ilObjForumGUI.php.
References $form, $modal_history, ilRTE\_replaceMediaObjectImageSrc(), buildThreadForm(), doHistoryCheck(), and ilForumPostDraft\isSavePostDraftAllowed().
Referenced by updateThreadDraftObject().
ilObjForumGUI::editThreadObject | ( | $threadId, | |
ilPropertyFormGUI | $form = null |
||
) |
int | $threadId | |
ilPropertyFormGUI | $form |
Definition at line 445 of file class.ilObjForumGUI.php.
References $form, ensureThreadBelongsToForum(), and getThreadEditingForm().
Referenced by performThreadsActionObject(), and updateThreadObject().
|
protected |
Definition at line 3413 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), showThreadsObject(), and user().
ilObjForumGUI::ensureThreadBelongsToForum | ( | int | $objId, |
\ilForumTopic | $thread | ||
) |
int | $objId | |
ilForumTopic | $thread |
Definition at line 151 of file class.ilObjForumGUI.php.
References ilForumTopic\getForumId(), and ilObjForum\lookupForumIdByObjId().
Referenced by addCensorshipObject(), 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 218 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $forum_settings_gui, $objCurrentTopic, $ret, ilLink\_getLink(), ilObjectGUI\addHeaderAction(), ilNavigationHistory\addItem(), ensureThreadBelongsToForum(), exit, ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilRating\getOverallRatingForObject(), infoScreen(), ilObjectGUI\prepareOutput(), setSideBlocks(), showThreadsObject(), and user().
Referenced by performThreadsActionObject().
ilObjForumGUI::getActivationFormHTML | ( | ) |
Definition at line 1615 of file class.ilObjForumGUI.php.
References $_GET, and ilUtil\stripSlashes().
Referenced by getForumObjects().
ilObjForumGUI::getCensorshipFormHTML | ( | ) |
Definition at line 1634 of file class.ilObjForumGUI.php.
References $_GET, $_POST, ilHtmlPurifierFactory\_getInstanceByType(), ilObjAdvancedEditing\_getRichTextEditorUserState(), ilRTE\_getRTEClassname(), ilObjAdvancedEditing\_setRichTextEditorUserState(), decorateWithAutosave(), getForumObjects(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), isTopLevelReplyCommand(), isWritingWithPseudonymAllowed(), ilForumPostDraft\lookupAutosaveInterval(), ilFileWizardInputGUI\setFilenames(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setMaxLength(), ilFormPropertyGUI\setRequired(), ilUtil\stripSlashes(), and user().
Referenced by getForumObjects().
ilObjForumGUI::getContent | ( | ) |
Definition at line 537 of file class.ilObjForumGUI.php.
References $_GET, $tbl, ilLinkButton\getInstance(), ilForumPostDraft\getThreadDraftData(), hideToolbar(), ilForumPostDraft\isSavePostDraftAllowed(), ilObjForum\lookupForumIdByObjId(), ilAccessKey\MARK_ALL_READ, settings(), and user().
|
protected |
array | $a_values |
Definition at line 406 of file class.ilObjForumGUI.php.
|
private |
Definition at line 2436 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $form, $forumObjects, $i, $mobs, $objCurrentTopic, $object, PHPMailer\PHPMailer\$params, $toolbar, ilObjMediaObject\_exists(), ilLink\_getLink(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilObjectGUI\addHeaderAction(), ilNavigationHistory\addItem(), ilFileDataForumDrafts\deliverFile(), displayConfirmPostActivation(), ensureThreadBelongsToForum(), getActivationFormHTML(), getCensorshipFormHTML(), ilObjectGUI\getCreationMode(), ilLinkButton\getInstance(), ilSplitButtonGUI\getInstance(), ilForumPostDraft\getInstancesByUserIdAndThreadId(), getReplyEditForm(), isHierarchicalView(), ilForumPostDraft\isSavePostDraftAllowed(), isTopLevelReplyCommand(), ilUtil\Linkbar(), ilAccessKey\MARK_ALL_READ, renderDraftContent(), renderPostContent(), ilUtil\sendInfo(), ilForumExplorerGUI\setThread(), ilUtil\stripSlashes(), user(), ilForumProperties\VIEW_DATE, ilForumProperties\VIEW_DATE_ASC, and ilForumProperties\VIEW_TREE.
Referenced by addCensorshipObject(), editDraftObject(), getCensorshipFormHTML(), performPostActivationObject(), publishDraftObject(), quotePostObject(), and updateThreadDraftObject().
|
private |
Definition at line 2832 of file class.ilObjForumGUI.php.
Referenced by doCaptchaCheck().
|
private |
Definition at line 1910 of file class.ilObjForumGUI.php.
References $replyEditForm.
Referenced by autosaveDraftAsyncObject(), doCaptchaCheck(), editDraftObject(), getForumObjects(), publishDraftObject(), quotePostObject(), renderDraftContent(), and updateThreadDraftObject().
ilObjForumGUI::getSubTabs | ( | $subtab = 'showThreads' | ) |
Definition at line 529 of file class.ilObjForumGUI.php.
References $is_moderator.
Referenced by showThreadsObject(), and sortThreadsObject().
|
protected |
Definition at line 1054 of file class.ilObjForumGUI.php.
References $_GET, and settings().
|
private |
int | $a_thread_id |
Definition at line 423 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 3481 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
Referenced by addCensorshipObject(), autosaveDraftAsyncObject(), autosaveThreadDraftAsyncObject(), createThread(), editDraftObject(), publishDraftObject(), saveThreadAsDraftObject(), and updateThreadDraftObject().
|
private |
Definition at line 2368 of file class.ilObjForumGUI.php.
References $hideToolbar.
Referenced by confirmDeleteThreads(), getContent(), and moveThreadsObject().
|
protected |
Definition at line 3500 of file class.ilObjForumGUI.php.
References $info.
Referenced by executeCommand(), and infoScreenObject().
ilObjForumGUI::infoScreenObject | ( | ) |
Definition at line 387 of file class.ilObjForumGUI.php.
References infoScreen().
|
protected |
|
protected |
Definition at line 3556 of file class.ilObjForumGUI.php.
References $lg, ilUtil\getImagePath(), isParentObjectCrsOrGrp(), isUserAllowedToDeactivateNotification(), settings(), and user().
|
protected |
Definition at line 132 of file class.ilObjForumGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by __construct().
|
private |
Definition at line 196 of file class.ilObjForumGUI.php.
References $_SESSION, ilForumProperties\VIEW_DATE, and ilForumProperties\VIEW_TREE.
Referenced by confirmDeleteThreadDraftsObject(), and getForumObjects().
ilObjForumGUI::isParentObjectCrsOrGrp | ( | ) |
Definition at line 3667 of file class.ilObjForumGUI.php.
Referenced by initHeaderAction(), and isUserAllowedToDeactivateNotification().
|
private |
Definition at line 210 of file class.ilObjForumGUI.php.
Referenced by getCensorshipFormHTML(), and getForumObjects().
ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) |
Definition at line 3644 of file class.ilObjForumGUI.php.
References $_GET, isParentObjectCrsOrGrp(), and user().
Referenced by initHeaderAction().
|
private |
Definition at line 3159 of file class.ilObjForumGUI.php.
Referenced by buildThreadForm(), createThread(), getCensorshipFormHTML(), and publishDraftObject().
ilObjForumGUI::markAllReadObject | ( | ) |
Definition at line 504 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo(), showThreadsObject(), and user().
|
protected |
Definition at line 3535 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), and user().
|
protected |
Definition at line 3518 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), and user().
ilObjForumGUI::mergeThreadsObject | ( | ) |
Definition at line 3730 of file class.ilObjForumGUI.php.
References $is_moderator, $tbl, ilForum\_lookupObjIdForForumId(), ilUtil\sendFailure(), ilUtil\sendInfo(), settings(), and showThreadsObject().
Referenced by confirmMergeThreadsObject(), and performThreadsActionObject().
ilObjForumGUI::moveThreadsObject | ( | ) |
Definition at line 3091 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $is_moderator, $result, ensureThreadBelongsToForum(), hideToolbar(), and ilUtil\sendInfo().
Referenced by performMoveThreadsObject(), and performThreadsActionObject().
ilObjForumGUI::performDeleteThreadsObject | ( | ) |
Definition at line 1208 of file class.ilObjForumGUI.php.
References $_POST, ensureThreadBelongsToForum(), ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::performMergeThreadsObject | ( | ) |
Definition at line 3860 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), ilUtil\sendFailure(), and showThreadsObject().
ilObjForumGUI::performMoveThreadsObject | ( | ) |
Definition at line 3033 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, ensureThreadBelongsToForum(), moveThreadsObject(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1367 of file class.ilObjForumGUI.php.
References $GLOBALS, $objCurrentPost, ensureThreadBelongsToForum(), getForumObjects(), ilUtil\sendInfo(), and user().
ilObjForumGUI::performThreadsActionObject | ( | ) |
Definition at line 2915 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $i, $message, confirmDeleteThreads(), editThreadObject(), ensureThreadBelongsToForum(), executeCommand(), mergeThreadsObject(), moveThreadsObject(), ilUtil\sendInfo(), settings(), and user().
ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 3492 of file class.ilObjForumGUI.php.
References ilUtil\prepareFormOutput().
ilObjForumGUI::publishDraftObject | ( | $use_replyform = true | ) |
Definition at line 1959 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $GLOBALS, $message, $objCurrentPost, $objCurrentTopic, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), ilFileDataForum\delete(), ilForumPostDraft\deleteDraft(), doCaptchaCheck(), ensureThreadBelongsToForum(), ilNewsItem\getFirstNewsIdForContext(), getForumObjects(), getReplyEditForm(), handleFormInput(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), isWritingWithPseudonymAllowed(), ilForumUtil\moveMediaObjects(), ilForumUtil\saveMediaObjects(), ilUtil\sendFailure(), ilFileDataForum\storeUploadedFile(), and user().
Referenced by publishSelectedDraftObject().
ilObjForumGUI::publishSelectedDraftObject | ( | ) |
Definition at line 1952 of file class.ilObjForumGUI.php.
References $_GET, and publishDraftObject().
|
protected |
Definition at line 3384 of file class.ilObjForumGUI.php.
References createThread(), ilForumPostDraft\isSavePostDraftAllowed(), and ilForumPostDraft\newInstanceByDraftId().
ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 2378 of file class.ilObjForumGUI.php.
References $_POST, $html, ilRTE\_replaceMediaObjectImageSrc(), ensureThreadBelongsToForum(), exit, getForumObjects(), and getReplyEditForm().
ilObjForumGUI::removeFromDeskObject | ( | ) |
Remove from desktop public.
Implements ilDesktopItemHandling.
Definition at line 3691 of file class.ilObjForumGUI.php.
References ilDesktopItemGUI\removeFromDesktop(), settings(), and showThreadsObject().
|
protected |
string | $action | |
bool | $render_drafts | |
$node | ||
null | $edit_draft_id |
ilSplitButtonException |
Definition at line 629 of file class.ilObjForumGUI.php.
References $_GET, $modal_history, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, ilGlyphGUI\get(), ilLinkButton\getInstance(), ilForumPostDraft\getInstancesByUserIdAndThreadId(), getReplyEditForm(), ilUtil\prepareFormOutput(), renderSplitButton(), and user().
Referenced by getForumObjects().
|
protected |
ilForumPost | $node | |
string | $action | |
$Start | ||
$z |
ilSplitButtonException |
Definition at line 825 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $is_moderator, $object, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, displayConfirmPostActivation(), ilGlyphGUI\get(), ilForumPost\getCensorshipComment(), ilForumPost\getChangeDate(), ilForumPost\getCreateDate(), ilForumPost\getDepth(), 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(), ilUtil\prepareFormOutput(), renderSplitButton(), ilForumPost\setChangeDate(), ilForumPost\setMessage(), ilUtil\switchColor(), and user().
Referenced by getForumObjects().
|
private |
string | $action | |
bool | $is_post | |
ilForumPost | $node | |
int | $Start | |
ilForumPostDraft | NULL | $draft |
ilSplitButtonException |
Definition at line 4556 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$actions, $i, $is_moderator, $url, 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().
|
protected |
Definition at line 3998 of file class.ilObjForumGUI.php.
References ilForumPostDraft\createDraftBackup().
|
private |
Definition at line 1437 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4021 of file class.ilObjForumGUI.php.
References $form, $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), buildThreadForm(), doCaptchaCheck(), ilForumUtil\getPublicUserAlias(), handleFormInput(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), and user().
|
protected |
Definition at line 3701 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum().
ilObjForumGUI::saveTopLevelPostObject | ( | ) |
Definition at line 1946 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 3456 of file class.ilObjForumGUI.php.
References ilColumnGUI\setBlockProperty(), and ilColumnGUI\setRepositoryMode().
ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = 0 | ) |
Definition at line 1487 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
|
protected |
Definition at line 3905 of file class.ilObjForumGUI.php.
References ilObjectGUI\getRightColumnHTML(), and ilRepositoryObjectSearchGUI\getSearchBlockHTML().
Referenced by executeCommand(), showThreadsObject(), and sortThreadsObject().
ilObjForumGUI::showStatisticsObject | ( | ) |
if globally deactivated, skip!!! intrusion detected
Definition at line 1108 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$data, $result, $row, $tbl, ilUtil\sendInfo(), and settings().
ilObjForumGUI::showThreadsObject | ( | ) |
Definition at line 515 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Referenced by addToDeskObject(), confirmDeleteThreadDraftsObject(), confirmDeleteThreads(), confirmMergeThreadsObject(), disableForumNotificationObject(), enableForumNotificationObject(), executeCommand(), markAllReadObject(), mergeThreadsObject(), performDeleteThreadsObject(), performMergeThreadsObject(), removeFromDeskObject(), and updateThreadObject().
ilObjForumGUI::showUserObject | ( | ) |
Definition at line 2877 of file class.ilObjForumGUI.php.
References $_GET, ilObjectFactory\getInstanceByRefId(), and ilUtil\stripSlashes().
ilObjForumGUI::sortThreadsObject | ( | ) |
Definition at line 522 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
|
protected |
Definition at line 1516 of file class.ilObjForumGUI.php.
References $objCurrentTopic, and ensureThreadBelongsToForum().
|
protected |
Definition at line 1497 of file class.ilObjForumGUI.php.
References $objCurrentTopic, ensureThreadBelongsToForum(), ilUtil\sendInfo(), and user().
|
protected |
ilPropertyFormGUI | $a_form |
Definition at line 414 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4107 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $_SESSION, $form, $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), buildThreadForm(), doCaptchaCheck(), editThreadDraftObject(), getForumObjects(), ilForumUtil\getPublicUserAlias(), getReplyEditForm(), handleFormInput(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), ilUtil\sendFailure(), ilFileDataForumDrafts\storeUploadedFile(), and user().
ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 473 of file class.ilObjForumGUI.php.
References $form, $objCurrentTopic, editThreadObject(), ensureThreadBelongsToForum(), getThreadEditingForm(), and showThreadsObject().
ilObjForumGUI::$access |
Definition at line 73 of file class.ilObjForumGUI.php.
|
private |
Definition at line 63 of file class.ilObjForumGUI.php.
|
private |
Definition at line 39 of file class.ilObjForumGUI.php.
|
private |
Definition at line 33 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
ilObjForumGUI::$error |
Definition at line 76 of file class.ilObjForumGUI.php.
|
private |
Definition at line 66 of file class.ilObjForumGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 60 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
|
private |
Definition at line 45 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
|
private |
Definition at line 51 of file class.ilObjForumGUI.php.
ilObjForumGUI::$ilHelp |
Definition at line 83 of file class.ilObjForumGUI.php.
ilObjForumGUI::$ilNavigationHistory |
Definition at line 69 of file class.ilObjForumGUI.php.
ilObjForumGUI::$ilObjDataCache |
Definition at line 74 of file class.ilObjForumGUI.php.
|
private |
Definition at line 36 of file class.ilObjForumGUI.php.
Referenced by addCensorshipObject(), createThread(), getSubTabs(), mergeThreadsObject(), moveThreadsObject(), renderPostContent(), and renderSplitButton().
ilObjForumGUI::$locator |
Definition at line 82 of file class.ilObjForumGUI.php.
ilObjForumGUI::$modal_history = '' |
Definition at line 21 of file class.ilObjForumGUI.php.
Referenced by editThreadDraftObject(), and renderDraftContent().
|
private |
Definition at line 30 of file class.ilObjForumGUI.php.
Referenced by performPostActivationObject(), and publishDraftObject().
|
private |
Definition at line 27 of file class.ilObjForumGUI.php.
Referenced by executeCommand(), getForumObjects(), publishDraftObject(), toggleStickinessObject(), toggleThreadNotificationObject(), and updateThreadObject().
ilObjForumGUI::$object |
Definition at line 48 of file class.ilObjForumGUI.php.
Referenced by getForumObjects(), and renderPostContent().
ilObjForumGUI::$objProperties |
Definition at line 24 of file class.ilObjForumGUI.php.
ilObjForumGUI::$rbac |
Definition at line 81 of file class.ilObjForumGUI.php.
|
private |
Definition at line 42 of file class.ilObjForumGUI.php.
Referenced by getReplyEditForm().
ilObjForumGUI::$repositoryTree |
Definition at line 80 of file class.ilObjForumGUI.php.
|
private |
Definition at line 71 of file class.ilObjForumGUI.php.
ilObjForumGUI::$settings |
Definition at line 78 of file class.ilObjForumGUI.php.
ilObjForumGUI::$tabs |
Definition at line 75 of file class.ilObjForumGUI.php.
ilObjForumGUI::$toolbar |
Definition at line 79 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
|
private |
Definition at line 54 of file class.ilObjForumGUI.php.
|
private |
Definition at line 57 of file class.ilObjForumGUI.php.
ilObjForumGUI::$user |
Definition at line 77 of file class.ilObjForumGUI.php.