ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAbstractUsersGalleryCollectionProvider Class Reference
+ Inheritance diagram for ilAbstractUsersGalleryCollectionProvider:
+ Collaboration diagram for ilAbstractUsersGalleryCollectionProvider:

Public Member Functions

 hasRemovableUsers ()
 
- Public Member Functions inherited from ilUsersGalleryCollectionProvider
 getGroupedCollections ()
 
 hasRemovableUsers ()
 

Protected Member Functions

 getPopulatedGroup (array $users)
 

Detailed Description

Member Function Documentation

◆ getPopulatedGroup()

ilAbstractUsersGalleryCollectionProvider::getPopulatedGroup ( array  $users)
protected
Parameters
array<int,ilObjUser>$users An map of ilObjUser instances, with the respective user id as array key

Definition at line 26 of file class.ilAbstractUsersGalleryCollectionProvider.php.

27 {
28 $sortable_names = ilUserUtil::getNamePresentation(array_keys($users));
30 array_keys($users),
31 false,
32 false,
33 '',
34 false,
35 true,
36 false,
37 false
38 );
39
40 return new ilUsersGalleryGroup(array_map(static function (ilObjUser $user) use ($names, $sortable_names): ilUsersGalleryUser {
41 return new ilUsersGalleryUserImpl($user, $names[$user->getId()], $sortable_names[$user->getId()]);
42 }, $users));
43 }
User class.
static getNamePresentation( $a_user_id, bool $a_user_image=false, bool $a_profile_link=false, string $a_profile_back_link='', bool $a_force_first_lastname=false, bool $a_omit_login=false, bool $a_sortable=true, bool $a_return_data_array=false, $a_ctrl_path=null)
Default behaviour is:
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ilObject\getId(), and ilUserUtil\getNamePresentation().

Referenced by ilUsersGalleryContacts\getGroupedCollections().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasRemovableUsers()

ilAbstractUsersGalleryCollectionProvider::hasRemovableUsers ( )

Implements ilUsersGalleryCollectionProvider.

Reimplemented in ilUsersGalleryContacts.

Definition at line 45 of file class.ilAbstractUsersGalleryCollectionProvider.php.

45 : bool
46 {
47 return false;
48 }

The documentation for this class was generated from the following file: