ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilObjGroupGUI. More...
Public Member Functions | |
__construct ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=false) | |
Constructor public. | |
& | executeCommand () |
execute command | |
viewObject () | |
list childs of current object | |
renderObject () | |
Render group. | |
modifyItemGUI ($a_item_list_gui, $a_item_data, $a_show_path) | |
Modify Item ListGUI for presentation in container. | |
saveObject () | |
save object | |
editObject () | |
Edit object. | |
updateGroupTypeObject () | |
change group type | |
updateObject () | |
update GroupObject | |
editGroupIconsObject ($a_form=null) | |
edit container icons | |
initGroupIconsForm () | |
updateGroupIconsObject () | |
update group icons | |
editMapSettingsObject () | |
Edit Map Settings. | |
saveMapSettingsObject () | |
membersMapObject () | |
Members map. | |
editInfoObject () | |
edit info | |
updateInfoObject () | |
update info | |
membersGalleryObject () | |
Builds a group members gallery as a layer of left-floating images. | |
membersObject () | |
edit members | |
assignSubscribersObject () | |
assign subscribers | |
refuseSubscribersObject () | |
refuse subscribers | |
assignFromWaitingListObject () | |
add from waiting list | |
refuseFromListObject () | |
refuse from waiting list | |
confirmDeleteMembersObject () | |
delete selected members | |
deleteMembersObject () | |
delete members | |
sendMailToSelectedUsersObject () | |
show send mail | |
setShowHidePrefs () | |
set preferences (show/hide tabel content) | |
editMemberObject () | |
edit one member | |
editMembersObject () | |
edit member(s) | |
updateMembersObject () | |
update members | |
updateStatusObject () | |
update status | |
canceledObject () | |
canceledObject is called when operation is canceled, method links back public | |
leaveObject () | |
leave Group public | |
unsubscribeObject () | |
unsubscribe from group | |
assignMemberObject () | |
displays confirmation formular with users that shall be assigned to group public | |
addUserObject ($user_ids, $a_type) | |
displays confirmation formular with users that shall be assigned to group public | |
mailMembersObject () | |
Form for mail to group members. | |
refuseApplicantsObject () | |
adds applicant to group as member public | |
getTabs (&$tabs_gui) | |
get tabs abstract method. | |
importFileObject2 () | |
initConditionHandlerGUI ($item_id) | |
exportObject () | |
Creates the output form for group member export. | |
exportMembersObject () | |
Exports group members to Microsoft Excel file. | |
cleanString ($str) | |
Clean output string from german umlauts. | |
infoScreenObject () | |
set sub tabs | |
infoScreen () | |
show information screen | |
saveNotificationObject () | |
:TEMP: Save notification setting (from infoscreen) | |
_goto ($a_target, $a_add="") | |
goto target group | |
load () | |
load settings | |
prepareOutput () | |
Handle member view. | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
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 () | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
createObject () | |
create new object form | |
cancelCreation () | |
cancel create action and go back to repository parent | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
Public Member Functions inherited from ilContainerGUI | |
ilContainerGUI ($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
forwardToStyleSheet () | |
Forward to style object. | |
& | forwardToPageObject () |
forward command to page object | |
addPageTabs () | |
Add page tabs. | |
getContainerPageHTML () | |
Get container page HTML. | |
prepareOutput ($a_show_subobjects=true) | |
prepare output | |
showTreeFlatIcon () | |
setTitleAndDescription () | |
called by prepare output | |
showPossibleSubObjects () | |
show possible sub objects selection list | |
getContentGUI () | |
Get content gui object. | |
setContentSubTabs () | |
Set content sub tabs. | |
showAdministrationPanel (&$tpl) | |
show administration panel | |
__showTimingsButton (&$tpl) | |
showPermanentLink (&$tpl) | |
show permanent link | |
switchToStdEditorObject () | |
Switch to standard page editor. | |
switchToOldEditorObject () | |
Switch to old page editor. | |
useNewEditorObject () | |
Use new editor (-> delete xhtml content page) | |
editPageFrameObject () | |
show page editor frameset | |
editPageContentObject () | |
edit page content (for repository root node and categories) | |
savePageContentObject () | |
cancelPageContentObject () | |
renderItemList ($a_type="all") | |
showLinkListObject () | |
clearAdminCommandsDetermination () | |
cleaer administration commands determination | |
& | newBlockTemplate () |
determin admin commands | |
addHeaderRow (&$a_tpl, $a_type, $a_show_image=true) | |
adds a header row to a block template | |
addStandardRow (&$a_tpl, $a_html, $a_item_ref_id="", $a_item_obj_id="", $a_image_type="") | |
adds a standard row to a block template | |
addMessageRow (&$a_tpl, $a_message, $a_type) | |
add message row | |
resetRowType () | |
setPageEditorTabs () | |
Add page editor tabs. | |
addStandardContainerSubTabs ($a_include_view=true) | |
Add standar container subtabs for view, manage, oderdering and text/media editor link. | |
enableAdministrationPanelObject () | |
enable administration panel | |
disableAdministrationPanelObject () | |
enable administration panel | |
editOrderObject () | |
Edit order. | |
isActiveOrdering () | |
Check if ordering is enabled. | |
addToDeskObject () | |
removeFromDeskObject () | |
lockObject () | |
cutObject () | |
cut object(s) out from a container and write the information to clipboard | |
linkObject () | |
create an new reference of an object in tree it's like a hard link of unix | |
clearObject () | |
clear clipboard and go back to last object | |
performPasteIntoMultipleObjectsObject () | |
initAndDisplayLinkIntoMultipleObjectsObject () | |
showLinkIntoMultipleObjectsTreeObject () | |
cancelMoveLinkObject () | |
Cancel move|link empty clipboard and return to parent. | |
initAndDisplayMoveIntoObjectObject () | |
showMoveIntoObjectTreeObject () | |
pasteObject () | |
paste object from clipboard to current place Depending on the chosen command the object(s) are linked, copied or moved | |
copyObject () | |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. | |
clipboardObject () | |
show clipboard | |
showCustomIconsEditing ($a_input_colspan=1, ilPropertyFormGUI $a_form=null, $a_as_section=true) | |
show edit section of custom icons for container | |
isActiveAdministrationPanel () | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
allowBlocksMoving () | |
Standard is to allow blocks moving. | |
allowBlocksConfigure () | |
Standard is to allow blocks configuration. | |
cloneWizardPageTreeObject () | |
public | |
cloneWizardPageListObject () | |
public | |
cloneWizardPageObject ($a_tree_view=true) | |
Show clone wizard page for container objects. | |
cloneAllObject () | |
Clone all object Overwritten method for copying container objects. | |
copyWizardHasOptions ($a_mode) | |
public | |
saveSortingObject () | |
Save Sorting. | |
cloneNodes ($srcRef, $dstRef, &$mapping, $newName=null) | |
Recursively clones all nodes of the RBAC tree. | |
modifyItemGUI (&$a_item_list_gui, $a_item_data, $a_show_path) | |
Modify Item ListGUI for presentation in container. | |
editStylePropertiesObject () | |
Edit style properties. | |
initStylePropertiesForm () | |
Init style properties form. | |
createStyleObject () | |
Create Style. | |
editStyleObject () | |
Edit Style. | |
deleteStyleObject () | |
Delete Style. | |
saveStyleSettingsObject () | |
Save style settings. | |
getAsynchItemListObject () | |
Get item list command drop down asynchronously. | |
redrawListItemObject () | |
Redraw a list item (ajax) |
Protected Member Functions | |
initCreateForm ($a_new_type) | |
Init object creation form. | |
initInfoEditor () | |
init info editor | |
readMemberData ($ids, $role= 'admin') | |
initForm ($a_mode= 'edit') | |
init create/edit form | |
loadDate ($a_field) | |
load date | |
setSubTabs ($a_tab) | |
set sub tabs | |
createMailSignature () | |
Create a course mail signature. | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. | |
addHeaderAction () | |
Add header action menu. | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. | |
showUpperIcon () | |
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) | |
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. | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. | |
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 | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
__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. | |
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. | |
Protected Member Functions inherited from ilContainerGUI | |
getEditFormValues () | |
Get values for edit form. | |
afterUpdate () | |
Post (successful) object update hook. | |
showPasswordInstructionObject ($a_init=true) | |
Show webdav password instruction. | |
initFormPasswordInstruction () | |
Init password form. | |
savePasswordObject () | |
Save password. |
Private Member Functions | |
checkAgreement () | |
Check agreement and redirect if it is not accepted. |
Additional Inherited Members | |
Static Public Member Functions inherited from ilContainerGUI | |
static | _buildPath ($a_ref_id, $a_course_ref_id) |
build path | |
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 |
Data Fields inherited from ilContainerGUI | |
$bl_cnt = 1 |
Class ilObjGroupGUI.
ilObjGroupGUI: ilGroupRegistrationGUI, ilConditionHandlerInterface, ilPermissionGUI, ilInfoScreenGUI,, ilLearningProgressGUI ilObjGroupGUI: ilRepositorySearchGUI, ilPublicUserProfileGUI, ilObjCourseGroupingGUI, ilObjStyleSheetGUI ilObjGroupGUI: ilCourseContentGUI, ilColumnGUI, ilPageObjectGUI,ilCourseItemAdministrationGUI, ilObjectCopyGUI ilObjGroupGUI: ilObjectCustomUserFieldsGUI, ilMemberAgreementGUI, ilExportGUI, ilMemberExportGUI ilObjGroupGUI: ilCommonActionDispatcherGUI
Definition at line 25 of file class.ilObjGroupGUI.php.
ilObjGroupGUI::__construct | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prepare_output = false |
|||
) |
Constructor public.
Definition at line 31 of file class.ilObjGroupGUI.php.
References ilContainerGUI\ilContainerGUI().
ilObjGroupGUI::_goto | ( | $a_target, | |
$a_add = "" |
|||
) |
goto target group
Definition at line 2445 of file class.ilObjGroupGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), exit, ilMembershipRegistrationCodeUtils\handleCode(), ilUtil\redirect(), and ilUtil\sendFailure().
ilObjGroupGUI::addUserObject | ( | $user_ids, | |
$a_type | |||
) |
displays confirmation formular with users that shall be assigned to group public
Definition at line 1813 of file class.ilObjGroupGUI.php.
References $_SESSION, $GLOBALS, ilObjUser\_addDesktopItem(), ilForumNotification\checkForumsExistsInsert(), ilObjGroup\GRP_ADMIN, ilObjGroup\GRP_MEMBER, ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_ADMISSION_MEMBER.
ilObjGroupGUI::assignFromWaitingListObject | ( | ) |
add from waiting list
public
@return |
Definition at line 1303 of file class.ilObjGroupGUI.php.
References $_POST, ilForumNotification\checkForumsExistsInsert(), ilObjectGUI\checkPermission(), ilObjectFactory\getInstanceByObjId(), IL_GRP_MEMBER, membersObject(), ilWaitingList\removeFromList(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER.
ilObjGroupGUI::assignMemberObject | ( | ) |
displays confirmation formular with users that shall be assigned to group public
Definition at line 1785 of file class.ilObjGroupGUI.php.
References $_POST, $_SESSION, and ilUtil\sendSuccess().
ilObjGroupGUI::assignSubscribersObject | ( | ) |
assign subscribers
public
Definition at line 1230 of file class.ilObjGroupGUI.php.
References $_POST, $ilIliasIniFile, ilObjectGUI\$lng, $usr_id, ilForumNotification\checkForumsExistsInsert(), ilObjectGUI\checkPermission(), IL_GRP_MEMBER, membersObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER.
ilObjGroupGUI::canceledObject | ( | ) |
canceledObject is called when operation is canceled, method links back public
Definition at line 1706 of file class.ilObjGroupGUI.php.
References $_GET, and ilObjectGUI\$return_location.
|
private |
Check agreement and redirect if it is not accepted.
private
Definition at line 2955 of file class.ilObjGroupGUI.php.
References ilCourseUserData\_checkRequired(), ilPrivacySettings\_getInstance(), ilMemberAgreement\_hasAccepted(), ilCourseDefinedFieldDefinition\_hasFields(), and ilMemberViewSettings\getInstance().
Referenced by viewObject().
ilObjGroupGUI::cleanString | ( | $str | ) |
Clean output string from german umlauts.
Clean output string from german umlauts. Replaces �� -> ae etc.
string | $str | String to clean |
Definition at line 2292 of file class.ilObjGroupGUI.php.
Referenced by exportMembersObject().
ilObjGroupGUI::confirmDeleteMembersObject | ( | ) |
delete selected members
public
Definition at line 1398 of file class.ilObjGroupGUI.php.
References $_POST, ilGroupParticipants\_getInstanceByObjId(), ilObjectGUI\checkPermission(), ilUtil\getImagePath(), membersObject(), readMemberData(), ilUtil\sendFailure(), and setSubTabs().
|
protected |
Create a course mail signature.
Definition at line 3022 of file class.ilObjGroupGUI.php.
References ilLink\_getLink().
Referenced by mailMembersObject(), and sendMailToSelectedUsersObject().
ilObjGroupGUI::deleteMembersObject | ( | ) |
delete members
public
@return |
Definition at line 1451 of file class.ilObjGroupGUI.php.
References $_POST, ilForumNotification\checkForumsExistsDelete(), ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_DISMISS_MEMBER.
ilObjGroupGUI::editGroupIconsObject | ( | $a_form = null | ) |
edit container icons
Definition at line 554 of file class.ilObjGroupGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), initGroupIconsForm(), and setSubTabs().
Referenced by updateGroupIconsObject().
ilObjGroupGUI::editInfoObject | ( | ) |
edit info
public
Definition at line 749 of file class.ilObjGroupGUI.php.
References $ilErr, ilObjectGUI\checkPermission(), initInfoEditor(), and setSubTabs().
Referenced by updateInfoObject().
ilObjGroupGUI::editMapSettingsObject | ( | ) |
Edit Map Settings.
Definition at line 629 of file class.ilObjGroupGUI.php.
References $ilCtrl, ilGoogleMapUtil\getDefaultSettings(), ilGoogleMapUtil\isActivated(), ilLocationInputGUI\setLatitude(), setSubTabs(), and ilCheckboxInputGUI\setValue().
ilObjGroupGUI::editMemberObject | ( | ) |
edit one member
public
Definition at line 1556 of file class.ilObjGroupGUI.php.
References $_GET, $_POST, and editMembersObject().
ilObjGroupGUI::editMembersObject | ( | ) |
edit member(s)
public
Definition at line 1568 of file class.ilObjGroupGUI.php.
References $_POST, ilObjectGUI\checkPermission(), membersObject(), readMemberData(), ilUtil\sendFailure(), and setSubTabs().
Referenced by editMemberObject(), and updateMembersObject().
ilObjGroupGUI::editObject | ( | ) |
Edit object.
public
bool | show warning, if group type has been changed |
Reimplemented from ilObjectGUI.
Definition at line 426 of file class.ilObjGroupGUI.php.
References $_GET, ilObjectGUI\checkPermission(), initForm(), and setSubTabs().
Referenced by updateObject().
& ilObjGroupGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 39 of file class.ilObjGroupGUI.php.
References $_GET, $_REQUEST, $cmd, $ilCtrl, $ilErr, $ret, ilObjectGUI\addHeaderAction(), ilObjectGUI\checkPermission(), ilContainerGUI\forwardToPageObject(), ilContainerGUI\forwardToStyleSheet(), ilObjStyleSheet\getContentStylePath(), ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilObjGroup\GRP_ADMIN, ilObjGroup\GRP_MEMBER, infoScreen(), LP_MODE_REPOSITORY, prepareOutput(), renderObject(), and setSubTabs().
ilObjGroupGUI::exportMembersObject | ( | ) |
Exports group members to Microsoft Excel file.
Exports group members to Microsoft Excel file
Definition at line 2146 of file class.ilObjGroupGUI.php.
References ilObjectGUI\$data, $row, $title, and cleanString().
ilObjGroupGUI::exportObject | ( | ) |
Creates the output form for group member export.
Creates the output form for group member export
Definition at line 2131 of file class.ilObjGroupGUI.php.
References ilObjectGUI\getFormAction().
ilObjGroupGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs abstract method.
overwrite in derived GUI class of your object type public
object | instance of ilTabsGUI |
Reimplemented from ilObjectGUI.
Definition at line 1974 of file class.ilObjGroupGUI.php.
References ilObjectGUI\$lng, ilWaitingList\_isOnList(), ilGroupParticipants\_isParticipant(), and ilLearningProgressAccess\checkAccess().
ilObjGroupGUI::importFileObject2 | ( | ) |
Definition at line 2082 of file class.ilObjGroupGUI.php.
References $_GET, ilObjectGUI\$ref_id, ilObjGroup\_importFromFile(), ilObjectGUI\createObject(), ilUtil\redirect(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjGroupGUI::infoScreen | ( | ) |
show information screen
Definition at line 2317 of file class.ilObjGroupGUI.php.
References $ilSetting, ilCourseDefinedFieldDefinition\_fieldsToInfoString(), ilCourseDefinedFieldDefinition\_getFields(), ilPrivacySettings\_getInstance(), ilExportFieldsInfo\_getInstanceByType(), ilDatePresentation\formatDate(), GRP_REGISTRATION_DIRECT, GRP_REGISTRATION_PASSWORD, GRP_REGISTRATION_REQUEST, and ilUtil\makeClickable().
Referenced by executeCommand(), and infoScreenObject().
ilObjGroupGUI::infoScreenObject | ( | ) |
set sub tabs
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 2307 of file class.ilObjGroupGUI.php.
References infoScreen().
ilObjGroupGUI::initConditionHandlerGUI | ( | $item_id | ) |
Definition at line 2105 of file class.ilObjGroupGUI.php.
References $_GET.
|
protected |
Init object creation form.
string | $a_new_type |
Reimplemented from ilObjectGUI.
Definition at line 341 of file class.ilObjGroupGUI.php.
References initForm().
|
protected |
init create/edit form
protected
string | edit or create |
Definition at line 2519 of file class.ilObjGroupGUI.php.
References $pass, ilObjectGUI\$ref_id, $title, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilLink\_getLink(), ilObject\_lookupObjectId(), ilObject\_lookupObjId(), ilContainerSortingSettings\_readSortMode(), ilRadioOption\addSubItem(), ilMembershipRegistrationCodeUtils\generateCode(), ilUtil\getImagePath(), GRP_REGISTRATION_DEACTIVATED, GRP_REGISTRATION_DIRECT, GRP_REGISTRATION_PASSWORD, GRP_REGISTRATION_REQUEST, GRP_TYPE_CLOSED, GRP_TYPE_PUBLIC, ilContainerSortingSettings\lookupSortModeFromParentContainer(), ilCheckboxInputGUI\setChecked(), ilRadioOption\setInfo(), ilCheckboxInputGUI\setOptionTitle(), ilFormPropertyGUI\setRequired(), ilDateDurationInputGUI\setStartText(), ilCheckboxInputGUI\setValue(), ilRadioGroupInputGUI\setValue(), ilRadioOption\setValue(), ilTextAreaInputGUI\setValue(), ilContainer\SORT_INHERIT, ilContainer\SORT_MANUAL, ilContainer\SORT_TITLE, ilContainer\VIEW_BY_TYPE, ilContainer\VIEW_INHERIT, and ilContainer\VIEW_SIMPLE.
Referenced by editObject(), and initCreateForm().
ilObjGroupGUI::initGroupIconsForm | ( | ) |
Definition at line 572 of file class.ilObjGroupGUI.php.
References ilContainerGUI\showCustomIconsEditing().
Referenced by editGroupIconsObject(), and updateGroupIconsObject().
|
protected |
Add header action menu.
string | $a_sub_type | |
int | $a_sub_id |
Reimplemented from ilObjectGUI.
Definition at line 3032 of file class.ilObjGroupGUI.php.
References $ilSetting, ilGroupParticipants\_isParticipant(), and ilUtil\getImagePath().
|
protected |
init info editor
protected
Definition at line 769 of file class.ilObjGroupGUI.php.
References ilFormPropertyGUI\setInfo().
Referenced by editInfoObject().
ilObjGroupGUI::leaveObject | ( | ) |
leave Group public
Definition at line 1723 of file class.ilObjGroupGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), and ilUtil\sendQuestion().
ilObjGroupGUI::load | ( | ) |
load settings
public
Definition at line 2795 of file class.ilObjGroupGUI.php.
References $_POST, loadDate(), and ilUtil\stripSlashes().
Referenced by updateObject().
|
protected |
load date
protected
@return |
Definition at line 2822 of file class.ilObjGroupGUI.php.
References $_POST, and IL_CAL_FKT_GETDATE.
Referenced by load().
ilObjGroupGUI::mailMembersObject | ( | ) |
Form for mail to group members.
Definition at line 1866 of file class.ilObjGroupGUI.php.
References $_GET, ilObjectGUI\$ilias, ilObject\_getIdsForTitle(), ilMailFormCall\_getLinkTarget(), ilObjRole\_getTranslation(), ilObject\_lookupTitle(), ilMail\_usePearMail(), createMailSignature(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUtil\sendInfo(), and setSubTabs().
ilObjGroupGUI::membersGalleryObject | ( | ) |
Builds a group members gallery as a layer of left-floating images.
Definition at line 815 of file class.ilObjGroupGUI.php.
References $file, ilObjectFactory\getInstanceByObjId(), ilUtil\getStyleSheetLocation(), setSubTabs(), and ilUtil\sortArray().
ilObjGroupGUI::membersMapObject | ( | ) |
Members map.
Definition at line 703 of file class.ilObjGroupGUI.php.
References ilObjectGUI\$tpl, ilGoogleMapUtil\isActivated(), and setSubTabs().
ilObjGroupGUI::membersObject | ( | ) |
edit members
public
Definition at line 1013 of file class.ilObjGroupGUI.php.
References $GLOBALS, $ilCtrl, ilObjectGUI\$lng, ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilGroupParticipants\_getInstanceByObjId(), ilLPObjSettings\_lookupMode(), ilObject\_lookupTitle(), ilTable2GUI\addHeaderCommand(), ilObjectGUI\checkPermission(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), ilUtil\getImagePath(), ilGroupParticipants\getMemberRoles(), ilObjGroup\GRP_ADMIN, ilObjGroup\GRP_MEMBER, LP_MODE_DEACTIVATED, readMemberData(), setShowHidePrefs(), and setSubTabs().
Referenced by assignFromWaitingListObject(), assignSubscribersObject(), confirmDeleteMembersObject(), deleteMembersObject(), editMembersObject(), refuseFromListObject(), refuseSubscribersObject(), sendMailToSelectedUsersObject(), updateMembersObject(), and updateStatusObject().
ilObjGroupGUI::modifyItemGUI | ( | $a_item_list_gui, | |
$a_item_data, | |||
$a_show_path | |||
) |
Modify Item ListGUI for presentation in container.
Definition at line 325 of file class.ilObjGroupGUI.php.
References ilObjectGUI\$tree, ilObjCourse\_lookupAboStatus(), ilObject\_lookupObjId(), and ilObjCourseGUI\_modifyItemGUI().
ilObjGroupGUI::prepareOutput | ( | ) |
Handle member view.
Reimplemented from ilObjectGUI.
Definition at line 3000 of file class.ilObjGroupGUI.php.
References ilObjectGUI\getCreationMode().
Referenced by executeCommand().
|
protected |
Definition at line 937 of file class.ilObjGroupGUI.php.
References $failed, $usr_id, ilLPStatusWrapper\_getCompleted(), ilLPStatusWrapper\_getFailed(), ilLPStatusWrapper\_getInProgress(), ilPrivacySettings\_getInstance(), ilLPStatusWrapper\_getNotAttempted(), ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilLearningProgress\_lookupProgressByObjId(), ilDatePresentation\formatDate(), IL_CAL_UNIX, LP_STATUS_COMPLETED, LP_STATUS_FAILED, LP_STATUS_IN_PROGRESS, and LP_STATUS_NOT_ATTEMPTED.
Referenced by confirmDeleteMembersObject(), editMembersObject(), and membersObject().
ilObjGroupGUI::refuseApplicantsObject | ( | ) |
adds applicant to group as member public
Definition at line 1950 of file class.ilObjGroupGUI.php.
References $_POST, $_SESSION, and ilUtil\sendSuccess().
ilObjGroupGUI::refuseFromListObject | ( | ) |
refuse from waiting list
public
Definition at line 1364 of file class.ilObjGroupGUI.php.
References $_POST, ilObjectGUI\checkPermission(), membersObject(), ilWaitingList\removeFromList(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER.
ilObjGroupGUI::refuseSubscribersObject | ( | ) |
refuse subscribers
public
Definition at line 1268 of file class.ilObjGroupGUI.php.
References $_POST, ilObjectGUI\$lng, $usr_id, ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_REFUSED_SUBSCRIPTION_MEMBER.
ilObjGroupGUI::renderObject | ( | ) |
Render group.
Reimplemented from ilContainerGUI.
Definition at line 312 of file class.ilObjGroupGUI.php.
References $ret.
Referenced by executeCommand(), and viewObject().
ilObjGroupGUI::saveMapSettingsObject | ( | ) |
Definition at line 687 of file class.ilObjGroupGUI.php.
References $_POST, $ilCtrl, and ilUtil\stripSlashes().
ilObjGroupGUI::saveNotificationObject | ( | ) |
:TEMP: Save notification setting (from infoscreen)
Definition at line 2431 of file class.ilObjGroupGUI.php.
References $_REQUEST, and ilUtil\sendSuccess().
ilObjGroupGUI::saveObject | ( | ) |
save object
ilTree public
Reimplemented from ilObjectGUI.
Definition at line 359 of file class.ilObjGroupGUI.php.
References $_GET, $_POST, $ilErr, ilObjectGUI\$tree, ilGroupParticipants\_getInstanceByObjId(), ilObjectGUI\createObject(), GRP_REGISTRATION_DIRECT, IL_GRP_ADMIN, ilObjectGUI\putObjectInTree(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilUtil\sendSuccess(), ilContainerSortingSettings\setSortMode(), ilContainer\SORT_INHERIT, ilContainer\SORT_TITLE, ilUtil\stripSlashes(), and ilContainer\VIEW_INHERIT.
ilObjGroupGUI::sendMailToSelectedUsersObject | ( | ) |
show send mail
public
@return |
Definition at line 1489 of file class.ilObjGroupGUI.php.
References $_GET, $_POST, $usr_id, ilMailFormCall\_getRedirectTarget(), ilObjUser\_lookupLogin(), createMailSignature(), membersObject(), ilUtil\redirect(), and ilUtil\sendFailure().
ilObjGroupGUI::setShowHidePrefs | ( | ) |
set preferences (show/hide tabel content)
public
Definition at line 1529 of file class.ilObjGroupGUI.php.
References $_GET.
Referenced by membersObject().
|
protected |
set sub tabs
protected
@return |
Definition at line 2846 of file class.ilObjGroupGUI.php.
References $_GET, ilPrivacySettings\_getInstance(), ilCourseDefinedFieldDefinition\_hasFields(), and ilGoogleMapUtil\isActivated().
Referenced by confirmDeleteMembersObject(), editGroupIconsObject(), editInfoObject(), editMapSettingsObject(), editMembersObject(), editObject(), executeCommand(), mailMembersObject(), membersGalleryObject(), membersMapObject(), and membersObject().
ilObjGroupGUI::unsubscribeObject | ( | ) |
unsubscribe from group
public
Definition at line 1744 of file class.ilObjGroupGUI.php.
References ilObjectGUI\$tree, ilGroupParticipants\_getInstanceByObjId(), ilObjectGUI\cancelObject(), ilForumNotification\checkForumsExistsDelete(), ilObjectGUI\checkPermission(), ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilGroupMembershipMailNotification\TYPE_NOTIFICATION_UNSUBSCRIBE, and ilGroupMembershipMailNotification\TYPE_UNSUBSCRIBE_MEMBER.
ilObjGroupGUI::updateGroupIconsObject | ( | ) |
update group icons
public
Definition at line 592 of file class.ilObjGroupGUI.php.
References $_POST, ilObjectGUI\checkPermission(), editGroupIconsObject(), initGroupIconsForm(), and ilUtil\sendSuccess().
ilObjGroupGUI::updateGroupTypeObject | ( | ) |
change group type
public
@return |
Definition at line 457 of file class.ilObjGroupGUI.php.
References GRP_TYPE_CLOSED, GRP_TYPE_PUBLIC, and ilUtil\sendSuccess().
ilObjGroupGUI::updateInfoObject | ( | ) |
update info
public
Definition at line 797 of file class.ilObjGroupGUI.php.
References $_POST, ilObjectGUI\checkPermission(), editInfoObject(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjGroupGUI::updateMembersObject | ( | ) |
update members
public
@return |
Definition at line 1601 of file class.ilObjGroupGUI.php.
References $_POST, $usr_id, ilGroupParticipants\_getInstanceByObjId(), ilObjectGUI\checkPermission(), editMembersObject(), membersObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilGroupMembershipMailNotification\TYPE_STATUS_CHANGED.
ilObjGroupGUI::updateObject | ( | ) |
update GroupObject
bool | update group type public |
Reimplemented from ilObjectGUI.
Definition at line 483 of file class.ilObjGroupGUI.php.
References $_POST, $ilErr, ilChangeEvent\_catchupWriteEvents(), ilChangeEvent\_recordWriteEvent(), ilObjectGUI\checkPermission(), editObject(), GRP_TYPE_CLOSED, load(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilUtil\sendQuestion(), ilUtil\sendSuccess(), and ilContainerSortingSettings\setSortMode().
ilObjGroupGUI::updateStatusObject | ( | ) |
update status
public
@return |
Definition at line 1685 of file class.ilObjGroupGUI.php.
References $_POST, ilObjectGUI\checkPermission(), membersObject(), and ilUtil\sendSuccess().
ilObjGroupGUI::viewObject | ( | ) |
list childs of current object
public
Reimplemented from ilObjectGUI.
Definition at line 280 of file class.ilObjGroupGUI.php.
References $_GET, ilObjectGUI\$tree, ilLearningProgress\_tracProgress(), checkAgreement(), and renderObject().