|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 () | ||||
| setAutoNotification (bool $a_status) | ||||
| getAutoNotification () | ||||
| setPeriod (\ilDateTime $start=null, \ilDateTime $end=null) | ||||
| getStartTimeIndication () | ||||
| getStart () | ||||
| getEnd () | ||||
| enableSessionLimit (bool $a_status) | ||||
| en/disable limited number of sessions More... | ||||
| isSessionLimitEnabled () | ||||
| setNumberOfPreviousSessions (int $a_num) | ||||
| Set number of previous sessions. More... | ||||
| getNumberOfPreviousSessions () | ||||
| Get number of previous sessions. More... | ||||
| setNumberOfNextSessions (int $a_num) | ||||
| Set number of upcoming sessions. More... | ||||
| getNumberOfNextSessions () | ||||
| Get number of upcomoing sessions. 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... | ||||
| 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... | ||||
| setGroupStatus ($a_status) | ||||
| Set group status. More... | ||||
| getGroupStatus () | ||||
| get group status More... | ||||
| readGroupStatus () | ||||
| Read group type. 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 () | ||||
| getSubItems ( $a_admin_panel_enabled=false, $a_include_side_block=false, $a_get_single=0, \ilContainerUserFilter $container_user_filter=null) | ||||
| Get subitems of container. More... | ||||
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... | ||||
| delete () | ||||
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! 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) | ||||
| isClassificationFilterActive () | ||||
| Is classification filter active? More... | ||||
| filteredSubtree () | ||||
| Note grp/crs currently allow to filter in their whole subtrees Catetories only their direct childs. More... | ||||
| getSubItems ( $a_admin_panel_enabled=false, $a_include_side_block=false, $a_get_single=0, \ilContainerUserFilter $container_user_filter=null) | ||||
| 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, $a_deleted_by) |
| static | setDeletedDates ($a_ref_ids, $a_user_id) |
| 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 | _getIcon ( $a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
| Get icon for repository item. 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 | |
| toggleStartTimeIndication (bool $time_indication) | |
| setStart (ilDateTime $a_value=null) | |
| setEnd (ilDateTime $a_value=null) | |
| prepareAppointments ($a_mode='create') | |
| Prepare calendar appointments. More... | |
| initParticipants () | |
| init participants object More... | |
Protected Member Functions inherited from ilContainer | |
| getInitialSubitems () | |
| Get initial subitems. More... | |
| applyContainerUserFilter ($objects, ilContainerUserFilter $container_user_filter=null) | |
| Apply container user filter on objects. More... | |
| legacyOnlineFilter ($obj_ids, $objects, $val) | |
| Legacy online filter. 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 | |
| $auto_notification = true | |
| $grp_start_time_indication = false | |
| $start = null | |
| $end = null | |
Protected Attributes inherited from ilObject | |
| $objDefinition | |
| $db | |
| $log | |
| $error | |
| $tree | |
| $app_event_handler | |
| $rbacadmin | |
| $rbacreview | |
Protected Attributes inherited from ilContainer | |
| $news | |
| $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 | |
| $recommended_content_manager | |
Private Attributes | |
| $session_limit = 0 | |
| $session_prev = -1 | |
| $session_next = -1 | |
| $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 137 of file class.ilObjGroup.php.
References $DIC, ilContainer\$tree, ILIAS\GlobalScreen\Provider\__construct(), and ilObject\setRegisterMode().
Here is the call graph for this function:| ilObjGroup::_getMembers | ( | $a_obj_id | ) |
Definition at line 1792 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacreview, ilObject\$ref_id, 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 1743 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, ilObject\$rbacreview, $res, _getMembers(), ilObjectFactory\getInstanceByObjId(), ilUtil\quoteArray(), and true.
Referenced by ilObjCourseGrouping\_checkGroupingDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1727 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, 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 1920 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 1223 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 1934 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 1716 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 1148 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, ilObject\$rbacreview, getDefaultAdminRole(), getDefaultMemberRole(), ilLoggerFactory\getLogger(), and ilObject\getRefId().
Here is the call 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 1120 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::create | ( | ) |
Create group.
Reimplemented from ilContainer.
Definition at line 803 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, ilObject\createMetaData(), getAutoNotification(), getCancellationEnd(), getEnableGroupMap(), getEnd(), getGroupType(), ilObject\getId(), getInformation(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getMaxMembers(), getMinMembers(), getNumberOfNextSessions(), getNumberOfPreviousSessions(), getPassword(), getRegistrationAccessCode(), getRegistrationEnd(), getRegistrationStart(), getRegistrationType(), getStart(), hasWaitingListAutoFill(), IL_CAL_DATETIME, IL_CAL_UNIX, isMembershipLimited(), isRegistrationAccessCodeEnabled(), isRegistrationEnabled(), isRegistrationUnlimited(), isSessionLimitEnabled(), isWaitingListEnabled(), prepareAppointments(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:| ilObjGroup::delete | ( | ) |
delete group and all related data
@access public
Reimplemented from ilContainer.
Definition at line 936 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, ilParticipants\_deleteAllEntries(), ilObject\deleteMetaData(), 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 350 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 566 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::enableSessionLimit | ( | bool | $a_status | ) |
en/disable limited number of sessions
| object | $a_status |
Definition at line 703 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 258 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 417 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 2193 of file class.ilObjGroup.php.
References $GLOBALS, $ilDB, $res, 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::getAutoNotification | ( | ) |
Definition at line 620 of file class.ilObjGroup.php.
References $auto_notification.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::getCancellationEnd | ( | ) |
Definition at line 595 of file class.ilObjGroup.php.
References $leave_end.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::getCountMembers | ( | ) |
Definition at line 1361 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 1210 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 1399 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, ilObject\$rbacreview, and ilObject\getRefId().
Referenced by getGroupAdminIds(), and isAdmin().
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 1199 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 528 of file class.ilObjGroup.php.
References $enablemap.
Referenced by create(), getEnableMap(), and update().
Here is the caller graph for this function:| ilObjGroup::getEnableMap | ( | ) |
Type independent wrapper.
Definition at line 518 of file class.ilObjGroup.php.
References getEnableGroupMap().
Here is the call graph for this function:| ilObjGroup::getEnd | ( | ) |
Definition at line 693 of file class.ilObjGroup.php.
Referenced by 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 1372 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 1326 of file class.ilObjGroup.php.
References $DIC, $ilBench, $ilDB, ilObject\$rbacadmin, ilObject\$rbacreview, 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 1297 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 1573 of file class.ilObjGroup.php.
| ilObjGroup::getGroupType | ( | ) |
get group type
@access public
Definition at line 212 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 1472 of file class.ilObjGroup.php.
References $res, and ilDBConstants\FETCHMODE_ASSOC.
| ilObjGroup::getGrpStatusOpenTemplateId | ( | ) |
get group status open template @access public
| return | obj_id of roletemplate containing permissionsettings for an open group |
Definition at line 1486 of file class.ilObjGroup.php.
References $res, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by setParentRolePermissions().
Here is the caller graph for this function:| ilObjGroup::getInformation | ( | ) |
get Information
@access public
return string information
Definition at line 190 of file class.ilObjGroup.php.
References $information.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::getLatitude | ( | ) |
Get Latitude.
Definition at line 459 of file class.ilObjGroup.php.
References $latitude.
Referenced by 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 1438 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 499 of file class.ilObjGroup.php.
References $locationzoom.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::getLongitude | ( | ) |
Get Longitude.
Definition at line 479 of file class.ilObjGroup.php.
References $longitude.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::getMailToMembersType | ( | ) |
Get mail to members type.
Definition at line 585 of file class.ilObjGroup.php.
References $mail_members.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::getMaxMembers | ( | ) |
get max members
@access public
Definition at line 405 of file class.ilObjGroup.php.
References $reg_max_members.
Referenced by 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 1602 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 2024 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 1926 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 383 of file class.ilObjGroup.php.
References $reg_min_members.
Referenced by create(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::getNumberOfNextSessions | ( | ) |
Get number of upcomoing sessions.
Definition at line 744 of file class.ilObjGroup.php.
References $session_next.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::getNumberOfPreviousSessions | ( | ) |
Get number of previous sessions.
Definition at line 726 of file class.ilObjGroup.php.
References $session_prev.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::getPassword | ( | ) |
get password
@access public
Definition at line 338 of file class.ilObjGroup.php.
References $reg_password.
Referenced by create(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::getRegistrationAccessCode | ( | ) |
get access code
Definition at line 537 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 316 of file class.ilObjGroup.php.
References $reg_end.
Referenced by create(), prepareAppointments(), register(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::getRegistrationStart | ( | ) |
get registration start
@access public
Definition at line 292 of file class.ilObjGroup.php.
References $reg_start.
Referenced by create(), prepareAppointments(), register(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::getRegistrationType | ( | ) |
get registration type
@access public
Definition at line 235 of file class.ilObjGroup.php.
References $reg_type.
Referenced by create(), isRegistrationEnabled(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::getShowMembers | ( | ) |
Definition at line 604 of file class.ilObjGroup.php.
References $show_members.
Referenced by update().
Here is the caller graph for this function:| ilObjGroup::getStart | ( | ) |
Definition at line 677 of file class.ilObjGroup.php.
Referenced by create(), prepareAppointments(), and update().
Here is the caller graph for this function:| ilObjGroup::getStartTimeIndication | ( | ) |
Definition at line 660 of file class.ilObjGroup.php.
Referenced by prepareAppointments(), and update().
Here is the caller graph for this function:| ilObjGroup::getSubItems | ( | $a_admin_panel_enabled = false, |
|
$a_include_side_block = false, |
|||
$a_get_single = 0, |
|||
| \ilContainerUserFilter | $container_user_filter = null |
||
| ) |
Get subitems of container.
| bool | $a_admin_panel_enabled,[optional] | |
| bool | $a_include_side_block,[optional] |
Reimplemented from ilContainer.
Definition at line 2259 of file class.ilObjGroup.php.
References ilContainerSessionsContentGUI\prepareSessionPresentationLimitation().
Here is the call graph for this function:| ilObjGroup::getViewMode | ( | ) |
Get effective container view mode.
Reimplemented from ilContainer.
Definition at line 1816 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 2130 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 439 of file class.ilObjGroup.php.
References $auto_fill_from_waiting.
Referenced by 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 1646 of file class.ilObjGroup.php.
References ilObjRole\createDefaultRole(), ilObject\getId(), and ilObject\getRefId().
Here is the call graph for this function:
|
protected |
init participants object
@access protected
Definition at line 2013 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 1627 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 361 of file class.ilObjGroup.php.
References $reg_membership_limitation.
Referenced by create(), register(), update(), and validate().
Here is the caller graph for this function:| ilObjGroup::isRegistrationAccessCodeEnabled | ( | ) |
Check if access code is enabled.
Definition at line 556 of file class.ilObjGroup.php.
References $reg_access_code_enabled.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::isRegistrationEnabled | ( | ) |
is registration enabled
@access public
Definition at line 246 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 269 of file class.ilObjGroup.php.
References $reg_unlimited.
Referenced by create(), prepareAppointments(), register(), and update().
Here is the caller graph for this function:| ilObjGroup::isSessionLimitEnabled | ( | ) |
Definition at line 708 of file class.ilObjGroup.php.
References $session_limit.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjGroup::isWaitingListEnabled | ( | ) |
is waiting list enabled
@access public
return bool
Definition at line 429 of file class.ilObjGroup.php.
References $waiting_list.
Referenced by 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 1178 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 1272 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 1245 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, ilObject\$rbacreview, getGroupAdminIds(), getGroupMemberIds(), isAdmin(), leave(), and user().
Here is the call graph for this function:
|
static |
@global $ilDB $ilDB
| int | $a_obj_id |
Definition at line 1501 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, 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 155 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, 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 2037 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMembershipRegistrationCodeUtils\lookupObjectsByCode().
Here is the caller graph for this function:
|
static |
Definition at line 2238 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilParticipants\hasParticipantListAccess().
Here is the caller graph for this function:
|
static |
lookup view mode @global $ilDB
Definition at line 1855 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, $view_mode, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilGroupXMLWriter\__buildExtraSettings(), ilObjFolder\getViewMode(), getViewMode(), and ilObjGroupGUI\initForm().
Here is the caller graph for this function:
|
static |
Definition at line 2162 of file class.ilObjGroup.php.
References $DIC, $ilDB, $ilUser, 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 1949 of file class.ilObjGroup.php.
References $app, getEnd(), ilObject\getLongDescription(), getRegistrationEnd(), getRegistrationStart(), getStart(), getStartTimeIndication(), 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 973 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, ilContainerSortingSettings\_lookupSortMode(), enableMembershipLimitation(), enableRegistrationAccessCode(), enableSessionLimit(), enableUnlimitedRegistration(), enableWaitingList(), ilDBConstants\FETCHMODE_OBJECT, ilObject\getId(), IL_CAL_DATE, IL_CAL_DATETIME, IL_CAL_UNIX, initParticipants(), setAutoNotification(), setCancellationEnd(), setEnableGroupMap(), setGroupType(), setInformation(), setLatitude(), setLocationZoom(), setLongitude(), setMailToMembersType(), setMaxMembers(), setMinMembers(), setNumberOfNextSessions(), setNumberOfPreviousSessions(), ilContainer\setOrderType(), setPassword(), setPeriod(), setRegistrationAccessCode(), setRegistrationEnd(), setRegistrationStart(), setRegistrationType(), setShowMembers(), setViewMode(), setWaitingListAutoFill(), toggleStartTimeIndication(), and ilTimeZone\UTC.
Here is the call graph for this function:| ilObjGroup::readGroupStatus | ( | ) |
Read group type.
Definition at line 1582 of file class.ilObjGroup.php.
References $DIC, ilObject\getRefId(), GRP_TYPE_CLOSED, GRP_TYPE_OPEN, and ilDidacticTemplateObjSettings\lookupTemplateId().
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 2061 of file class.ilObjGroup.php.
References $end, $start, $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::setAutoNotification | ( | bool | $a_status | ) |
| bool | $a_status |
Definition at line 612 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setCancellationEnd | ( | ilDate | $a_value = null | ) |
Definition at line 590 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 509 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:
|
protected |
| \ilDateTime | null | $a_value |
Definition at line 685 of file class.ilObjGroup.php.
Referenced by setPeriod().
Here is the caller graph for this function:| ilObjGroup::setGroupStatus | ( | $a_status | ) |
Set group status.
@access public
| int | group status[0=public|2=closed] |
Definition at line 1561 of file class.ilObjGroup.php.
| ilObjGroup::setGroupType | ( | $a_type | ) |
set group type
@access public
| int | type |
Definition at line 201 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setInformation | ( | $a_information | ) |
set information
@access public
| string | information |
Definition at line 178 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 449 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 489 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 469 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 576 of file class.ilObjGroup.php.
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 394 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setMessage | ( | $a_message | ) |
Definition at line 1930 of file class.ilObjGroup.php.
| ilObjGroup::setMinMembers | ( | $a_max | ) |
set min members
@access public
| int | min members |
Definition at line 372 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setNumberOfNextSessions | ( | int | $a_num | ) |
Set number of upcoming sessions.
| int | $a_num |
Definition at line 735 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setNumberOfPreviousSessions | ( | int | $a_num | ) |
Set number of previous sessions.
| int | $a_num |
Definition at line 717 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 1677 of file class.ilObjGroup.php.
References $GLOBALS, ilObject\$rbacadmin, ilObject\$rbacreview, getGrpStatusOpenTemplateId(), ilObject\getRefId(), ilObject\getType(), and ROLE_FOLDER_ID.
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 327 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setPeriod | ( | \ilDateTime | $start = null, |
| \ilDateTime | $end = null |
||
| ) |
| \ilDateTime | null | $start | |
| \ilDateTime | null | $end |
| InvalidArgumentException |
Definition at line 631 of file class.ilObjGroup.php.
References $end, $start, setEnd(), setStart(), and toggleStartTimeIndication().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjGroup::setRegistrationAccessCode | ( | $a_code | ) |
Set refistration access code.
| string | $a_code |
Definition at line 547 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 305 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 281 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 224 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setShowMembers | ( | $a_status | ) |
Definition at line 600 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:
|
protected |
| \ilDateTime | null | $a_value |
Definition at line 669 of file class.ilObjGroup.php.
Referenced by setPeriod().
Here is the caller graph for this function:| ilObjGroup::setViewMode | ( | $a_view_mode | ) |
Set group view mode.
| int | $a_view_mode |
Definition at line 1846 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGroup::setWaitingListAutoFill | ( | $a_value | ) |
Definition at line 434 of file class.ilObjGroup.php.
Referenced by read().
Here is the caller graph for this function:
|
protected |
| bool | $time_indication |
Definition at line 652 of file class.ilObjGroup.php.
Referenced by read(), and setPeriod().
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 1879 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 870 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, ilCalendarUtil\convertDateToUtcDBTimestamp(), getAutoNotification(), getCancellationEnd(), getEnableGroupMap(), getEnd(), getGroupType(), ilObject\getId(), getInformation(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getMaxMembers(), getMinMembers(), getNumberOfNextSessions(), getNumberOfPreviousSessions(), getPassword(), getRegistrationAccessCode(), getRegistrationEnd(), getRegistrationStart(), getRegistrationType(), getShowMembers(), getStart(), getStartTimeIndication(), hasWaitingListAutoFill(), IL_CAL_DATETIME, IL_CAL_UNIX, isMembershipLimited(), isRegistrationAccessCodeEnabled(), isRegistrationEnabled(), isRegistrationUnlimited(), isSessionLimitEnabled(), isWaitingListEnabled(), prepareAppointments(), ilDBConstants\T_INTEGER, ilDBConstants\T_TIMESTAMP, and ilObject\updateMetaData().
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 1530 of file class.ilObjGroup.php.
References $DIC, 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 756 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().
|
protected |
Definition at line 82 of file class.ilObjGroup.php.
Referenced by getAutoNotification().
|
private |
Definition at line 106 of file class.ilObjGroup.php.
Referenced by getEnableGroupMap().
|
protected |
Definition at line 99 of file class.ilObjGroup.php.
Referenced by register(), and setPeriod().
| ilObjGroup::$file_obj = null |
Group file object for handling of export files.
Definition at line 122 of file class.ilObjGroup.php.
|
protected |
Definition at line 59 of file class.ilObjGroup.php.
Referenced by getGroupType().
|
protected |
Definition at line 88 of file class.ilObjGroup.php.
|
protected |
Definition at line 58 of file class.ilObjGroup.php.
Referenced by getInformation().
|
private |
Definition at line 103 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 105 of file class.ilObjGroup.php.
Referenced by getLocationZoom().
|
private |
Definition at line 104 of file class.ilObjGroup.php.
Referenced by getLongitude().
| ilObjGroup::$m_grpStatus |
Definition at line 124 of file class.ilObjGroup.php.
| ilObjGroup::$m_roleAdminId |
Definition at line 128 of file class.ilObjGroup.php.
| ilObjGroup::$m_roleMemberId |
Definition at line 126 of file class.ilObjGroup.php.
|
private |
Definition at line 113 of file class.ilObjGroup.php.
Referenced by getMailToMembersType().
| ilObjGroup::$members_obj |
Definition at line 116 of file class.ilObjGroup.php.
Referenced by getMembersObject().
|
private |
Definition at line 108 of file class.ilObjGroup.php.
Referenced by getRegistrationAccessCode().
|
private |
Definition at line 109 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().
|
private |
Definition at line 74 of file class.ilObjGroup.php.
Referenced by isSessionLimitEnabled().
|
private |
Definition at line 76 of file class.ilObjGroup.php.
Referenced by getNumberOfNextSessions().
|
private |
Definition at line 75 of file class.ilObjGroup.php.
Referenced by getNumberOfPreviousSessions().
|
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 94 of file class.ilObjGroup.php.
Referenced by register(), and setPeriod().
|
private |
Definition at line 111 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().