ILIAS
release_4-3 Revision
|
Class ilObjForumGUI. More...
Public Member Functions | |
updateThreadObject () | |
showThreadsObject () | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
performPostAndChildPostsActivationObject () | |
performPostActivationObject () | |
cancelPostActivationObject () | |
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 () | |
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) | |
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. | |
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 () | |
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. | |
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 | |
__showClipboardTable ($a_result_set, $a_from="") | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
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. |
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
Definition at line 27 of file class.ilObjForumGUI.php.
ilObjForumGUI::askForPostActivationObject | ( | ) |
Definition at line 1070 of file class.ilObjForumGUI.php.
References setDisplayConfirmPostActivation().
ilObjForumGUI::cancelObject | ( | $in_rep = false | ) |
cancel action and go back to previous page public
Reimplemented from ilObjectGUI.
Definition at line 647 of file class.ilObjForumGUI.php.
References ilUtil\redirect(), and ilUtil\sendInfo().
ilObjForumGUI::cancelPostActivationObject | ( | ) |
Definition at line 1065 of file class.ilObjForumGUI.php.
ilObjForumGUI::cancelPostObject | ( | ) |
Definition at line 1128 of file class.ilObjForumGUI.php.
ilObjForumGUI::checkEnableColumnEdit | ( | ) |
Definition at line 3507 of file class.ilObjForumGUI.php.
ilObjForumGUI::cloneWizardPageObject | ( | ) |
Definition at line 3537 of file class.ilObjForumGUI.php.
References $_REQUEST, $title, ilForum\_getThreads(), ilObjectGUI\createObject(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUtil\sendInfo(), and ilForum\SORT_TITLE.
ilObjForumGUI::displayConfirmPostActivation | ( | ) |
Definition at line 1085 of file class.ilObjForumGUI.php.
References $display_confirm_post_activation.
ilObjForumGUI::fetchTreeChildrenAsyncObject | ( | ) |
Definition at line 1802 of file class.ilObjForumGUI.php.
References $_SESSION, ilJsonUtil\encode(), exit, and ilForumExplorer\getTreeNodeHtml().
|
protected |
Definition at line 344 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 1789 of file class.ilObjForumGUI.php.
|
private |
Definition at line 1771 of file class.ilObjForumGUI.php.
References $forumObjects, $object, ilObject\getId(), and ilObject\getRefId().
ilObjForumGUI::getIcon | ( | $user_toggle_noti | ) |
Definition at line 3782 of file class.ilObjForumGUI.php.
Referenced by getUserNotificationTableData().
|
private |
Definition at line 2788 of file class.ilObjForumGUI.php.
|
private |
Definition at line 1437 of file class.ilObjForumGUI.php.
References $replyEditForm.
Referenced by quotePostObject().
|
private |
int | $a_thread_id |
Definition at line 410 of file class.ilObjForumGUI.php.
References ilFormPropertyGUI\setRequired().
Referenced by updateThreadObject().
|
private |
Definition at line 3857 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 3604 of file class.ilObjForumGUI.php.
References ilUtil\stripSlashes().
|
private |
Definition at line 1713 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 3627 of file class.ilObjForumGUI.php.
|
private |
string | $object_type |
Definition at line 584 of file class.ilObjForumGUI.php.
References ilRadioOption\addSubItem(), ilUtil\getImagePath(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setMaxLength(), ilCheckboxInputGUI\setValue(), ilForumProperties\VIEW_DATE, ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
|
private |
Definition at line 3747 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 4299 of file class.ilObjForumGUI.php.
References ilObjectGUI\$tree.
Referenced by isUserAllowedToDeactivateNotification().
ilObjForumGUI::isUserAllowedToDeactivateNotification | ( | ) |
Definition at line 4268 of file class.ilObjForumGUI.php.
References $ilUser, and isParentObjectCrsOrGrp().
ilObjForumGUI::performPostActivationObject | ( | ) |
Definition at line 1054 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo().
ilObjForumGUI::performPostAndChildPostsActivationObject | ( | ) |
Definition at line 1043 of file class.ilObjForumGUI.php.
References ilUtil\sendInfo().
ilObjForumGUI::prepareFormOutput | ( | $a_text | ) |
Definition at line 3614 of file class.ilObjForumGUI.php.
ilObjForumGUI::quotePostObject | ( | ) |
Definition at line 1724 of file class.ilObjForumGUI.php.
References $_POST, and getReplyEditForm().
ilObjForumGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 4378 of file class.ilObjForumGUI.php.
References $ilSetting, ilObjectGUI\$lng, ilDesktopItemGUI\removeFromDesktop(), ilUtil\sendSuccess(), and showThreadsObject().
ilObjForumGUI::setDisplayConfirmPostActivation | ( | $status = 0 | ) |
Definition at line 1080 of file class.ilObjForumGUI.php.
Referenced by askForPostActivationObject().
|
private |
Definition at line 3309 of file class.ilObjForumGUI.php.
ilObjForumGUI::setTreeStateAsynchObject | ( | ) |
Definition at line 1864 of file class.ilObjForumGUI.php.
References $_SESSION, and exit.
ilObjForumGUI::showThreadsObject | ( | ) |
Definition at line 508 of file class.ilObjForumGUI.php.
References ilObjectGUI\getCenterColumnHTML(), and ilObjectGUI\getRightColumnHTML().
Referenced by removeFromDeskObject(), and updateThreadObject().
ilObjForumGUI::toggleStickinessObject | ( | ) |
Definition at line 1111 of file class.ilObjForumGUI.php.
ilObjForumGUI::updateThreadObject | ( | ) |
Definition at line 460 of file class.ilObjForumGUI.php.
References getThreadEditingForm(), ilObjForum\lookupForumIdByObjId(), ilUtil\sendSuccess(), and showThreadsObject().
|
private |
Definition at line 3711 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.
|
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().