ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 () | |
execute command More... | |
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 () | |
checkUsersViewMode () | |
showUserObject () | |
performThreadsActionObject () | |
performMoveThreadsObject () | |
cancelMoveThreadsObject () | |
moveThreadsObject () | |
handleFormInput ($a_text, $a_stripslashes=true) | |
prepareFormOutput ($a_text) | |
isUserAllowedToDeactivateNotification () | |
isParentObjectCrsOrGrp () | |
mergeThreadsObject () | |
confirmMergeThreadsObject () | |
performMergeThreadsObject () | |
saveTopLevelDraftObject () | |
checkDraftAccess (int $draftId) | |
![]() | |
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 @access 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 () | |
viewObject container presentation for "administration -> repository, trash, permissions" 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... | |
addToDeskObject () | |
@inheritDoc More... | |
removeFromDeskObject () | |
@inheritDoc More... | |
![]() | |
addToDeskObject () | |
Add desktop item @access public. More... | |
removeFromDeskObject () | |
Remove from desktop @access public. More... | |
Static Public Member Functions | |
static | _goto ($a_target, $a_thread=0, $a_posting=0) |
![]() | |
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 | |
![]() | |
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 () | |||||||
toggleExplorerNodeStateObject () | |||||||
Toggle explorer node. More... | |||||||
ensureValidPageForCurrentPosting (array $subtree_nodes, array $pagedPostings, int $pageSize, ilForumPost $firstForumPost) | |||||||
initEditCustomForm (ilPropertyFormGUI $a_form) | |||||||
getEditFormCustomValues (array &$a_values) | |||||||
updateCustom (ilPropertyFormGUI $a_form) | |||||||
renderDraftContent (ilTemplate $tpl, string $action, ilForumPost $referencePosting, array $drafts) | |||||||
renderPostContent (ilTemplate $tpl, ilForumPost $node, string $action, int $pageIndex, int $postIndex) | |||||||
afterSave (ilObject $a_new_object) | |||||||
getTabs () | |||||||
get tabs abstract method. More... | |||||||
confirmDeleteThreadDraftsObject () | |||||||
toggleThreadNotificationObject () | |||||||
toggleStickinessObject () | |||||||
deleteThreadDraftsObject () | |||||||
createThreadObject () | |||||||
publishThreadDraftObject () | |||||||
addThreadObject () | |||||||
enableForumNotificationObject () | |||||||
disableForumNotificationObject () | |||||||
setColumnSettings (ilColumnGUI $column_gui) | |||||||
May be overwritten in subclasses. More... | |||||||
addLocatorItems () | |||||||
should be overwritten to add object specific items (repository items are preloaded) More... | |||||||
infoScreen () | |||||||
markPostUnreadObject () | |||||||
markPostReadObject () | |||||||
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |||||||
Add header action menu.
| |||||||
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... | |||||||
![]() | |||||||
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... | |||||||
setTabs () | |||||||
set admin tabs @access public More... | |||||||
setAdminTabs () | |||||||
set admin tabs @access 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 () | |
renderViewModeControl (int $currentViewMode) | |
renderSortationControl (int $currentSorting) | |
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 (ilTemplate $tpl, string $action, bool $is_post, ilForumPost $node, int $pageIndex=0, ilForumPostDraft $draft=null) | |
doHistoryCheck ($draftId) | |
Private Attributes | |
$viewModeOptions | |
$sortationOptions | |
$defaultSorting | |
$globalScreen | |
$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 | |
![]() | |
$ilErr | |
$locator | |
$user | |
$access | |
$rbacsystem | |
$settings | |
$rbacreview | |
$toolbar | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
$object_service | |
$favourites | |
Class ilObjForumGUI.
Definition at line 17 of file class.ilObjForumGUI.php.
ilObjForumGUI::__construct | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference = true , |
|||
$a_prepare_output = true |
|||
) |
Definition at line 102 of file class.ilObjForumGUI.php.
References $_GET, $DIC, ILIAS\GlobalScreen\Provider\__construct(), error(), ilForumProperties\getInstance(), initSessionStorage(), settings(), and user().
|
static |
Definition at line 1349 of file class.ilObjForumGUI.php.
References $_GET, $DIC, $ilErr, $lng, ilObject\_getAllReferences(), ilObject\_lookupObjectId(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, ILIAS_HTTP_PATH, and ilUtil\sendInfo().
|
private |
Definition at line 1637 of file class.ilObjForumGUI.php.
|
protected |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 3908 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 3834 of file class.ilObjForumGUI.php.
References ilForumPostDraft\isSavePostDraftAllowed(), and ilForumPostDraft\newInstanceByDraftId().
|
protected |
ilObject | ilObjForum | $a_new_object |
Reimplemented from ilObjectGUI.
Definition at line 1177 of file class.ilObjForumGUI.php.
References ilObject\getRefId().
ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1667 of file class.ilObjForumGUI.php.
References error().
|
protected |
Definition at line 4953 of file class.ilObjForumGUI.php.
References $message, exit, ilObjForum\lookupForumIdByRefId(), ilUtil\stripSlashes(), and user().
|
protected |
Definition at line 4981 of file class.ilObjForumGUI.php.
References $message, exit, ilObjForum\lookupForumIdByRefId(), ilUtil\stripSlashes(), and user().
|
private |
bool | $isDraft |
Definition at line 3647 of file class.ilObjForumGUI.php.
References user().
ilObjForumGUI::cancelDraftObject | ( | ) |
Definition at line 1743 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumDraftsHistory\MEDIAOBJECT_TYPE, ilForumPostDraft\MEDIAOBJECT_TYPE, ilForumUtil\moveMediaObjects(), and ilForumPostDraft\newInstanceByDraftId().
ilObjForumGUI::cancelMoveThreadsObject | ( | ) |
Definition at line 3509 of file class.ilObjForumGUI.php.
References $_SESSION.
ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1732 of file class.ilObjForumGUI.php.
References $_POST, and ilForumPostDraft\newInstanceByDraftId().
ilObjForumGUI::checkDraftAccess | ( | int | $draftId | ) |
int | $draftId |
Definition at line 5270 of file class.ilObjForumGUI.php.
References error(), ilForumPostDraft\getPostAuthorId(), and ilForumPostDraft\newInstanceByDraftId().
ilObjForumGUI::checkUsersViewMode | ( | ) |
Definition at line 2733 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
|
protected |
Definition at line 1512 of file class.ilObjForumGUI.php.
References error(), ilForumPostDraft\getDraftInstancesByUserId(), ilUtil\sendInfo(), and user().
ilObjForumGUI::confirmDeleteThreads | ( | ) |
Definition at line 1471 of file class.ilObjForumGUI.php.
References $_POST, error(), and ilUtil\sendInfo().
ilObjForumGUI::confirmMergeThreadsObject | ( | ) |
Definition at line 4214 of file class.ilObjForumGUI.php.
References ilForumTopic\_lookupDate(), ilForumTopic\_lookupTitle(), error(), ilForumTopic\lookupForumIdByTopicId(), ilUtil\sendFailure(), and ilUtil\sendInfo().
|
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 3693 of file class.ilObjForumGUI.php.
References $GLOBALS, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), ilForumPostDraft\deleteDraft(), error(), ilForumPostDraft\getDraftId(), ilForumPostDraft\getNotify(), ilForumPostDraft\getPostAuthorId(), ilForumPostDraft\getPostDisplayUserId(), ilForumPostDraft\getPostNotify(), ilForumPostDraft\getPostUserAlias(), ilForumUtil\getPublicUserAlias(), and user().
|
protected |
Definition at line 3671 of file class.ilObjForumGUI.php.
References error().
ilObjForumGUI::createTopLevelPostObject | ( | ) |
Definition at line 2172 of file class.ilObjForumGUI.php.
References $_GET, ilForumPostDraft\getDraftId(), ilForumPostDraft\isSavePostDraftAllowed(), ilUtil\stripSlashes(), and user().
|
private |
\ilPropertyFormGUI | $form |
Definition at line 242 of file class.ilObjForumGUI.php.
References $_GET, ilFormGUI\getId(), ilUtil\getImagePath(), ilForumPostDraft\isAutoSavePostDraftAllowed(), ilForumPostDraft\lookupAutosaveInterval(), and ilUtil\stripSlashes().
|
protected |
todo: move to ilForumUtil
$draft_id | |
$message |
Definition at line 4880 of file class.ilObjForumGUI.php.
References $message, ilObjMediaObject\_exists(), ilRTE\_getMediaObjects(), ilObjMediaObject\_getMobsOfObject(), and ilObjMediaObject\_removeUsage().
|
private |
Definition at line 1627 of file class.ilObjForumGUI.php.
|
protected |
ilForumPostDraft | null | $draft_obj |
Definition at line 4906 of file class.ilObjForumGUI.php.
References $_GET, $GLOBALS, error(), ilForumPostDraft\getPostAuthorId(), ilForumPostDraft\isSavePostDraftAllowed(), and user().
|
protected |
Definition at line 3598 of file class.ilObjForumGUI.php.
References $GLOBALS, error(), ilForumPostDraft\getDraftInstancesByUserId(), ilUtil\sendInfo(), and user().
|
protected |
Definition at line 4339 of file class.ilObjForumGUI.php.
References error(), and ilForumPostDraft\newInstanceByDraftId().
|
protected |
Definition at line 4358 of file class.ilObjForumGUI.php.
References error().
|
protected |
Definition at line 3867 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), and user().
ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1687 of file class.ilObjForumGUI.php.
|
protected |
Performs a CAPTCHA check for anonymous users if the CAPTCHA should be used for forums in the public area.
Definition at line 5340 of file class.ilObjForumGUI.php.
References user().
|
private |
$draftId |
Definition at line 5286 of file class.ilObjForumGUI.php.
References $message, ilRTE\_replaceMediaObjectImageSrc(), ilForumPostDraft\createDraftBackup(), error(), ilDatePresentation\formatDate(), ilModalGUI\getInstance(), ilForumDraftsHistory\getInstancesByDraftId(), IL_CAL_DATETIME, iljQueryUtil\initjQuery(), and ilForumPostDraft\isAutoSavePostDraftAllowed().
|
protected |
Definition at line 4733 of file class.ilObjForumGUI.php.
References ilForumPostDraft\isAutoSavePostDraftAllowed().
|
protected |
ilPropertyFormGUI | null | $form |
Definition at line 4375 of file class.ilObjForumGUI.php.
References ilRTE\_replaceMediaObjectImageSrc(), error(), and ilForumPostDraft\isSavePostDraftAllowed().
ilObjForumGUI::editThreadObject | ( | $threadId, | |
ilPropertyFormGUI | $form = null |
||
) |
int | $threadId | |
ilPropertyFormGUI | $form |
Definition at line 568 of file class.ilObjForumGUI.php.
References ensureThreadBelongsToForum(), error(), and getThreadEditingForm().
Referenced by updateThreadObject().
|
protected |
Definition at line 3847 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), and user().
ilObjForumGUI::ensureThreadBelongsToForum | ( | int | $objId, |
\ilForumTopic | $thread | ||
) |
int | $objId | |
ilForumTopic | $thread |
Definition at line 231 of file class.ilObjForumGUI.php.
References $objId, error(), ilForumTopic\getForumId(), and ilObjForum\lookupForumIdByObjId().
Referenced by editThreadObject(), executeCommand(), and updateThreadObject().
|
protected |
array | $subtree_nodes | |
array | $pagedPostings | |
int | $pageSize | |
ilForumPost | $firstForumPost |
Definition at line 184 of file class.ilObjForumGUI.php.
References $i, ilForumPost\getId(), and ilUtil\stripSlashes().
ilObjForumGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 299 of file class.ilObjForumGUI.php.
References $_GET, $_POST, $forum_settings_gui, $ret, ilLink\_getLink(), ilObjectGUI\addHeaderAction(), ilNavigationHistory\addItem(), ensureThreadBelongsToForum(), error(), exit, ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilRating\getOverallRatingForObject(), infoScreen(), ilObjectGUI\prepareOutput(), setSideBlocks(), and showThreadsObject().
ilObjForumGUI::getActivationFormHTML | ( | ) |
Definition at line 1819 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
ilObjForumGUI::getCensorshipFormHTML | ( | ) |
Definition at line 1842 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
ilObjForumGUI::getContent | ( | ) |
Definition at line 674 of file class.ilObjForumGUI.php.
References $_GET, error(), ilLinkButton\getInstance(), ilForumPostDraft\getThreadDraftData(), ilForumPostDraft\isSavePostDraftAllowed(), ilObjForum\lookupForumIdByObjId(), ilAccessKey\MARK_ALL_READ, settings(), and user().
|
protected |
array | $a_values |
Reimplemented from ilObjectGUI.
Definition at line 529 of file class.ilObjForumGUI.php.
|
private |
Definition at line 2716 of file class.ilObjForumGUI.php.
|
private |
Definition at line 3252 of file class.ilObjForumGUI.php.
|
private |
Definition at line 2160 of file class.ilObjForumGUI.php.
Referenced by renderDraftContent().
ilObjForumGUI::getSubTabs | ( | $subtab = 'showThreads' | ) |
Definition at line 652 of file class.ilObjForumGUI.php.
Referenced by showThreadsObject(), and sortThreadsObject().
|
protected |
get tabs abstract method.
@abstract overwrite in derived GUI class of your object type @access public
object | instance of ilTabsGUI |
Reimplemented from ilObjectGUI.
Definition at line 1184 of file class.ilObjForumGUI.php.
References $_GET, and settings().
|
private |
int | $a_thread_id |
Definition at line 546 of file class.ilObjForumGUI.php.
Referenced by editThreadObject(), and updateThreadObject().
ilObjForumGUI::handleFormInput | ( | $a_text, | |
$a_stripslashes = true |
|||
) |
Definition at line 3920 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
|
private |
Definition at line 2644 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 3939 of file class.ilObjForumGUI.php.
References error().
Referenced by executeCommand(), and infoScreenObject().
ilObjForumGUI::infoScreenObject | ( | ) |
Definition at line 510 of file class.ilObjForumGUI.php.
References infoScreen().
|
protected |
ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 520 of file class.ilObjForumGUI.php.
|
protected |
Add header action menu.
string | $a_sub_type | |
int | $a_sub_id |
Reimplemented from ilObjectGUI.
Definition at line 3995 of file class.ilObjForumGUI.php.
References ilUtil\getImagePath(), settings(), and user().
|
protected |
Definition at line 147 of file class.ilObjForumGUI.php.
References ilSession\get(), and ilSession\set().
Referenced by __construct().
|
private |
Definition at line 276 of file class.ilObjForumGUI.php.
References $_SESSION, ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
ilObjForumGUI::isParentObjectCrsOrGrp | ( | ) |
Definition at line 4106 of file class.ilObjForumGUI.php.
|
private |
Definition at line 291 of file class.ilObjForumGUI.php.
ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) |
Definition at line 4083 of file class.ilObjForumGUI.php.
|
private |
Definition at line 3590 of file class.ilObjForumGUI.php.
ilObjForumGUI::markAllReadObject | ( | ) |
Definition at line 627 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), showThreadsObject(), and user().
|
protected |
Definition at line 3974 of file class.ilObjForumGUI.php.
References error(), and user().
|
protected |
Definition at line 3957 of file class.ilObjForumGUI.php.
References error(), and user().
ilObjForumGUI::mergeThreadsObject | ( | ) |
Definition at line 4143 of file class.ilObjForumGUI.php.
References ilForum\_lookupObjIdForForumId(), error(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilObjForumGUI::moveThreadsObject | ( | ) |
Definition at line 3515 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $result, error(), and ilUtil\sendInfo().
ilObjForumGUI::performDeleteThreadsObject | ( | ) |
Definition at line 1420 of file class.ilObjForumGUI.php.
References $_POST, error(), and ilUtil\sendInfo().
ilObjForumGUI::performMergeThreadsObject | ( | ) |
Definition at line 4279 of file class.ilObjForumGUI.php.
References Vendor\Package\$e, error(), and ilUtil\sendFailure().
ilObjForumGUI::performMoveThreadsObject | ( | ) |
Definition at line 3456 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, error(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1562 of file class.ilObjForumGUI.php.
References $GLOBALS, error(), and ilUtil\sendInfo().
ilObjForumGUI::performThreadsActionObject | ( | ) |
Definition at line 3338 of file class.ilObjForumGUI.php.
References $_POST, $_SESSION, $i, $message, error(), ilUtil\sendInfo(), settings(), and user().
ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 3931 of file class.ilObjForumGUI.php.
References ilUtil\prepareFormOutput().
ilObjForumGUI::publishDraftObject | ( | $use_replyform = true | ) |
Definition at line 2217 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $GLOBALS, $message, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveUsage(), error(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\saveMediaObjects(), ilUtil\sendFailure(), and user().
ilObjForumGUI::publishSelectedDraftObject | ( | ) |
Definition at line 2210 of file class.ilObjForumGUI.php.
References $_GET.
|
protected |
Definition at line 3818 of file class.ilObjForumGUI.php.
References error(), ilForumPostDraft\isSavePostDraftAllowed(), and ilForumPostDraft\newInstanceByDraftId().
ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 2654 of file class.ilObjForumGUI.php.
References $_POST, and error().
|
protected |
ilTemplate | $tpl | |
string | $action | |
ilForumPost | $referencePosting | |
ilForumPostDraft[] |
ilSplitButtonException |
Definition at line 770 of file class.ilObjForumGUI.php.
References $_GET, ilObjectGUI\$tpl, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, ilGlyphGUI\get(), ilForumPost\getDepth(), ilForumPost\getId(), ilLinkButton\getInstance(), getReplyEditForm(), ilForumPost\getThreadId(), ilForumPost\getUpdateUserId(), ilForumPost\isCensored(), ilUtil\prepareFormOutput(), renderSplitButton(), and user().
|
protected |
ilTemplate | $tpl | |
ilForumPost | $node | |
string | $action | |
int | $pageIndex | |
int | $postIndex |
ilSplitButtonException |
Definition at line 963 of file class.ilObjForumGUI.php.
References $_SESSION, $tpl, ilForum\_isModerator(), ilRTE\_replaceMediaObjectImageSrc(), ilGlyphGUI\ATTACHMENT, 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(), ilForumPost\setChangeDate(), ilForumPost\setMessage(), ilUtil\stripSlashes(), ilUtil\switchColor(), and user().
|
private |
Definition at line 3228 of file class.ilObjForumGUI.php.
|
private |
ilTemplate | $tpl | |
string | $action | |
bool | $is_post | |
ilForumPost | $node | |
int | $pageIndex | |
ilForumPostDraft | NULL | $draft |
ilSplitButtonException |
Definition at line 5018 of file class.ilObjForumGUI.php.
References $_GET, $_SESSION, $i, $tpl, $url, ilForumPost\getForumId(), ilForumPost\getId(), ilLinkButton\getInstance(), ilSplitButtonGUI\getInstance(), ilForumPost\getThreadId(), ilForumPost\hasReplies(), ilForumPost\isActivated(), ilForumPost\isCensored(), ilForumPost\isOwner(), ilForumPost\isPostRead(), ilUtil\stripSlashes(), and user().
Referenced by renderDraftContent().
|
private |
Definition at line 3202 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4417 of file class.ilObjForumGUI.php.
References ilForumPostDraft\createDraftBackup().
|
private |
Definition at line 1632 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4440 of file class.ilObjForumGUI.php.
References $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), error(), ilForumUtil\getPublicUserAlias(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), and user().
|
protected |
Definition at line 4114 of file class.ilObjForumGUI.php.
References error().
ilObjForumGUI::saveTopLevelDraftObject | ( | ) |
Definition at line 4605 of file class.ilObjForumGUI.php.
ilObjForumGUI::saveTopLevelPostObject | ( | ) |
Definition at line 2204 of file class.ilObjForumGUI.php.
|
protected |
May be overwritten in subclasses.
Reimplemented from ilObjectGUI.
Definition at line 3890 of file class.ilObjForumGUI.php.
References ilColumnGUI\setBlockProperty(), and ilColumnGUI\setRepositoryMode().
ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = 0 | ) |
Definition at line 1682 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4324 of file class.ilObjForumGUI.php.
References ilRepositoryObjectSearchGUI\getSearchBlockHTML().
Referenced by executeCommand(), showThreadsObject(), and sortThreadsObject().
ilObjForumGUI::showStatisticsObject | ( | ) |
if globally deactivated, skip!!! intrusion detected
Definition at line 1301 of file class.ilObjForumGUI.php.
References $_GET, $data, $result, error(), ilUtil\sendInfo(), and settings().
ilObjForumGUI::showThreadsObject | ( | ) |
Definition at line 638 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
Referenced by executeCommand(), markAllReadObject(), and updateThreadObject().
ilObjForumGUI::showUserObject | ( | ) |
Definition at line 3300 of file class.ilObjForumGUI.php.
References $_GET, and ilUtil\stripSlashes().
ilObjForumGUI::sortThreadsObject | ( | ) |
Definition at line 645 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), getSubTabs(), and setSideBlocks().
|
protected |
Toggle explorer node.
Definition at line 165 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 1711 of file class.ilObjForumGUI.php.
References error().
|
protected |
Definition at line 1692 of file class.ilObjForumGUI.php.
References error(), ilUtil\sendInfo(), and user().
|
protected |
ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 537 of file class.ilObjForumGUI.php.
|
protected |
Definition at line 4529 of file class.ilObjForumGUI.php.
References $GLOBALS, ilRTE\_replaceMediaObjectImageSrc(), error(), ilForumUtil\getPublicUserAlias(), ilForumPostDraft\isSavePostDraftAllowed(), ilForumUtil\moveMediaObjects(), ilForumPostDraft\newInstanceByDraftId(), and user().
ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 596 of file class.ilObjForumGUI.php.
References editThreadObject(), ensureThreadBelongsToForum(), error(), getThreadEditingForm(), and showThreadsObject().
ilObjForumGUI::$access |
Definition at line 90 of file class.ilObjForumGUI.php.
|
private |
Definition at line 80 of file class.ilObjForumGUI.php.
|
private |
Definition at line 56 of file class.ilObjForumGUI.php.
|
private |
Definition at line 32 of file class.ilObjForumGUI.php.
|
private |
Definition at line 50 of file class.ilObjForumGUI.php.
ilObjForumGUI::$error |
Definition at line 93 of file class.ilObjForumGUI.php.
|
private |
Definition at line 83 of file class.ilObjForumGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 77 of file class.ilObjForumGUI.php.
|
private |
Definition at line 35 of file class.ilObjForumGUI.php.
|
private |
Definition at line 62 of file class.ilObjForumGUI.php.
|
private |
Definition at line 68 of file class.ilObjForumGUI.php.
ilObjForumGUI::$ilHelp |
Definition at line 100 of file class.ilObjForumGUI.php.
ilObjForumGUI::$ilNavigationHistory |
Definition at line 86 of file class.ilObjForumGUI.php.
ilObjForumGUI::$ilObjDataCache |
Definition at line 91 of file class.ilObjForumGUI.php.
|
private |
Definition at line 53 of file class.ilObjForumGUI.php.
ilObjForumGUI::$locator |
Definition at line 99 of file class.ilObjForumGUI.php.
ilObjForumGUI::$modal_history = '' |
Definition at line 38 of file class.ilObjForumGUI.php.
|
private |
Definition at line 47 of file class.ilObjForumGUI.php.
|
private |
Definition at line 44 of file class.ilObjForumGUI.php.
ilObjForumGUI::$object |
Definition at line 65 of file class.ilObjForumGUI.php.
ilObjForumGUI::$objProperties |
Definition at line 41 of file class.ilObjForumGUI.php.
ilObjForumGUI::$rbac |
Definition at line 98 of file class.ilObjForumGUI.php.
|
private |
Definition at line 59 of file class.ilObjForumGUI.php.
ilObjForumGUI::$repositoryTree |
Definition at line 97 of file class.ilObjForumGUI.php.
|
private |
Definition at line 88 of file class.ilObjForumGUI.php.
ilObjForumGUI::$settings |
Definition at line 95 of file class.ilObjForumGUI.php.
|
private |
Definition at line 26 of file class.ilObjForumGUI.php.
ilObjForumGUI::$tabs |
Definition at line 92 of file class.ilObjForumGUI.php.
ilObjForumGUI::$toolbar |
Definition at line 96 of file class.ilObjForumGUI.php.
|
private |
Definition at line 71 of file class.ilObjForumGUI.php.
|
private |
Definition at line 74 of file class.ilObjForumGUI.php.
ilObjForumGUI::$user |
Definition at line 94 of file class.ilObjForumGUI.php.
|
private |
Definition at line 20 of file class.ilObjForumGUI.php.