ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilAbstractUsersGalleryCollectionProvider Class Reference

Class ilAbstractUsersGalleryCollectionProvider. More...

+ Inheritance diagram for ilAbstractUsersGalleryCollectionProvider:
+ Collaboration diagram for ilAbstractUsersGalleryCollectionProvider:

Public Member Functions

 hasRemovableUsers ()
 
Returns
boolean
More...
 
- Public Member Functions inherited from ilUsersGalleryCollectionProvider
 getGroupedCollections ()
 

Protected Member Functions

 getPopulatedGroup (array $users)
 

Detailed Description

Member Function Documentation

◆ getPopulatedGroup()

ilAbstractUsersGalleryCollectionProvider::getPopulatedGroup ( array  $users)
protected
Parameters
ilObjUser[]$users An array of ilObjUser instances, with the respective user id as array key
Returns
ilUsersGalleryGroup

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

References $names, $users, ilObject\getId(), and ilUserUtil\getNamePresentation().

Referenced by ilUsersGalleryParticipants\__construct(), and ilUsersGalleryContacts\getRelationSequence().

19  {
20  $sortable_names = ilUserUtil::getNamePresentation(array_keys($users));
22  array_keys($users),
23  false,
24  false,
25  '',
26  false,
27  true,
28  false,
29  false
30  );
31 
32  return new ilUsersGalleryGroup(array_map(function (ilObjUser $user) use ($names, $sortable_names) {
33  return new ilUsersGalleryUserImpl($user, $names[$user->getId()], $sortable_names[$user->getId()]);
34  }, $users));
35  }
Class ilUsersGalleryUserImpl.
getId()
get object id public
static getNamePresentation( $a_user_id, $a_user_image=false, $a_profile_link=false, $a_profile_back_link="", $a_force_first_lastname=false, $a_omit_login=false, $a_sortable=true, $a_return_data_array=false, $a_ctrl_path="ilpublicuserprofilegui")
Default behaviour is:
$users
Definition: authpage.php:44
Class ilUsersGalleryGroup.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasRemovableUsers()

ilAbstractUsersGalleryCollectionProvider::hasRemovableUsers ( )

Returns
boolean

Implements ilUsersGalleryCollectionProvider.

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

41  {
42  return false;
43  }

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