ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilObjGroup. More...
Public Member Functions | |
__construct ($a_id=0, $a_call_by_reference=true) | |
Constructor 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 private More... | |
getDefaultMemberRole () | |
returns object id of created default member role public More... | |
getDefaultAdminRole () | |
returns object id of created default adminstrator role public More... | |
addMember ($a_user_id, $a_mem_role) | |
add Member to Group public More... | |
leaveGroup () | |
is called when a member decides to leave group public More... | |
leave ($a_user_id) | |
deassign member from group role private More... | |
getGroupMemberIds () | |
get all group Member ids regardless of role 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 public More... | |
getDefaultGroupRoles ($a_grp_id="") | |
get default group roles, returns the defaultlike create roles il_grp_member, il_grp_admin 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 public More... | |
getGrpStatusOpenTemplateId () | |
get group status open template 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 public More... | |
isAdmin ($a_userId) | |
is Admin public More... | |
initDefaultRoles () | |
init default roles settings 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... | |
![]() | |
__construct ($a_id=0, $a_reference=true) | |
Constructor 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 public More... | |
setId ($a_id) | |
set object id public More... | |
setRefId ($a_id) | |
set reference id public More... | |
getRefId () | |
get reference id public More... | |
getType () | |
get object type public More... | |
setType ($a_type) | |
set object type public More... | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions More... | |
getTitle () | |
get object title public More... | |
getUntranslatedTitle () | |
get untranslated object title 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 public More... | |
getLastUpdateDate () | |
get last update date 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) 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... | |
![]() | |
__construct ($a_id=0, $a_reference=true) | |
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) | |
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... | |
![]() | |
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) |
$ilDB $ilDB More... | |
static | _lookupIdByTitle ($a_title) |
static | lookupViewMode ($a_obj_id) |
lookup view mode $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 $ilDB $ilDB. More... | |
static | lookupShowMembersEnabled (int $a_obj_id) |
![]() | |
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 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 | _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... | |
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... | |
![]() | |
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 | |
![]() | |
$objDefinition | |
$db | |
$log | |
$error | |
$tree | |
$app_event_handler | |
$rbacadmin | |
$rbacreview | |
![]() | |
$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 | $data_preloaded = false |
ilObjGroup::__construct | ( | $a_id = 0 , |
|
$a_call_by_reference = true |
|||
) |
Constructor public.
integer | reference_id or object_id |
boolean | treat the id as reference_id (true) or object_id (false) |
Definition at line 137 of file class.ilObjGroup.php.
References $DIC, ilContainer\$tree, ILIAS\GlobalScreen\Provider\__construct(), and ilObject\setRegisterMode().
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().
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(), and ilUtil\quoteArray().
Referenced by ilObjCourseGrouping\_checkGroupingDependencies().
|
static |
Definition at line 1727 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMailAddressTypeHelperImpl\getGroupObjIdByTitle().
ilObjGroup::addAdditionalSubItemInformation | ( | & | $a_item_data | ) |
Add additional information to sub item, e.g.
used in courses for timings information etc.
Definition at line 1920 of file class.ilObjGroup.php.
References ilObjectActivation\addAdditionalSubItemInformation().
ilObjGroup::addMember | ( | $a_user_id, | |
$a_mem_role | |||
) |
add Member to Group 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().
ilObjGroup::appendMessage | ( | $a_message | ) |
Definition at line 1934 of file class.ilObjGroup.php.
References getMessage().
ilObjGroup::applyDidacticTemplate | ( | $a_tpl_id | ) |
Apply template.
int | $a_tpl_id |
Definition at line 1716 of file class.ilObjGroup.php.
References ilObject\getRefId(), and setParentRolePermissions().
Referenced by updateGroupType().
ilObjGroup::cloneAutoGeneratedRoles | ( | $new_obj | ) |
Clone group admin and member role permissions.
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().
Referenced by read().
ilObjGroup::cloneDependencies | ( | $a_target_id, | |
$a_copy_id | |||
) |
Clone object dependencies (crs items, preconditions)
public
int | target ref id of new course |
int | copy id |
Definition at line 1120 of file class.ilObjGroup.php.
References $DIC, ilContainer\$tree, ilObjCourseGrouping\_getGroupings(), ilObjectActivation\cloneDependencies(), ilObject\getId(), ilLoggerFactory\getLogger(), and ilObject\getRefId().
ilObjGroup::create | ( | ) |
Create group.
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.
ilObjGroup::delete | ( | ) |
delete group and all related data
public
Definition at line 936 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, $res, ilParticipants\_deleteAllEntries(), ilObject\deleteMetaData(), ilObject\getId(), and prepareAppointments().
ilObjGroup::enableMembershipLimitation | ( | $a_status | ) |
enable max member limitation
public
bool | status |
Definition at line 350 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::enableRegistrationAccessCode | ( | $a_status | ) |
En/disable registration access code.
object | $a_status |
Definition at line 566 of file class.ilObjGroup.php.
Referenced by read().
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().
ilObjGroup::enableUnlimitedRegistration | ( | $a_status | ) |
enable unlimited registration
public
bool |
Definition at line 258 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::enableWaitingList | ( | $a_status | ) |
enable waiting list
public
bool |
Definition at line 417 of file class.ilObjGroup.php.
Referenced by read().
|
static |
Minimum members check $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().
ilObjGroup::getAutoNotification | ( | ) |
Definition at line 620 of file class.ilObjGroup.php.
References $auto_notification.
Referenced by create(), read(), and update().
ilObjGroup::getCancellationEnd | ( | ) |
Definition at line 595 of file class.ilObjGroup.php.
References $leave_end.
Referenced by create(), read(), and update().
ilObjGroup::getCountMembers | ( | ) |
Definition at line 1361 of file class.ilObjGroup.php.
References getGroupMemberIds().
ilObjGroup::getDefaultAdminRole | ( | ) |
returns object id of created default adminstrator role public
Definition at line 1210 of file class.ilObjGroup.php.
References getLocalGroupRoles(), and ilObject\getRefId().
Referenced by cloneAutoGeneratedRoles().
ilObjGroup::getDefaultGroupRoles | ( | $a_grp_id = "" | ) |
get default group roles, returns the defaultlike create roles il_grp_member, il_grp_admin 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().
ilObjGroup::getDefaultMemberRole | ( | ) |
returns object id of created default member role public
Definition at line 1199 of file class.ilObjGroup.php.
References getLocalGroupRoles(), and ilObject\getRefId().
Referenced by cloneAutoGeneratedRoles().
ilObjGroup::getEnableGroupMap | ( | ) |
Get Enable Group Map.
Definition at line 528 of file class.ilObjGroup.php.
References $enablemap.
Referenced by create(), getEnableMap(), read(), and update().
ilObjGroup::getEnableMap | ( | ) |
Type independent wrapper.
Definition at line 518 of file class.ilObjGroup.php.
References getEnableGroupMap().
ilObjGroup::getEnd | ( | ) |
Definition at line 693 of file class.ilObjGroup.php.
Referenced by create(), prepareAppointments(), read(), and update().
ilObjGroup::getGroupAdminIds | ( | $a_grpId = "" | ) |
get Group Admin Id 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().
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 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().
ilObjGroup::getGroupMemberIds | ( | ) |
get all group Member ids regardless of role public
Definition at line 1297 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, ilObject\$rbacreview, and getLocalGroupRoles().
Referenced by getCountMembers(), and leaveGroup().
ilObjGroup::getGroupStatus | ( | ) |
get group status
public
int | group status |
Definition at line 1573 of file class.ilObjGroup.php.
ilObjGroup::getGroupType | ( | ) |
get group type
public
Definition at line 212 of file class.ilObjGroup.php.
References $group_type.
Referenced by create(), and update().
ilObjGroup::getGrpStatusClosedTemplateId | ( | ) |
get group status closed template 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 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().
ilObjGroup::getInformation | ( | ) |
get Information
public
Definition at line 190 of file class.ilObjGroup.php.
References $information.
Referenced by create(), read(), and update().
ilObjGroup::getLatitude | ( | ) |
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 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(), getGroupMemberIds(), and getMemberRoles().
ilObjGroup::getLocationZoom | ( | ) |
Get LocationZoom.
Definition at line 499 of file class.ilObjGroup.php.
References $locationzoom.
Referenced by create(), read(), and update().
ilObjGroup::getLongitude | ( | ) |
Get Longitude.
Definition at line 479 of file class.ilObjGroup.php.
References $longitude.
Referenced by create(), read(), and update().
ilObjGroup::getMailToMembersType | ( | ) |
Get mail to members type.
Definition at line 585 of file class.ilObjGroup.php.
References $mail_members.
Referenced by create(), read(), and update().
ilObjGroup::getMaxMembers | ( | ) |
get max members
public
Definition at line 405 of file class.ilObjGroup.php.
References $reg_max_members.
Referenced by create(), handleAutoFill(), read(), register(), update(), and validate().
ilObjGroup::getMemberRoles | ( | $a_user_id | ) |
get group member status public
integer | user_id |
Definition at line 1602 of file class.ilObjGroup.php.
References $DIC, $ilBench, ilObject\$rbacadmin, ilObject\$rbacreview, and getLocalGroupRoles().
Referenced by leave().
ilObjGroup::getMembersObject | ( | ) |
Get members objects.
Definition at line 2024 of file class.ilObjGroup.php.
References $members_obj, and initParticipants().
Referenced by handleAutoFill().
ilObjGroup::getMessage | ( | ) |
Definition at line 1926 of file class.ilObjGroup.php.
References $message.
Referenced by appendMessage().
ilObjGroup::getMinMembers | ( | ) |
get min members
public
Definition at line 383 of file class.ilObjGroup.php.
References $reg_min_members.
Referenced by create(), read(), update(), and validate().
ilObjGroup::getNumberOfNextSessions | ( | ) |
Get number of upcomoing sessions.
Definition at line 744 of file class.ilObjGroup.php.
References $session_next.
Referenced by create(), read(), and update().
ilObjGroup::getNumberOfPreviousSessions | ( | ) |
Get number of previous sessions.
Definition at line 726 of file class.ilObjGroup.php.
References $session_prev.
Referenced by create(), read(), and update().
ilObjGroup::getPassword | ( | ) |
get password
public
Definition at line 338 of file class.ilObjGroup.php.
References $reg_password.
Referenced by create(), read(), update(), and validate().
ilObjGroup::getRegistrationAccessCode | ( | ) |
get access code
Definition at line 537 of file class.ilObjGroup.php.
References $reg_access_code.
Referenced by create(), and update().
ilObjGroup::getRegistrationEnd | ( | ) |
get registration end
public
Definition at line 316 of file class.ilObjGroup.php.
References $reg_end.
Referenced by create(), prepareAppointments(), read(), register(), update(), and validate().
ilObjGroup::getRegistrationStart | ( | ) |
get registration start
public
Definition at line 292 of file class.ilObjGroup.php.
References $reg_start.
Referenced by create(), prepareAppointments(), read(), register(), update(), and validate().
ilObjGroup::getRegistrationType | ( | ) |
get registration type
public
Definition at line 235 of file class.ilObjGroup.php.
References $reg_type.
Referenced by create(), isRegistrationEnabled(), read(), update(), and validate().
ilObjGroup::getShowMembers | ( | ) |
Definition at line 604 of file class.ilObjGroup.php.
References $show_members.
Referenced by read(), and update().
ilObjGroup::getStart | ( | ) |
Definition at line 677 of file class.ilObjGroup.php.
Referenced by create(), prepareAppointments(), read(), and update().
ilObjGroup::getStartTimeIndication | ( | ) |
Definition at line 660 of file class.ilObjGroup.php.
Referenced by prepareAppointments(), and update().
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] |
Definition at line 2259 of file class.ilObjGroup.php.
References ilContainerSessionsContentGUI\prepareSessionPresentationLimitation().
ilObjGroup::getViewMode | ( | ) |
Get effective container view mode.
Definition at line 1816 of file class.ilObjGroup.php.
References ilContainer\$tree, $view_mode, ilObject\_lookupObjId(), ilObjCourseAccess\_lookupViewMode(), ilObject\getId(), ilContainer\VIEW_BY_TYPE, ilContainer\VIEW_DEFAULT, ilContainer\VIEW_INHERIT, ilContainer\VIEW_SESSIONS, and ilContainer\VIEW_SIMPLE.
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.
ilObjGroup::hasWaitingListAutoFill | ( | ) |
Definition at line 439 of file class.ilObjGroup.php.
References $auto_fill_from_waiting.
Referenced by create(), handleAutoFill(), read(), and update().
ilObjGroup::initDefaultRoles | ( | ) |
init default roles settings public
Definition at line 1646 of file class.ilObjGroup.php.
References ilObjRole\createDefaultRole(), ilObject\getId(), and ilObject\getRefId().
|
protected |
init participants object
protected
Definition at line 2013 of file class.ilObjGroup.php.
References ilGroupParticipants\_getInstanceByObjId(), and ilObject\getId().
Referenced by getMembersObject(), and read().
ilObjGroup::isAdmin | ( | $a_userId | ) |
is Admin 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().
ilObjGroup::isMembershipLimited | ( | ) |
is max member limited
public
Definition at line 361 of file class.ilObjGroup.php.
References $reg_membership_limitation.
Referenced by create(), read(), register(), update(), and validate().
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(), read(), and update().
ilObjGroup::isRegistrationEnabled | ( | ) |
is registration enabled
public
Definition at line 246 of file class.ilObjGroup.php.
References getRegistrationType(), and GRP_REGISTRATION_DEACTIVATED.
Referenced by create(), register(), and update().
ilObjGroup::isRegistrationUnlimited | ( | ) |
is registration unlimited
public
Definition at line 269 of file class.ilObjGroup.php.
References $reg_unlimited.
Referenced by create(), prepareAppointments(), read(), register(), and update().
ilObjGroup::isSessionLimitEnabled | ( | ) |
Definition at line 708 of file class.ilObjGroup.php.
References $session_limit.
Referenced by create(), read(), and update().
ilObjGroup::isWaitingListEnabled | ( | ) |
is waiting list enabled
public
Definition at line 429 of file class.ilObjGroup.php.
References $waiting_list.
Referenced by create(), handleAutoFill(), read(), register(), update(), and validate().
ilObjGroup::join | ( | $a_user_id, | |
$a_mem_role = "" |
|||
) |
join Group, assigns user to role 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().
ilObjGroup::leave | ( | $a_user_id | ) |
deassign member from group role private
Definition at line 1272 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, and getMemberRoles().
Referenced by leaveGroup().
ilObjGroup::leaveGroup | ( | ) |
is called when a member decides to leave group public
integer | user-Id |
integer | group-Id |
Definition at line 1245 of file class.ilObjGroup.php.
References $DIC, ilObject\$rbacadmin, ilObject\$rbacreview, getGroupAdminIds(), getGroupMemberIds(), ilObject\getRefId(), isAdmin(), leave(), and user().
|
static |
$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, and GRP_TYPE_CLOSED.
Referenced by ilRbacAdmin\adjustMovedObjectPermissions().
|
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().
|
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().
|
static |
Definition at line 2238 of file class.ilObjGroup.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilParticipants\hasParticipantListAccess().
|
static |
lookup view mode $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(), and ilObjGroupGUI\initForm().
|
static |
Definition at line 2162 of file class.ilObjGroup.php.
References $DIC, $ilDB, $ilUser, and IL_CAL_DATE.
Referenced by ilObjGroupAccess\_checkAccess().
|
protected |
Prepare calendar appointments.
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().
ilObjGroup::read | ( | ) |
Read group.
Definition at line 973 of file class.ilObjGroup.php.
References $DIC, $ilDB, $ilSetting, $ilUser, $query, $res, ilCourseDefinedFieldDefinition\_clone(), ilGroupParticipants\_getInstanceByObjId(), ilContainerSortingSettings\_lookupSortMode(), cloneAutoGeneratedRoles(), ilObject\cloneMetaData(), enableMembershipLimitation(), enableRegistrationAccessCode(), enableSessionLimit(), enableUnlimitedRegistration(), enableWaitingList(), ilDBConstants\FETCHMODE_OBJECT, ilMembershipRegistrationCodeUtils\generateCode(), getAutoNotification(), getCancellationEnd(), getEnableGroupMap(), getEnd(), ilObject\getId(), getInformation(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getMaxMembers(), getMinMembers(), getNumberOfNextSessions(), getNumberOfPreviousSessions(), getPassword(), ilObject\getRefId(), getRegistrationEnd(), getRegistrationStart(), getRegistrationType(), getShowMembers(), getStart(), hasWaitingListAutoFill(), IL_CAL_DATE, IL_CAL_DATETIME, IL_CAL_UNIX, IL_GRP_ADMIN, initParticipants(), isMembershipLimited(), isRegistrationAccessCodeEnabled(), isRegistrationUnlimited(), isSessionLimitEnabled(), isWaitingListEnabled(), ilDidacticTemplateObjSettings\lookupTemplateId(), 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.
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().
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(), ilObject\getTitle(), 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.
ilObjGroup::setAutoNotification | ( | bool | $a_status | ) |
bool | $a_status |
Definition at line 612 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setCancellationEnd | ( | ilDate | $a_value = null | ) |
Definition at line 590 of file class.ilObjGroup.php.
Referenced by read().
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().
|
protected |
\ilDateTime | null | $a_value |
Definition at line 685 of file class.ilObjGroup.php.
Referenced by setPeriod().
ilObjGroup::setGroupStatus | ( | $a_status | ) |
Set group status.
public
int | group status[0=public|2=closed] |
Definition at line 1561 of file class.ilObjGroup.php.
ilObjGroup::setGroupType | ( | $a_type | ) |
set group type
public
int | type |
Definition at line 201 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setInformation | ( | $a_information | ) |
set information
public
string | information |
Definition at line 178 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setLatitude | ( | $a_latitude | ) |
Set Latitude.
string | $a_latitude | Latitude |
Definition at line 449 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setLocationZoom | ( | $a_locationzoom | ) |
Set LocationZoom.
int | $a_locationzoom | LocationZoom |
Definition at line 489 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setLongitude | ( | $a_longitude | ) |
Set Longitude.
string | $a_longitude | Longitude |
Definition at line 469 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setMailToMembersType | ( | $a_type | ) |
Set mail to members type.
type | $a_type |
Definition at line 576 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setMaxMembers | ( | $a_max | ) |
set max members
public
int | max members |
Definition at line 394 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setMessage | ( | $a_message | ) |
Definition at line 1930 of file class.ilObjGroup.php.
ilObjGroup::setMinMembers | ( | $a_max | ) |
set min members
public
int | min members |
Definition at line 372 of file class.ilObjGroup.php.
Referenced by read().
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().
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().
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 |
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().
ilObjGroup::setPassword | ( | $a_pass | ) |
set password
public
string | password |
Definition at line 327 of file class.ilObjGroup.php.
Referenced by read().
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().
ilObjGroup::setRegistrationAccessCode | ( | $a_code | ) |
Set refistration access code.
string | $a_code |
Definition at line 547 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setRegistrationEnd | ( | $a_end | ) |
set registration end
public
int | unix time |
Definition at line 305 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setRegistrationStart | ( | $a_start | ) |
set registration start
public
object | ilDateTime |
Definition at line 281 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setRegistrationType | ( | $a_type | ) |
set registration type
public
int | registration type |
Definition at line 224 of file class.ilObjGroup.php.
Referenced by read().
ilObjGroup::setShowMembers | ( | $a_status | ) |
Definition at line 600 of file class.ilObjGroup.php.
Referenced by read().
|
protected |
\ilDateTime | null | $a_value |
Definition at line 669 of file class.ilObjGroup.php.
Referenced by setPeriod().
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().
ilObjGroup::setWaitingListAutoFill | ( | $a_value | ) |
Definition at line 434 of file class.ilObjGroup.php.
Referenced by read().
|
protected |
bool | $time_indication |
Definition at line 652 of file class.ilObjGroup.php.
Referenced by read(), and setPeriod().
|
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.
ilObjGroup::update | ( | ) |
Update group.
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().
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.
public
Definition at line 1530 of file class.ilObjGroup.php.
References $DIC, applyDidacticTemplate(), ilDidacticTemplateSettings\getInstanceByObjectType(), ilObject\getType(), and GRP_TYPE_OPEN.
ilObjGroup::validate | ( | ) |
validate group settings
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().
|
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 ilParticipants\canSendMailToMembers(), ilObjGroupGUI\executeCommand(), and ilObjGroupGUI\initForm().
const ilObjGroup::MAIL_ALLOWED_TUTORS = 2 |
Definition at line 53 of file class.ilObjGroup.php.
Referenced by ilObjGroupGUI\initForm().