|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilObjGroup. More...
Inheritance diagram for ilObjGroup:
Collaboration diagram for ilObjGroup:Public Member Functions | ||||
| __construct ($a_id=0, $a_call_by_reference=true) | ||||
| Constructor @access public. More... | ||||
| setInformation ($a_information) | ||||
| set information More... | ||||
| getInformation () | ||||
| get Information More... | ||||
| setGroupType ($a_type) | ||||
| set group type More... | ||||
| getGroupType () | ||||
| get group type More... | ||||
| setRegistrationType ($a_type) | ||||
| set registration type More... | ||||
| getRegistrationType () | ||||
| get registration type More... | ||||
| isRegistrationEnabled () | ||||
| is registration enabled More... | ||||
| enableUnlimitedRegistration ($a_status) | ||||
| enable unlimited registration More... | ||||
| isRegistrationUnlimited () | ||||
| is registration unlimited More... | ||||
| setRegistrationStart ($a_start) | ||||
| set registration start More... | ||||
| getRegistrationStart () | ||||
| get registration start More... | ||||
| setRegistrationEnd ($a_end) | ||||
| set registration end More... | ||||
| getRegistrationEnd () | ||||
| get registration end More... | ||||
| setPassword ($a_pass) | ||||
| set password More... | ||||
| getPassword () | ||||
| get password More... | ||||
| enableMembershipLimitation ($a_status) | ||||
| enable max member limitation More... | ||||
| isMembershipLimited () | ||||
| is max member limited More... | ||||
| setMinMembers ($a_max) | ||||
| set min members More... | ||||
| getMinMembers () | ||||
| get min members More... | ||||
| setMaxMembers ($a_max) | ||||
| set max members More... | ||||
| getMaxMembers () | ||||
| get max members More... | ||||
| enableWaitingList ($a_status) | ||||
| enable waiting list More... | ||||
| isWaitingListEnabled () | ||||
| is waiting list enabled More... | ||||
| setWaitingListAutoFill ($a_value) | ||||
| hasWaitingListAutoFill () | ||||
| setLatitude ($a_latitude) | ||||
| Set Latitude. More... | ||||
| getLatitude () | ||||
| Get Latitude. More... | ||||
| setLongitude ($a_longitude) | ||||
| Set Longitude. More... | ||||
| getLongitude () | ||||
| Get Longitude. More... | ||||
| setLocationZoom ($a_locationzoom) | ||||
| Set LocationZoom. More... | ||||
| getLocationZoom () | ||||
| Get LocationZoom. More... | ||||
| setEnableGroupMap ($a_enablemap) | ||||
| Set Enable Group Map. More... | ||||
| getEnableMap () | ||||
| Type independent wrapper. More... | ||||
| getEnableGroupMap () | ||||
| Get Enable Group Map. More... | ||||
| getRegistrationAccessCode () | ||||
| get access code More... | ||||
| setRegistrationAccessCode ($a_code) | ||||
| Set refistration access code. More... | ||||
| isRegistrationAccessCodeEnabled () | ||||
| Check if access code is enabled. More... | ||||
| enableRegistrationAccessCode ($a_status) | ||||
| En/disable registration access code. More... | ||||
| setMailToMembersType ($a_type) | ||||
| Set mail to members type. More... | ||||
| getMailToMembersType () | ||||
| Get mail to members type. More... | ||||
| setCancellationEnd (ilDate $a_value=null) | ||||
| getCancellationEnd () | ||||
| setShowMembers ($a_status) | ||||
| getShowMembers () | ||||
| getStart () | ||||
| Get group start. More... | ||||
| setStart (ilDate $start=null) | ||||
| Set start. More... | ||||
| getEnd () | ||||
| Get end. More... | ||||
| setEnd (ilDate $end=null) | ||||
| Set end. More... | ||||
| validate () | ||||
| validate group settings More... | ||||
| create () | ||||
| Create group. More... | ||||
| update () | ||||
| Update group. More... | ||||
| delete () | ||||
| delete group and all related data More... | ||||
| read () | ||||
| Read group. More... | ||||
| cloneObject ($a_target_id, $a_copy_id=0, $a_omit_tree=false) | ||||
| Clone group (no member data) More... | ||||
| cloneDependencies ($a_target_id, $a_copy_id) | ||||
| Clone object dependencies (crs items, preconditions) More... | ||||
| cloneAutoGeneratedRoles ($new_obj) | ||||
| Clone group admin and member role permissions. More... | ||||
| join ($a_user_id, $a_mem_role="") | ||||
| join Group, assigns user to role @access private More... | ||||
| getDefaultMemberRole () | ||||
| returns object id of created default member role @access public More... | ||||
| getDefaultAdminRole () | ||||
| returns object id of created default adminstrator role @access public More... | ||||
| addMember ($a_user_id, $a_mem_role) | ||||
| add Member to Group @access public More... | ||||
| leaveGroup () | ||||
| is called when a member decides to leave group @access public More... | ||||
| leave ($a_user_id) | ||||
| deassign member from group role @access private More... | ||||
| getGroupMemberIds () | ||||
| get all group Member ids regardless of role @access public More... | ||||
| getGroupMemberData ($a_mem_ids, $active=1) | ||||
| get all group Members regardless of group role. More... | ||||
| getCountMembers () | ||||
| getGroupAdminIds ($a_grpId="") | ||||
| get Group Admin Id @access public More... | ||||
| getDefaultGroupRoles ($a_grp_id="") | ||||
| get default group roles, returns the defaultlike create roles il_grp_member, il_grp_admin @access public More... | ||||
| getLocalGroupRoles ($a_translate=false) | ||||
| get ALL local roles of group, also those created and defined afterwards only fetch data once from database. More... | ||||
| getGrpStatusClosedTemplateId () | ||||
| get group status closed template @access public More... | ||||
| getGrpStatusOpenTemplateId () | ||||
| get group status open template @access public More... | ||||
| updateGroupType ($a_group_type=GRP_TYPE_OPEN) | ||||
| Change group type. More... | ||||
| initGroupStatus ($a_grpStatus=GRP_TYPE_PUBLIC) | ||||
| set group status More... | ||||
| setGroupStatus ($a_status) | ||||
| Set group status. More... | ||||
| getGroupStatus () | ||||
| get group status More... | ||||
| readGroupStatus () | ||||
| get group status, redundant method because @access public More... | ||||
| getMemberRoles ($a_user_id) | ||||
| get group member status @access public More... | ||||
| isAdmin ($a_userId) | ||||
| is Admin @access public More... | ||||
| initDefaultRoles () | ||||
| init default roles settings @access public More... | ||||
| setParentRolePermissions ($a_parent_ref) | ||||
| This method is called before "initDefaultRoles". More... | ||||
| applyDidacticTemplate ($a_tpl_id) | ||||
| Apply template. More... | ||||
| _isMember ($a_user_id, $a_ref_id, $a_field='') | ||||
| _getMembers ($a_obj_id) | ||||
| getViewMode () | ||||
| Get effective container view mode. More... | ||||
| setViewMode ($a_view_mode) | ||||
| Set group view mode. More... | ||||
| addAdditionalSubItemInformation (&$a_item_data) | ||||
| Add additional information to sub item, e.g. More... | ||||
| getMessage () | ||||
| setMessage ($a_message) | ||||
| appendMessage ($a_message) | ||||
| getMembersObject () | ||||
| Get members objects. More... | ||||
| register ($a_user_id, $a_role=IL_GRP_MEMBER, $a_force_registration=false) | ||||
| handleAutoFill () | ||||
Public Member Functions inherited from ilObject | ||||
| __construct ($a_id=0, $a_reference=true) | ||||
| Constructor @access public. More... | ||||
| withReferences () | ||||
| determines wehter objects are referenced or not (got ref ids or not) More... | ||||
| read () | ||||
| read object data from db into object More... | ||||
| getId () | ||||
| get object id @access public More... | ||||
| setId ($a_id) | ||||
| set object id @access public More... | ||||
| setRefId ($a_id) | ||||
| set reference id @access public More... | ||||
| getRefId () | ||||
| get reference id @access public More... | ||||
| getType () | ||||
| get object type @access public More... | ||||
| setType ($a_type) | ||||
| set object type @access public More... | ||||
| getPresentationTitle () | ||||
| get presentation title Normally same as title Overwritten for sessions More... | ||||
| getTitle () | ||||
| get object title @access public More... | ||||
| getUntranslatedTitle () | ||||
| get untranslated object title @access public More... | ||||
| setTitle ($a_title) | ||||
| set object title More... | ||||
| getDescription () | ||||
| get object description More... | ||||
| setDescription ($a_desc) | ||||
| set object description More... | ||||
| getLongDescription () | ||||
| get object long description (stored in object_description) More... | ||||
| getImportId () | ||||
| get import id More... | ||||
| setImportId ($a_import_id) | ||||
| set import id More... | ||||
| setOfflineStatus ($a_status) | ||||
| Set offline status. More... | ||||
| getOfflineStatus () | ||||
| Get offline status. More... | ||||
| supportsOfflineHandling () | ||||
| Check whether object supports offline handling. More... | ||||
| getOwner () | ||||
| get object owner More... | ||||
| getOwnerName () | ||||
| setOwner ($a_owner) | ||||
| set object owner More... | ||||
| getCreateDate () | ||||
| get create date @access public More... | ||||
| getLastUpdateDate () | ||||
| get last update date @access public More... | ||||
| getDiskUsage () | ||||
| Gets the disk usage of the object in bytes. More... | ||||
| create () | ||||
| create More... | ||||
| update () | ||||
| update object in db More... | ||||
| MDUpdateListener ($a_element) | ||||
| Meta data update listener. More... | ||||
| createMetaData () | ||||
| create meta data entry More... | ||||
| updateMetaData () | ||||
| update meta data entry More... | ||||
| deleteMetaData () | ||||
| delete meta data entry More... | ||||
| updateOwner () | ||||
| update owner of object in db More... | ||||
| putInTree ($a_parent_ref) | ||||
| maybe this method should be in tree object!? More... | ||||
| setPermissions ($a_parent_ref) | ||||
| set permissions of object More... | ||||
| setParentRolePermissions ($a_parent_ref) | ||||
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. More... | ||||
| createReference () | ||||
| creates reference for object More... | ||||
| countReferences () | ||||
| count references of object More... | ||||
| initDefaultRoles () | ||||
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) @access public More... | ||||
| applyDidacticTemplate ($a_tpl_id) | ||||
| Apply template. More... | ||||
| setRegisterMode ($a_bool) | ||||
| isUserRegistered ($a_user_id=0) | ||||
| requireRegistration () | ||||
| getXMLZip () | ||||
| getHTMLDirectory () | ||||
| appendCopyInfo ($a_target_id, $a_copy_id) | ||||
| Prepend Copy info if object with same name exists in that container. More... | ||||
| cloneDependencies ($a_target_id, $a_copy_id) | ||||
| Clone object dependencies. More... | ||||
| cloneMetaData ($target_obj) | ||||
| Copy meta data. More... | ||||
| getPossibleSubObjects ($a_filter=true) | ||||
| get all possible subobjects of this type the object can decide which types of subobjects are possible jut in time overwrite if the decision distinguish from standard model More... | ||||
Public Member Functions inherited from ilContainer | ||||
| __construct ($a_id=0, $a_reference=true) | ||||
| Constructor @access public. More... | ||||
| getObjectTranslation () | ||||
| Get object translation. More... | ||||
| setObjectTranslation (ilObjectTranslation $obj_trans) | ||||
| Get object translation. More... | ||||
| createContainerDirectory () | ||||
| Create directory for the container. More... | ||||
| getContainerDirectory () | ||||
| Get the container directory. More... | ||||
| setHiddenFilesFound ($a_hiddenfilesfound) | ||||
| Set Found hidden files (set by getSubItems). More... | ||||
| getHiddenFilesFound () | ||||
| Get Found hidden files (set by getSubItems). More... | ||||
| getStyleSheetId () | ||||
| get ID of assigned style sheet object More... | ||||
| setStyleSheetId ($a_style_id) | ||||
| set ID of assigned style sheet object More... | ||||
| setNewsTimeline ($a_val) | ||||
| Set news timeline. More... | ||||
| getNewsTimeline () | ||||
| Get news timeline. More... | ||||
| setNewsTimelineAutoEntries ($a_val) | ||||
| Set news timeline auto entries. More... | ||||
| getNewsTimelineAutoEntries () | ||||
| Get news timeline auto entries. More... | ||||
| setNewsTimelineLandingPage ($a_val) | ||||
| Set news timline is landing page. More... | ||||
| getNewsTimelineLandingPage () | ||||
| Get news timline is landing page. More... | ||||
| isNewsTimelineEffective () | ||||
| Is news timeline effective? More... | ||||
| isNewsTimelineLandingPageEffective () | ||||
| Is news timeline landing page effective? More... | ||||
| setNewsBlockActivated ($a_val) | ||||
| Set news block activated. More... | ||||
| getNewsBlockActivated () | ||||
| Get news block activated. More... | ||||
| setUseNews ($a_val) | ||||
| Set use news. More... | ||||
| getUseNews () | ||||
| Get use news. More... | ||||
| cloneDependencies ($a_target_id, $a_copy_id) | ||||
| Clone object dependencies (container sorting) More... | ||||
| cloneAllObject ($session_id, $client_id, $new_type, $ref_id, $clone_source, $options, $soap_call=false, $a_submode=1) | ||||
| clone all objects according to this container More... | ||||
| delete () | ||||
| delete category and all related data More... | ||||
| getViewMode () | ||||
| Get container view mode. More... | ||||
| getOrderType () | ||||
| Get order type default implementation. More... | ||||
| setOrderType ($a_value) | ||||
| getSubItems ($a_admin_panel_enabled=false, $a_include_side_block=false, $a_get_single=0) | ||||
| Get subitems of container. More... | ||||
| gotItems () | ||||
| Check whether we got any items. More... | ||||
| addAdditionalSubItemInformation (&$object) | ||||
| Add additional information to sub item, e.g. More... | ||||
| getGroupedObjTypes () | ||||
| Get grouped repository object types. More... | ||||
| enablePageEditing () | ||||
| Check whether page editing is allowed for container. More... | ||||
| create () | ||||
| Create. More... | ||||
| putInTree ($a_parent_ref) | ||||
maybe this method should be in tree object!?
| ||||
| update () | ||||
| Update. More... | ||||
| read () | ||||
| read More... | ||||
| readContainerSettings () | ||||
| Read container settings. More... | ||||
| removeTranslations () | ||||
| Remove all translations of container. More... | ||||
| deleteTranslation ($a_lang) | ||||
| Delete translation. More... | ||||
| addTranslation ($a_title, $a_desc, $a_lang, $a_lang_default) | ||||
| Add translation. More... | ||||
Public Member Functions inherited from ilMembershipRegistrationCodes | ||||
| register ($a_user_id) | ||||
| Register an user. More... | ||||
Static Public Member Functions | |
| static | lookupGroupTye ($a_id) |
| Lookup group type. More... | |
| static | lookupGroupStatusTemplateId ($a_obj_id) |
| @global $ilDB $ilDB More... | |
| static | _lookupIdByTitle ($a_title) |
| static | lookupViewMode ($a_obj_id) |
| lookup view mode @global $ilDB More... | |
| static | translateViewMode ($a_obj_id, $a_view_mode, $a_ref_id=null) |
| translate view mode More... | |
| static | lookupObjectsByCode ($a_code) |
| static | mayLeave ($a_group_id, $a_user_id=null, &$a_date=null) |
| static | findGroupsWithNotEnoughMembers () |
| Minimum members check @global $ilDB $ilDB. More... | |
| static | lookupShowMembersEnabled (int $a_obj_id) |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId ($a_import_id) |
| static | _lookupImportId ($a_obj_id) |
| static | _lookupOwnerName ($a_owner_id) |
| lookup owner name for owner id More... | |
| static | _getIdForImportId ($a_import_id) |
| get current object id for import id (static) More... | |
| static | _getAllReferences ($a_id) |
| get all reference ids of object More... | |
| static | _lookupTitle ($a_id) |
| lookup object title More... | |
| static | lookupOfflineStatus ($a_obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner ($a_id) |
| lookup object owner More... | |
| static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
| static | _lookupDescription ($a_id) |
| lookup object description More... | |
| static | _lookupLastUpdate ($a_id, $a_as_string=false) |
| lookup last update More... | |
| static | _getLastUpdateOfObjects ($a_objs) |
| Get last update for a set of media objects. More... | |
| static | _lookupObjId ($a_id) |
| static | _setDeletedDate ($a_ref_id) |
| only called in ilTree::saveSubTree More... | |
| static | setDeletedDates ($a_ref_ids) |
| Set deleted date. More... | |
| static | _resetDeletedDate ($a_ref_id) |
| only called in ilObjectGUI::insertSavedNodes More... | |
| static | _lookupDeletedDate ($a_ref_id) |
| only called in ilObjectGUI::insertSavedNodes More... | |
| static | _writeTitle ($a_obj_id, $a_title) |
| write title to db (static) More... | |
| static | _writeDescription ($a_obj_id, $a_desc) |
| write description to db (static) More... | |
| static | _writeImportId ($a_obj_id, $a_import_id) |
| write import id to db (static) More... | |
| static | _lookupType ($a_id, $a_reference=false) |
| lookup object type More... | |
| static | _isInTrash ($a_ref_id) |
| checks wether object is in trash More... | |
| static | _hasUntrashedReference ($a_obj_id) |
| checks wether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId ($a_ref_id) |
| lookup object id More... | |
| static | _getObjectsDataForType ($a_type, $a_omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists ($a_id, $a_reference=false, $a_type=null) |
| checks if an object exists in object_data@access public More... | |
| static | _getObjectsByType ($a_obj_type="", $a_owner="") |
| Get objects by type. More... | |
| static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies ($a_obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $a_obj_ids) |
| Get long description data. More... | |
| static | getAllOwnedRepositoryObjects ($a_user_id) |
| Get all ids of objects user owns. More... | |
| static | fixMissingTitles ($a_type, array &$a_obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate ($a_id) |
| Lookup creation date. More... | |
| static | hasAutoRating ($a_type, $a_ref_id) |
| Check if auto rating is active for parent group/course. More... | |
Static Public Member Functions inherited from ilContainer | |
| static | _getContainerDirectory ($a_id) |
| Get the container directory. More... | |
| static | _lookupContainerSetting ($a_id, $a_keyword, $a_default_value=null) |
| Lookup a container setting. More... | |
| static | _writeContainerSetting ($a_id, $a_keyword, $a_value) |
| static | _getContainerSettings ($a_id) |
| static | _deleteContainerSettings ($a_id, $a_keyword=null, $a_keyword_like=false) |
| static | _exportContainerSettings (ilXmlWriter $a_xml, $a_obj_id) |
| static | getCompleteDescriptions (array $objects) |
| overwrites description fields to long or short description in an assoc array keys needed (obj_id and description) More... | |
| static | lookupObjectsByCode ($a_code) |
| Lookup all objects with reg_access_code enabled and. More... | |
Protected Member Functions | |
| prepareAppointments ($a_mode='create') | |
| Prepare calendar appointments. More... | |
| initParticipants () | |
| init participants object More... | |
Protected Attributes | |
| $information | |
| $group_type = null | |
| $reg_type = GRP_REGISTRATION_DIRECT | |
| $reg_enabled = true | |
| $reg_unlimited = true | |
| $reg_start = null | |
| $reg_end = null | |
| $reg_password = '' | |
| $reg_membership_limitation = false | |
| $reg_min_members = 0 | |
| $reg_max_members = 0 | |
| $waiting_list = false | |
| $auto_fill_from_waiting | |
| $leave_end | |
| $show_members = 1 | |
| $start = null | |
| $end = null | |
Protected Attributes inherited from ilObject | |
| $objDefinition | |
| $db | |
| $log | |
| $error | |
| $tree | |
| $app_event_handler | |
| $rbacadmin | |
| $rbacreview | |
Protected Attributes inherited from ilContainer | |
| $db | |
| $log | |
| $access | |
| $error | |
| $rbacsystem | |
| $tree | |
| $user | |
| $obj_definition | |
| $order_type = 0 | |
| $hiddenfilesfound = false | |
| $news_timeline = false | |
| $news_timeline_auto_entries = false | |
| $setting | |
| $obj_trans = null | |
Private Attributes | |
| $latitude = '' | |
| $longitude = '' | |
| $locationzoom = 0 | |
| $enablemap = 0 | |
| $reg_access_code = '' | |
| $reg_access_code_enabled = false | |
| $view_mode = ilContainer::VIEW_DEFAULT | |
| $mail_members = self::MAIL_ALLOWED_ALL | |
Additional Inherited Members | |
Static Public Attributes inherited from ilContainer | |
| static | $data_preloaded = false |
| ilObjGroup::__construct | ( | $a_id = 0, |
|
$a_call_by_reference = true |
|||
| ) |
Constructor @access public.
| integer | reference_id or object_id |
| boolean | treat the id as reference_id (true) or object_id (false) |
Reimplemented from ilContainer.
Definition at line 113 of file class.ilObjGroup.php.
References $DIC, ilContainer\$tree, and ilObject\setRegisterMode().
Here is the call graph for this function:| ilObjGroup::_getMembers | ( | $a_obj_id | ) |
Definition at line 1734 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacreview, ilObject\$ref_id, $users, and ilObject\_getAllReferences().
Referenced by _isMember().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::_isMember | ( | $a_user_id, | |
| $a_ref_id, | |||
$a_field = '' |
|||
| ) |
Definition at line 1685 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, ilObject\$rbacreview, $res, _getMembers(), ilObjectFactory\getInstanceByObjId(), and ilUtil\quoteArray().
Referenced by ilObjCourseGrouping\_checkGroupingDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1669 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMailAddressTypeHelperImpl\getGroupObjIdByTitle().
Here is the caller graph for this function:| ilObjGroup::addAdditionalSubItemInformation | ( | & | $a_item_data | ) |
Add additional information to sub item, e.g.
used in courses for timings information etc.
Reimplemented from ilContainer.
Definition at line 1862 of file class.ilObjGroup.php.
References ilObjectActivation\addAdditionalSubItemInformation().
Here is the call graph for this function:| ilObjGroup::addMember | ( | $a_user_id, | |
| $a_mem_role | |||
| ) |
add Member to Group @access public
| integer | user_id |
| integer | member role_id of local group_role |
Definition at line 1063 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, and join().
Here is the call graph for this function:| ilObjGroup::appendMessage | ( | $a_message | ) |
Definition at line 1876 of file class.ilObjGroup.php.
References getMessage().
Here is the call graph for this function:| ilObjGroup::applyDidacticTemplate | ( | $a_tpl_id | ) |
Apply template.
| int | $a_tpl_id |
Reimplemented from ilObject.
Definition at line 1658 of file class.ilObjGroup.php.
References ilObject\getRefId(), and setParentRolePermissions().
Referenced by updateGroupType().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::cloneAutoGeneratedRoles | ( | $new_obj | ) |
Clone group admin and member role permissions.
@access public
| object | new group object |
Definition at line 988 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, ilObject\$rbacreview, getDefaultAdminRole(), getDefaultMemberRole(), ilLoggerFactory\getLogger(), and ilObject\getRefId().
Referenced by cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::cloneDependencies | ( | $a_target_id, | |
| $a_copy_id | |||
| ) |
Clone object dependencies (crs items, preconditions)
@access public
| int | target ref id of new course |
| int | copy id |
Reimplemented from ilContainer.
Definition at line 960 of file class.ilObjGroup.php.
References $DIC, ilContainer\$tree, ilObjCourseGrouping\_getGroupings(), ilObjectActivation\cloneDependencies(), ilObject\getId(), ilLoggerFactory\getLogger(), and ilObject\getRefId().
Here is the call graph for this function:| ilObjGroup::cloneObject | ( | $a_target_id, | |
$a_copy_id = 0, |
|||
$a_omit_tree = false |
|||
| ) |
Clone group (no member data)
@access public
| int | target ref_id |
| int | copy id |
Definition at line 884 of file class.ilObjGroup.php.
References $DIC, $ilDB, $ilSetting, $ilUser, ilCourseDefinedFieldDefinition\_clone(), ilGroupParticipants\_getInstanceByObjId(), cloneAutoGeneratedRoles(), ilObject\cloneMetaData(), ilMembershipRegistrationCodeUtils\generateCode(), getCancellationEnd(), getEnableGroupMap(), getEnd(), ilObject\getId(), getInformation(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getMaxMembers(), getMinMembers(), getPassword(), ilObject\getRefId(), getRegistrationEnd(), getRegistrationStart(), getRegistrationType(), getShowMembers(), getStart(), hasWaitingListAutoFill(), IL_GRP_ADMIN, isMembershipLimited(), isRegistrationAccessCodeEnabled(), isRegistrationUnlimited(), isWaitingListEnabled(), and ilDidacticTemplateObjSettings\lookupTemplateId().
Here is the call graph for this function:| ilObjGroup::create | ( | ) |
Create group.
Reimplemented from ilContainer.
Definition at line 674 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, ilObject\createMetaData(), getCancellationEnd(), getEnableGroupMap(), getEnd(), getGroupType(), ilObject\getId(), getInformation(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getMaxMembers(), getMinMembers(), getPassword(), getRegistrationAccessCode(), getRegistrationEnd(), getRegistrationStart(), getRegistrationType(), getStart(), hasWaitingListAutoFill(), IL_CAL_DATETIME, IL_CAL_UNIX, isMembershipLimited(), isRegistrationAccessCodeEnabled(), isRegistrationEnabled(), isRegistrationUnlimited(), isWaitingListEnabled(), and prepareAppointments().
Here is the call graph for this function:| ilObjGroup::delete | ( | ) |
delete group and all related data
@access public
Reimplemented from ilContainer.
Definition at line 796 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, ilParticipants\_deleteAllEntries(), ilObject\getId(), and prepareAppointments().
Here is the call graph for this function:| ilObjGroup::enableMembershipLimitation | ( | $a_status | ) |
enable max member limitation
@access public
| bool | status |
Definition at line 326 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::enableRegistrationAccessCode | ( | $a_status | ) |
En/disable registration access code.
| object | $a_status |
Definition at line 542 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::enableUnlimitedRegistration | ( | $a_status | ) |
enable unlimited registration
@access public
| bool |
Definition at line 234 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::enableWaitingList | ( | $a_status | ) |
enable waiting list
@access public
| bool |
Definition at line 393 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:
|
static |
Minimum members check @global $ilDB $ilDB.
Definition at line 2135 of file class.ilObjGroup.php.
References $GLOBALS, $ilDB, $res, $row, ilContainer\$tree, ilObject\_getAllReferences(), IL_CAL_DATETIME, IL_CAL_DAY, and IL_CAL_UNIX.
Referenced by ilMembershipCronMinMembers\getGroups().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::getCancellationEnd | ( | ) |
Definition at line 571 of file class.ilObjGroup.php.
References $leave_end.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjGroup::getCountMembers | ( | ) |
Definition at line 1202 of file class.ilObjGroup.php.
References getGroupMemberIds().
Here is the call graph for this function:| ilObjGroup::getDefaultAdminRole | ( | ) |
returns object id of created default adminstrator role @access public
Definition at line 1050 of file class.ilObjGroup.php.
References getLocalGroupRoles(), and ilObject\getRefId().
Referenced by cloneAutoGeneratedRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::getDefaultGroupRoles | ( | $a_grp_id = "" | ) |
get default group roles, returns the defaultlike create roles il_grp_member, il_grp_admin @access public
| returns | the obj_ids of group specific roles(il_grp_member,il_grp_admin) |
Definition at line 1240 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, ilObject\$rbacreview, and ilObject\getRefId().
Referenced by getGroupAdminIds(), isAdmin(), and readGroupStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::getDefaultMemberRole | ( | ) |
returns object id of created default member role @access public
Definition at line 1039 of file class.ilObjGroup.php.
References getLocalGroupRoles(), and ilObject\getRefId().
Referenced by cloneAutoGeneratedRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::getEnableGroupMap | ( | ) |
Get Enable Group Map.
Definition at line 504 of file class.ilObjGroup.php.
References $enablemap.
Referenced by cloneObject(), create(), getEnableMap(), and update().
Here is the caller graph for this function:| ilObjGroup::getEnableMap | ( | ) |
Type independent wrapper.
Definition at line 494 of file class.ilObjGroup.php.
References getEnableGroupMap().
Here is the call graph for this function:| ilObjGroup::getEnd | ( | ) |
Get end.
Definition at line 607 of file class.ilObjGroup.php.
References $end.
Referenced by cloneObject(), create(), prepareAppointments(), and update().
Here is the caller graph for this function:| ilObjGroup::getGroupAdminIds | ( | $a_grpId = "" | ) |
get Group Admin Id @access public
| integer | group id |
| returns | userids that are assigned to a group administrator! role |
Definition at line 1213 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacreview, getDefaultGroupRoles(), and ilObject\getRefId().
Referenced by leaveGroup().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::getGroupMemberData | ( | $a_mem_ids, | |
$active = 1 |
|||
| ) |
get all group Members regardless of group role.
fetch all users data in one shot to improve performance @access public
| array | of user ids |
Definition at line 1167 of file class.ilObjGroup.php.
References $DIC, $ilBench, $ilDB, $r, ilObject\$rbacadmin, ilObject\$rbacreview, $row, ilDBConstants\FETCHMODE_OBJECT, and ilUtil\quoteArray().
Here is the call graph for this function:| ilObjGroup::getGroupMemberIds | ( | ) |
get all group Member ids regardless of role @access public
Definition at line 1138 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, ilObject\$rbacreview, and getLocalGroupRoles().
Referenced by getCountMembers(), and leaveGroup().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::getGroupStatus | ( | ) |
get group status
@access public
| int | group status |
Definition at line 1506 of file class.ilObjGroup.php.
| ilObjGroup::getGroupType | ( | ) |
get group type
@access public
Definition at line 188 of file class.ilObjGroup.php.
References $group_type.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::getGrpStatusClosedTemplateId | ( | ) |
get group status closed template @access public
| return | obj_id of roletemplate containing permissionsettings for a closed group |
Definition at line 1313 of file class.ilObjGroup.php.
References $res, $row, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by initGroupStatus().
Here is the caller graph for this function:| ilObjGroup::getGrpStatusOpenTemplateId | ( | ) |
get group status open template @access public
| return | obj_id of roletemplate containing permissionsettings for an open group |
Definition at line 1327 of file class.ilObjGroup.php.
References $res, $row, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by initGroupStatus(), and setParentRolePermissions().
Here is the caller graph for this function:| ilObjGroup::getInformation | ( | ) |
get Information
@access public
return string information
Definition at line 166 of file class.ilObjGroup.php.
References $information.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjGroup::getLatitude | ( | ) |
Get Latitude.
Definition at line 435 of file class.ilObjGroup.php.
References $latitude.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjGroup::getLocalGroupRoles | ( | $a_translate = false | ) |
get ALL local roles of group, also those created and defined afterwards only fetch data once from database.
info is stored in object variable @access public
Definition at line 1279 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, ilObject\$rbacreview, ilObjRole\_getTranslation(), and ilObject\getRefId().
Referenced by getDefaultAdminRole(), getDefaultMemberRole(), and getGroupMemberIds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::getLocationZoom | ( | ) |
Get LocationZoom.
Definition at line 475 of file class.ilObjGroup.php.
References $locationzoom.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjGroup::getLongitude | ( | ) |
Get Longitude.
Definition at line 455 of file class.ilObjGroup.php.
References $longitude.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjGroup::getMailToMembersType | ( | ) |
Get mail to members type.
Definition at line 561 of file class.ilObjGroup.php.
References $mail_members.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjGroup::getMaxMembers | ( | ) |
get max members
@access public
Definition at line 381 of file class.ilObjGroup.php.
References $reg_max_members.
Referenced by cloneObject(), create(), handleAutoFill(), register(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::getMemberRoles | ( | $a_user_id | ) |
get group member status @access public
| integer | user_id |
Definition at line 1544 of file class.ilObjGroup.php.
References $DIC, $ilBench, ilObject\$rbacadmin, and ilObject\$rbacreview.
Referenced by leave().
Here is the caller graph for this function:| ilObjGroup::getMembersObject | ( | ) |
Get members objects.
Definition at line 1966 of file class.ilObjGroup.php.
References $members_obj, and initParticipants().
Referenced by handleAutoFill().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::getMessage | ( | ) |
Definition at line 1868 of file class.ilObjGroup.php.
References $message.
Referenced by appendMessage().
Here is the caller graph for this function:| ilObjGroup::getMinMembers | ( | ) |
get min members
@access public
Definition at line 359 of file class.ilObjGroup.php.
References $reg_min_members.
Referenced by cloneObject(), create(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::getPassword | ( | ) |
get password
@access public
Definition at line 314 of file class.ilObjGroup.php.
References $reg_password.
Referenced by cloneObject(), create(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::getRegistrationAccessCode | ( | ) |
get access code
Definition at line 513 of file class.ilObjGroup.php.
References $reg_access_code.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::getRegistrationEnd | ( | ) |
get registration end
@access public
Definition at line 292 of file class.ilObjGroup.php.
References $reg_end.
Referenced by cloneObject(), create(), prepareAppointments(), register(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::getRegistrationStart | ( | ) |
get registration start
@access public
Definition at line 268 of file class.ilObjGroup.php.
References $reg_start.
Referenced by cloneObject(), create(), prepareAppointments(), register(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::getRegistrationType | ( | ) |
get registration type
@access public
Definition at line 211 of file class.ilObjGroup.php.
References $reg_type.
Referenced by cloneObject(), create(), isRegistrationEnabled(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::getShowMembers | ( | ) |
Definition at line 580 of file class.ilObjGroup.php.
References $show_members.
Referenced by cloneObject(), and update().
Here is the caller graph for this function:| ilObjGroup::getStart | ( | ) |
Get group start.
Definition at line 589 of file class.ilObjGroup.php.
References $start.
Referenced by cloneObject(), create(), prepareAppointments(), and update().
Here is the caller graph for this function:| ilObjGroup::getViewMode | ( | ) |
Get effective container view mode.
Reimplemented from ilContainer.
Definition at line 1758 of file class.ilObjGroup.php.
References ilContainer\$tree, $view_mode, ilObject\_lookupObjId(), ilObjCourseAccess\_lookupViewMode(), ilObject\getId(), lookupViewMode(), ilContainer\VIEW_BY_TYPE, ilContainer\VIEW_DEFAULT, ilContainer\VIEW_INHERIT, ilContainer\VIEW_SESSIONS, and ilContainer\VIEW_SIMPLE.
Here is the call graph for this function:| ilObjGroup::handleAutoFill | ( | ) |
Definition at line 2072 of file class.ilObjGroup.php.
References $waiting_list, ilObject\getId(), ilObjectFactory\getInstanceByObjId(), getMaxMembers(), getMembersObject(), ilObject\getRefId(), hasWaitingListAutoFill(), IL_GRP_MEMBER, isWaitingListEnabled(), ilParticipants\lookupNumberOfMembers(), and ilGroupMembershipMailNotification\TYPE_ACCEPTED_SUBSCRIPTION_MEMBER.
Here is the call graph for this function:| ilObjGroup::hasWaitingListAutoFill | ( | ) |
Definition at line 415 of file class.ilObjGroup.php.
References $auto_fill_from_waiting.
Referenced by cloneObject(), create(), handleAutoFill(), and update().
Here is the caller graph for this function:| ilObjGroup::initDefaultRoles | ( | ) |
init default roles settings @access public
Reimplemented from ilObject.
Definition at line 1588 of file class.ilObjGroup.php.
References ilObjRole\createDefaultRole(), ilObject\getId(), and ilObject\getRefId().
Here is the call graph for this function:| ilObjGroup::initGroupStatus | ( | $a_grpStatus = GRP_TYPE_PUBLIC | ) |
set group status
Grants permissions on the group object for all parent roles. Each permission is granted by computing the intersection of the role template il_grp_status_open/_closed and the permission template of the parent role.
Creates linked roles in the local role folder object for all parent roles and initializes their permission templates. Each permission template is initialized by computing the intersection of the role template il_grp_status_open/_closed and the permission template of the parent role.
@access public
| integer | group status GRP_TYPE_PUBLIC or GRP_TYPE_CLOSED |
Definition at line 1413 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, ilObject\$rbacreview, ilContainer\$rbacsystem, $template_id, getGrpStatusClosedTemplateId(), getGrpStatusOpenTemplateId(), ilObject\getRefId(), GRP_TYPE_CLOSED, and GRP_TYPE_PUBLIC.
Here is the call graph for this function:
|
protected |
init participants object
@access protected
Definition at line 1955 of file class.ilObjGroup.php.
References ilGroupParticipants\_getInstanceByObjId(), and ilObject\getId().
Referenced by getMembersObject(), and read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::isAdmin | ( | $a_userId | ) |
is Admin @access public
| integer | user_id |
| boolean,true | if user is group administrator |
Definition at line 1569 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacreview, and getDefaultGroupRoles().
Referenced by leaveGroup().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::isMembershipLimited | ( | ) |
is max member limited
@access public
Definition at line 337 of file class.ilObjGroup.php.
References $reg_membership_limitation.
Referenced by cloneObject(), create(), register(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::isRegistrationAccessCodeEnabled | ( | ) |
Check if access code is enabled.
Definition at line 532 of file class.ilObjGroup.php.
References $reg_access_code_enabled.
Referenced by cloneObject(), create(), and update().
Here is the caller graph for this function:| ilObjGroup::isRegistrationEnabled | ( | ) |
is registration enabled
@access public
Definition at line 222 of file class.ilObjGroup.php.
References getRegistrationType(), and GRP_REGISTRATION_DEACTIVATED.
Referenced by create(), register(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::isRegistrationUnlimited | ( | ) |
is registration unlimited
@access public
Definition at line 245 of file class.ilObjGroup.php.
References $reg_unlimited.
Referenced by cloneObject(), create(), prepareAppointments(), register(), and update().
Here is the caller graph for this function:| ilObjGroup::isWaitingListEnabled | ( | ) |
is waiting list enabled
@access public
return bool
Definition at line 405 of file class.ilObjGroup.php.
References $waiting_list.
Referenced by cloneObject(), create(), handleAutoFill(), register(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::join | ( | $a_user_id, | |
$a_mem_role = "" |
|||
| ) |
join Group, assigns user to role @access private
| integer | member status = obj_id of local_group_role |
Definition at line 1018 of file class.ilObjGroup.php.
References $DIC, and ilObject\$rbacadmin.
Referenced by addMember().
Here is the caller graph for this function:| ilObjGroup::leave | ( | $a_user_id | ) |
deassign member from group role @access private
Definition at line 1113 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, and getMemberRoles().
Referenced by leaveGroup().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::leaveGroup | ( | ) |
is called when a member decides to leave group @access public
| integer | user-Id |
| integer | group-Id |
Definition at line 1085 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, ilObject\$rbacreview, getGroupAdminIds(), getGroupMemberIds(), ilObject\getRefId(), isAdmin(), and leave().
Here is the call graph for this function:
|
static |
@global $ilDB $ilDB
| int | $a_obj_id |
Definition at line 1342 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, $row, ilObject\$type, ilDBConstants\FETCHMODE_ASSOC, GRP_TYPE_CLOSED, and lookupGroupTye().
Referenced by ilRbacAdmin\adjustMovedObjectPermissions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup group type.
| object | $a_id |
Definition at line 131 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and GRP_TYPE_UNKNOWN.
Referenced by ilObjRole\createPermissionIntersection(), and lookupGroupStatusTemplateId().
Here is the caller graph for this function:
|
static |
Implements ilMembershipRegistrationCodes.
Definition at line 1979 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMembershipRegistrationCodeUtils\lookupObjectsByCode().
Here is the caller graph for this function:
|
static |
Definition at line 2180 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, and $row.
Referenced by ilParticipants\hasParticipantListAccess().
Here is the caller graph for this function:
|
static |
lookup view mode @global $ilDB
Definition at line 1797 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, $row, $view_mode, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by getViewMode(), and ilObjGroupGUI\initForm().
Here is the caller graph for this function:
|
static |
Definition at line 2104 of file class.ilObjGroup.php.
References $DIC, $ilDB, $ilUser, $row, and IL_CAL_DATE.
Referenced by ilObjGroupAccess\_checkAccess().
Here is the caller graph for this function:
|
protected |
Prepare calendar appointments.
@access protected
| string | mode UPDATE|CREATE|DELETE |
Definition at line 1891 of file class.ilObjGroup.php.
References getEnd(), ilObject\getLongDescription(), getRegistrationEnd(), getRegistrationStart(), getStart(), ilObject\getTitle(), IL_CAL_TRANSLATION_SYSTEM, and isRegistrationUnlimited().
Referenced by create(), delete(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::read | ( | ) |
Read group.
Reimplemented from ilContainer.
Definition at line 831 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, $row, ilContainerSortingSettings\_lookupSortMode(), enableMembershipLimitation(), enableRegistrationAccessCode(), enableUnlimitedRegistration(), enableWaitingList(), ilDBConstants\FETCHMODE_OBJECT, ilObject\getId(), IL_CAL_DATETIME, IL_CAL_UNIX, initParticipants(), setCancellationEnd(), setEnableGroupMap(), setEnd(), setGroupType(), setInformation(), setLatitude(), setLocationZoom(), setLongitude(), setMailToMembersType(), setMaxMembers(), setMinMembers(), ilContainer\setOrderType(), setPassword(), setRegistrationAccessCode(), setRegistrationEnd(), setRegistrationStart(), setRegistrationType(), setShowMembers(), setStart(), setViewMode(), and setWaitingListAutoFill().
Here is the call graph for this function:| ilObjGroup::readGroupStatus | ( | ) |
get group status, redundant method because @access public
| return | group status[0=public|2=closed] |
Definition at line 1516 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacreview, ilContainer\$rbacsystem, getDefaultGroupRoles(), ilObject\getRefId(), GRP_TYPE_CLOSED, and GRP_TYPE_PUBLIC.
Here is the call graph for this function:| ilObjGroup::register | ( | $a_user_id, | |
$a_role = IL_GRP_MEMBER, |
|||
$a_force_registration = false |
|||
| ) |
| int | user_id |
| int | role |
| bool | force registration and do not check registration constraints. |
Definition at line 2003 of file class.ilObjGroup.php.
References $end, $info, $start, $time, $waiting_list, ilDateTime\_after(), ilDateTime\_before(), ilGroupParticipants\_getInstanceByObjId(), ilObjGroupAccess\_usingRegistrationCode(), ilMembershipRegistrationException\ADDED_TO_WAITINGLIST, ilObject\getId(), getMaxMembers(), getRegistrationEnd(), getRegistrationStart(), IL_CAL_UNIX, isMembershipLimited(), isRegistrationEnabled(), isRegistrationUnlimited(), isWaitingListEnabled(), ilMembershipRegistrationException\OBJECT_IS_FULL, ilMembershipRegistrationException\OUT_OF_REGISTRATION_PERIOD, ilMembershipRegistrationException\REGISTRATION_CODE_DISABLED, ilGroupMembershipMailNotification\TYPE_ADMISSION_MEMBER, ilGroupMembershipMailNotification\TYPE_NOTIFICATION_REGISTRATION, and ilGroupMembershipMailNotification\TYPE_WAITING_LIST_MEMBER.
Here is the call graph for this function:| ilObjGroup::setCancellationEnd | ( | ilDate | $a_value = null | ) |
Definition at line 566 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setEnableGroupMap | ( | $a_enablemap | ) |
Set Enable Group Map.
| boolean | $a_enablemap | Enable Group Map |
Definition at line 485 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setEnd | ( | ilDate | $end = null | ) |
| ilObjGroup::setGroupStatus | ( | $a_status | ) |
Set group status.
@access public
| int | group status[0=public|2=closed] |
Definition at line 1494 of file class.ilObjGroup.php.
| ilObjGroup::setGroupType | ( | $a_type | ) |
set group type
@access public
| int | type |
Definition at line 177 of file class.ilObjGroup.php.
References $a_type.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setInformation | ( | $a_information | ) |
set information
@access public
| string | information |
Definition at line 154 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setLatitude | ( | $a_latitude | ) |
Set Latitude.
| string | $a_latitude | Latitude |
Definition at line 425 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setLocationZoom | ( | $a_locationzoom | ) |
Set LocationZoom.
| int | $a_locationzoom | LocationZoom |
Definition at line 465 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setLongitude | ( | $a_longitude | ) |
Set Longitude.
| string | $a_longitude | Longitude |
Definition at line 445 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setMailToMembersType | ( | $a_type | ) |
Set mail to members type.
| type | $a_type |
Definition at line 552 of file class.ilObjGroup.php.
References $a_type.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setMaxMembers | ( | $a_max | ) |
set max members
@access public
| int | max members |
Definition at line 370 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setMessage | ( | $a_message | ) |
Definition at line 1872 of file class.ilObjGroup.php.
| ilObjGroup::setMinMembers | ( | $a_max | ) |
set min members
@access public
| int | min members |
Definition at line 348 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setParentRolePermissions | ( | $a_parent_ref | ) |
This method is called before "initDefaultRoles".
Therefore no local group roles are created.
Grants permissions on the group object for all parent roles. Each permission is granted by computing the intersection of the template il_grp_status and the permission template of the parent role.
| int | parent ref id |
Reimplemented from ilObject.
Definition at line 1619 of file class.ilObjGroup.php.
References $GLOBALS, ilObject\$rbacadmin, ilObject\$rbacreview, getGrpStatusOpenTemplateId(), ilObject\getRefId(), and ilObject\getType().
Referenced by applyDidacticTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::setPassword | ( | $a_pass | ) |
set password
@access public
| string | password |
Definition at line 303 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setRegistrationAccessCode | ( | $a_code | ) |
Set refistration access code.
| string | $a_code |
Definition at line 523 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setRegistrationEnd | ( | $a_end | ) |
set registration end
@access public
| int | unix time |
Definition at line 281 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setRegistrationStart | ( | $a_start | ) |
set registration start
@access public
| object | ilDateTime |
Definition at line 257 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setRegistrationType | ( | $a_type | ) |
set registration type
@access public
| int | registration type |
Definition at line 200 of file class.ilObjGroup.php.
References $a_type.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setShowMembers | ( | $a_status | ) |
Definition at line 576 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setStart | ( | ilDate | $start = null | ) |
| ilObjGroup::setViewMode | ( | $a_view_mode | ) |
Set group view mode.
| int | $a_view_mode |
Definition at line 1788 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setWaitingListAutoFill | ( | $a_value | ) |
Definition at line 410 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:
|
static |
translate view mode
| int | $a_obj_id | |
| int | $a_view_mode | |
| int | $a_ref_id |
Definition at line 1821 of file class.ilObjGroup.php.
References $DIC, ilContainer\$tree, $view_mode, ilObject\_getAllReferences(), ilObject\_lookupObjId(), ilObjCourse\_lookupViewMode(), ilContainer\VIEW_BY_TYPE, ilContainer\VIEW_DEFAULT, ilContainer\VIEW_INHERIT, ilContainer\VIEW_SESSIONS, and ilContainer\VIEW_SIMPLE.
Here is the call graph for this function:| ilObjGroup::update | ( | ) |
Update group.
Reimplemented from ilContainer.
Definition at line 737 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, getCancellationEnd(), getEnableGroupMap(), getEnd(), getGroupType(), ilObject\getId(), getInformation(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getMaxMembers(), getMinMembers(), getPassword(), getRegistrationAccessCode(), getRegistrationEnd(), getRegistrationStart(), getRegistrationType(), getShowMembers(), getStart(), hasWaitingListAutoFill(), IL_CAL_DATETIME, IL_CAL_UNIX, isMembershipLimited(), isRegistrationAccessCodeEnabled(), isRegistrationEnabled(), isRegistrationUnlimited(), isWaitingListEnabled(), prepareAppointments(), and League\Flysystem\Adapter\Polyfill\update().
Here is the call graph for this function:| ilObjGroup::updateGroupType | ( | $a_group_type = GRP_TYPE_OPEN | ) |
Change group type.
Revokes permissions of all parent non-protected roles and initiates these roles with the according il_grp_(open|closed) template.
@access public
Definition at line 1371 of file class.ilObjGroup.php.
References $DIC, $template, applyDidacticTemplate(), ilDidacticTemplateSettings\getInstanceByObjectType(), ilObject\getType(), and GRP_TYPE_OPEN.
Here is the call graph for this function:| ilObjGroup::validate | ( | ) |
validate group settings
@access public
Definition at line 627 of file class.ilObjGroup.php.
References $DIC, $ilErr, getMaxMembers(), getMinMembers(), getPassword(), getRegistrationEnd(), getRegistrationStart(), getRegistrationType(), ilObject\getTitle(), GRP_REGISTRATION_PASSWORD, isMembershipLimited(), and isWaitingListEnabled().
Here is the call graph for this function:
|
protected |
Definition at line 70 of file class.ilObjGroup.php.
Referenced by hasWaitingListAutoFill().
|
private |
Definition at line 83 of file class.ilObjGroup.php.
Referenced by getEnableGroupMap().
|
protected |
Definition at line 76 of file class.ilObjGroup.php.
Referenced by getEnd(), register(), and setEnd().
| ilObjGroup::$file_obj = null |
Group file object for handling of export files.
Definition at line 99 of file class.ilObjGroup.php.
|
protected |
Definition at line 59 of file class.ilObjGroup.php.
Referenced by getGroupType().
|
protected |
Definition at line 58 of file class.ilObjGroup.php.
Referenced by getInformation().
|
private |
Definition at line 80 of file class.ilObjGroup.php.
Referenced by getLatitude().
|
protected |
Definition at line 71 of file class.ilObjGroup.php.
Referenced by getCancellationEnd().
|
private |
Definition at line 82 of file class.ilObjGroup.php.
Referenced by getLocationZoom().
|
private |
Definition at line 81 of file class.ilObjGroup.php.
Referenced by getLongitude().
| ilObjGroup::$m_grpStatus |
Definition at line 101 of file class.ilObjGroup.php.
| ilObjGroup::$m_roleAdminId |
Definition at line 105 of file class.ilObjGroup.php.
| ilObjGroup::$m_roleMemberId |
Definition at line 103 of file class.ilObjGroup.php.
|
private |
Definition at line 90 of file class.ilObjGroup.php.
Referenced by getMailToMembersType().
| ilObjGroup::$members_obj |
Definition at line 93 of file class.ilObjGroup.php.
Referenced by getMembersObject().
|
private |
Definition at line 85 of file class.ilObjGroup.php.
Referenced by getRegistrationAccessCode().
|
private |
Definition at line 86 of file class.ilObjGroup.php.
Referenced by isRegistrationAccessCodeEnabled().
|
protected |
Definition at line 61 of file class.ilObjGroup.php.
|
protected |
Definition at line 64 of file class.ilObjGroup.php.
Referenced by getRegistrationEnd().
|
protected |
Definition at line 68 of file class.ilObjGroup.php.
Referenced by getMaxMembers().
|
protected |
Definition at line 66 of file class.ilObjGroup.php.
Referenced by isMembershipLimited().
|
protected |
Definition at line 67 of file class.ilObjGroup.php.
Referenced by getMinMembers().
|
protected |
Definition at line 65 of file class.ilObjGroup.php.
Referenced by getPassword().
|
protected |
Definition at line 63 of file class.ilObjGroup.php.
Referenced by getRegistrationStart().
|
protected |
Definition at line 60 of file class.ilObjGroup.php.
Referenced by getRegistrationType().
|
protected |
Definition at line 62 of file class.ilObjGroup.php.
Referenced by isRegistrationUnlimited().
|
protected |
Definition at line 72 of file class.ilObjGroup.php.
Referenced by getShowMembers().
| ilObjGroup::$SHOW_MEMBERS_DISABLED = 0 |
Definition at line 56 of file class.ilObjGroup.php.
| ilObjGroup::$SHOW_MEMBERS_ENABLED = 1 |
Definition at line 55 of file class.ilObjGroup.php.
|
protected |
Definition at line 75 of file class.ilObjGroup.php.
Referenced by getStart(), register(), and setStart().
|
private |
Definition at line 88 of file class.ilObjGroup.php.
Referenced by getViewMode(), lookupViewMode(), and translateViewMode().
|
protected |
Definition at line 69 of file class.ilObjGroup.php.
Referenced by handleAutoFill(), isWaitingListEnabled(), and register().
| const ilObjGroup::CAL_END = 4 |
Definition at line 38 of file class.ilObjGroup.php.
| const ilObjGroup::CAL_REG_END = 2 |
Definition at line 36 of file class.ilObjGroup.php.
| const ilObjGroup::CAL_REG_START = 1 |
Definition at line 35 of file class.ilObjGroup.php.
| const ilObjGroup::CAL_START = 3 |
Definition at line 37 of file class.ilObjGroup.php.
| const ilObjGroup::ERR_MISSING_GROUP_TYPE = 'grp_missing_grp_type' |
Definition at line 44 of file class.ilObjGroup.php.
| const ilObjGroup::ERR_MISSING_MIN_MAX_MEMBERS = 'grp_wrong_min_max_members' |
Definition at line 48 of file class.ilObjGroup.php.
| const ilObjGroup::ERR_MISSING_PASSWORD = 'grp_missing_password' |
Definition at line 45 of file class.ilObjGroup.php.
| const ilObjGroup::ERR_MISSING_TITLE = 'msg_no_title' |
Definition at line 43 of file class.ilObjGroup.php.
| const ilObjGroup::ERR_WRONG_MAX_MEMBERS = 'grp_wrong_max_members' |
Definition at line 46 of file class.ilObjGroup.php.
| const ilObjGroup::ERR_WRONG_MIN_MAX_MEMBERS = 'grp_max_and_min_members_invalid' |
Definition at line 49 of file class.ilObjGroup.php.
| const ilObjGroup::ERR_WRONG_REG_TIME_LIMIT = 'grp_wrong_reg_time_limit' |
Definition at line 47 of file class.ilObjGroup.php.
| const ilObjGroup::ERR_WRONG_REGISTRATION_LIMITED = 'grp_err_registration_limited' |
Definition at line 50 of file class.ilObjGroup.php.
| const ilObjGroup::GRP_ADMIN = 2 |
Definition at line 41 of file class.ilObjGroup.php.
| const ilObjGroup::GRP_MEMBER = 1 |
Definition at line 40 of file class.ilObjGroup.php.
| const ilObjGroup::MAIL_ALLOWED_ALL = 1 |
Definition at line 52 of file class.ilObjGroup.php.
Referenced by ilObjGroupGUI\executeCommand(), and ilObjGroupGUI\initForm().
| const ilObjGroup::MAIL_ALLOWED_TUTORS = 2 |
Definition at line 53 of file class.ilObjGroup.php.
Referenced by ilObjGroupGUI\initForm().