ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilUsersGalleryUserCollectionPublicNameSorter Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilUsersGalleryUserCollectionPublicNameSorter:
+ Collaboration diagram for ilUsersGalleryUserCollectionPublicNameSorter:

Protected Member Functions

 compare (ilUsersGalleryUser $left, ilUsersGalleryUser $right)
 
- Protected Member Functions inherited from ilAbstractUsersGalleryUserCollectionSorter
 compare (ilUsersGalleryUser $left, ilUsersGalleryUser $right)
 

Additional Inherited Members

- Public Member Functions inherited from ilAbstractUsersGalleryUserCollectionSorter
 sort (array $users)
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 20 of file class.ilUsersGalleryUserCollectionPublicNameSorter.php.

Member Function Documentation

◆ compare()

ilUsersGalleryUserCollectionPublicNameSorter::compare ( ilUsersGalleryUser  $left,
ilUsersGalleryUser  $right 
)
protected

Definition at line 22 of file class.ilUsersGalleryUserCollectionPublicNameSorter.php.

References ilUsersGalleryUser\getSortablePublicName().

22  : int
23  {
24  return strcmp($left->getSortablePublicName(), $right->getSortablePublicName());
25  }
+ Here is the call graph for this function:

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