ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilObjForumGUI. More...
Public Member Functions | |
updateThreadObject () | |
showThreadsObject () | |
sortThreadsObject () | |
getSubTabs ($subtab= 'showThreads') | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
performPostActivationObject () | |
askForPostActivationObject () | |
setDisplayConfirmPostActivation ($status=0) | |
displayConfirmPostActivation () | |
toggleStickinessObject () | |
cancelPostObject () | |
quotePostObject () | |
getForumExplorer () | |
fetchTreeChildrenAsyncObject () | |
setTreeStateAsynchObject () | |
checkEnableColumnEdit () | |
cloneWizardPageObject () | |
handleFormInput ($a_text, $a_stripslashes=true) | |
prepareFormOutput ($a_text) | |
infoScreenObject () | |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed | |
getIcon ($user_toggle_noti) | |
isUserAllowedToDeactivateNotification () | |
removeFromDeskObject () | |
saveThreadSortingObject () | |
mergeThreadsObject () | |
confirmMergeThreadsObject () | |
cancelMergeThreads () | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
& | executeCommand () |
execute command | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui | |
getCreationMode () | |
get creation mode | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
createObject () | |
create new object form | |
cancelCreation () | |
cancel create action and go back to repository parent | |
saveObject () | |
save object | |
editObject () | |
edit object | |
updateObject () | |
updates object entry in object_data | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
Public Member Functions inherited from ilDesktopItemHandling | |
addToDeskObject () | |
Add desktop item public. |
Data Fields | |
$objProperties | |
$object | |
$ilias | |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$ilias | |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false | |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
Protected Member Functions | |
initSessionStorage () | |
getEditFormCustomValues (Array &$a_values) | |
afterSave (ilObjForum $forumObj) | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. | |
addHeaderAction () | |
Add header action menu. | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
setLocator () | |
set Locator | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) | |
initCreationForms ($a_new_type) | |
Init creation froms. | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) | |
initCreateForm ($a_new_type) | |
Init object creation form. | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. | |
initEditForm () | |
Init object edit form. | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. | |
getEditFormValues () | |
Get values for edit form. | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. | |
afterUpdate () | |
Post (successful) object update hook. | |
initImportForm ($a_new_type) | |
Init object import form. | |
importFileObject ($parent_id=null) | |
Import. | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
getTabs (&$tabs_gui) | |
get tabs abstract method. | |
__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 | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. |
Private Member Functions | |
getThreadEditingForm ($a_thread_id) | |
initForumCreateForm ($object_type) | |
getReplyEditForm () | |
hideToolbar ($a_flag=null) | |
getForumObjects () | |
getModifiedReOnSubject ($on_reply=false) | |
setTopicCreateDefaultValues () | |
updateUserNotifications ($update_all_users=false) | |
initNotificationSettingsForm () | |
getUserNotificationTableData ($user_ids, ilForumNotification $frm_noti) | |
isParentObjectCrsOrGrp () |
Private Attributes | |
$objCurrentTopic | |
$objCurrentPost | |
$display_confirm_post_activation = 0 | |
$is_moderator = false | |
$create_form_gui | |
$create_topic_form_gui | |
$replyEditForm | |
$notificationSettingsForm | |
$hideToolbar = false | |
$forum_overview_setting = null | |
$forumObjects | |
$confirmation_gui_html = '' |
Additional Inherited Members | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. |
Class ilObjForumGUI.
ilObjForumGUI: ilPermissionGUI, ilForumExportGUI, ilInfoScreenGUI ilObjForumGUI: ilColumnGUI, ilPublicUserProfileGUI, ilForumModeratorsGUI ilObjForumGUI: ilObjectCopyGUI, ilExportGUI, ilCommonActionDispatcherGUI, ilRatingGUI
Definition at line 27 of file class.ilObjForumGUI.php.
|
protected |
ilObjForum | $forumObj |
Definition at line 730 of file class.ilObjForumGUI.php.
References ilObject\getRefId(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1114 of file class.ilObjForumGUI.php.
References setDisplayConfirmPostActivation().
ilObjForumGUI::cancelMergeThreads | ( | ) |
Definition at line 4650 of file class.ilObjForumGUI.php.
References showThreadsObject().
ilObjForumGUI::cancelObject | ( | $in_rep = false | ) |
cancel action and go back to previous page public
Reimplemented from ilObjectGUI.
Definition at line 721 of file class.ilObjForumGUI.php.
References ilUtil\redirect(), and ilUtil\sendInfo().
ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1172 of file class.ilObjForumGUI.php.
ilObjForumGUI::checkEnableColumnEdit | ( | ) |
Definition at line 3583 of file class.ilObjForumGUI.php.
ilObjForumGUI::cloneWizardPageObject | ( | ) |
Definition at line 3613 of file class.ilObjForumGUI.php.
References $_REQUEST, ilForum\_getThreads(), ilObjectGUI\createObject(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUtil\sendInfo(), and ilForum\SORT_TITLE.
ilObjForumGUI::confirmMergeThreadsObject | ( | ) |
Definition at line 4554 of file class.ilObjForumGUI.php.
References ilForumTopic\_lookupDate(), ilForumTopic\_lookupTitle(), ilForumTopic\lookupForumIdByTopicId(), mergeThreadsObject(), ilUtil\sendFailure(), ilUtil\sendInfo(), and showThreadsObject().
ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1129 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
ilObjForumGUI::fetchTreeChildrenAsyncObject | ( | ) |
Definition at line 1833 of file class.ilObjForumGUI.php.
References $_SESSION, ilJsonUtil\encode(), exit, and ilForumExplorer\getTreeNodeHtml().
|
protected |
Definition at line 378 of file class.ilObjForumGUI.php.
References ilForumProperties\VIEW_DATE, ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
ilObjForumGUI::getForumExplorer | ( | ) |
Definition at line 1820 of file class.ilObjForumGUI.php.
|
private |
Definition at line 1802 of file class.ilObjForumGUI.php.
References $forumObjects, and $object.
ilObjForumGUI::getIcon | ( | $user_toggle_noti | ) |
Definition at line 3858 of file class.ilObjForumGUI.php.
Referenced by getUserNotificationTableData().
|
private |
Definition at line 2839 of file class.ilObjForumGUI.php.
|
private |
Definition at line 1456 of file class.ilObjForumGUI.php.
References $replyEditForm.
Referenced by quotePostObject().
ilObjForumGUI::getSubTabs | ( | $subtab = 'showThreads' | ) |
Definition at line 561 of file class.ilObjForumGUI.php.
References $is_moderator.
Referenced by showThreadsObject(), and sortThreadsObject().
|
private |
int | $a_thread_id |
Definition at line 449 of file class.ilObjForumGUI.php.
References ilFormPropertyGUI\setRequired().
Referenced by updateThreadObject().
|
private |
Definition at line 3933 of file class.ilObjForumGUI.php.
References ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilUtil\formCheckbox(), getIcon(), ilForumNotification\isUserToggleNotification(), and ilForumNotification\setUserId().
ilObjForumGUI::handleFormInput | ( | $a_text, | |
$a_stripslashes = true |
|||
) |
Definition at line 3680 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
|
private |
Definition at line 1743 of file class.ilObjForumGUI.php.
References $hideToolbar.
ilObjForumGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 3703 of file class.ilObjForumGUI.php.
|
private |
string | $object_type |
Definition at line 647 of file class.ilObjForumGUI.php.
References ilRadioOption\addSubItem(), ilUtil\getImagePath(), ilTextAreaInputGUI\setCols(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setSize(), ilCheckboxInputGUI\setValue(), ilObject\TITLE_LENGTH, ilForumProperties\VIEW_DATE, ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
|
private |
Definition at line 3823 of file class.ilObjForumGUI.php.
References ilRadioOption\addSubItem(), and ilCheckboxInputGUI\setValue().
|
protected |
Definition at line 139 of file class.ilObjForumGUI.php.
References $_GET, $sess, ilSession\get(), and ilSession\set().
|
private |
Definition at line 4375 of file class.ilObjForumGUI.php.
References ilObjectGUI\$tree.
Referenced by isUserAllowedToDeactivateNotification().
ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) |
Definition at line 4344 of file class.ilObjForumGUI.php.
References $ilUser, and isParentObjectCrsOrGrp().
ilObjForumGUI::mergeThreadsObject | ( | ) |
Definition at line 4489 of file class.ilObjForumGUI.php.
References ilForum\_lookupObjIdForForumId(), ilUtil\sendFailure(), ilUtil\sendInfo(), and showThreadsObject().
Referenced by confirmMergeThreadsObject().
ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1103 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo().
ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 3690 of file class.ilObjForumGUI.php.
ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 1754 of file class.ilObjForumGUI.php.
References $_POST, and getReplyEditForm().
ilObjForumGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 4455 of file class.ilObjForumGUI.php.
References $ilSetting, ilObjectGUI\$lng, ilDesktopItemGUI\removeFromDesktop(), ilUtil\sendSuccess(), and showThreadsObject().
ilObjForumGUI::saveThreadSortingObject | ( | ) |
Definition at line 4471 of file class.ilObjForumGUI.php.
References ilUtil\sendSuccess(), and showThreadsObject().
ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = 0 | ) |
Definition at line 1124 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
|
private |
Definition at line 3363 of file class.ilObjForumGUI.php.
ilObjForumGUI::setTreeStateAsynchObject | ( | ) |
Definition at line 1895 of file class.ilObjForumGUI.php.
References $_SESSION, and exit.
ilObjForumGUI::showThreadsObject | ( | ) |
Definition at line 547 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), ilObjectGUI\getRightColumnHTML(), and getSubTabs().
Referenced by cancelMergeThreads(), confirmMergeThreadsObject(), mergeThreadsObject(), removeFromDeskObject(), saveThreadSortingObject(), and updateThreadObject().
ilObjForumGUI::sortThreadsObject | ( | ) |
Definition at line 553 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), ilObjectGUI\getRightColumnHTML(), and getSubTabs().
ilObjForumGUI::toggleStickinessObject | ( | ) |
Definition at line 1155 of file class.ilObjForumGUI.php.
ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 499 of file class.ilObjForumGUI.php.
References getThreadEditingForm(), ilObjForum\lookupForumIdByObjId(), ilUtil\sendSuccess(), and showThreadsObject().
|
private |
Definition at line 3787 of file class.ilObjForumGUI.php.
References ilForumNotification\_getModerators().
|
private |
Definition at line 102 of file class.ilObjForumGUI.php.
|
private |
Definition at line 57 of file class.ilObjForumGUI.php.
|
private |
Definition at line 62 of file class.ilObjForumGUI.php.
|
private |
Definition at line 47 of file class.ilObjForumGUI.php.
Referenced by displayConfirmPostActivation().
|
private |
Definition at line 82 of file class.ilObjForumGUI.php.
|
private |
Definition at line 97 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
|
private |
Definition at line 77 of file class.ilObjForumGUI.php.
Referenced by hideToolbar().
ilObjForumGUI::$ilias |
Definition at line 92 of file class.ilObjForumGUI.php.
|
private |
Definition at line 52 of file class.ilObjForumGUI.php.
Referenced by getSubTabs().
|
private |
Definition at line 72 of file class.ilObjForumGUI.php.
|
private |
Definition at line 42 of file class.ilObjForumGUI.php.
|
private |
Definition at line 37 of file class.ilObjForumGUI.php.
ilObjForumGUI::$object |
Definition at line 87 of file class.ilObjForumGUI.php.
Referenced by getForumObjects().
ilObjForumGUI::$objProperties |
Definition at line 32 of file class.ilObjForumGUI.php.
|
private |
Definition at line 67 of file class.ilObjForumGUI.php.
Referenced by getReplyEditForm().