ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilAbstractUsersGalleryUserCollectionSorter.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
abstract
class
ilAbstractUsersGalleryUserCollectionSorter
implements
ilUsersGalleryUserCollectionSorter
22
{
23
abstract
protected
function
compare
(
ilUsersGalleryUser
$left,
ilUsersGalleryUser
$right):
int
;
24
25
final
public
function
sort
(array $users): array
// Missing array type.
26
{
27
uasort($users,
function
(
ilUsersGalleryUser
$left,
ilUsersGalleryUser
$right):
int
{
28
return
$this->
compare
($left, $right);
29
});
30
31
return
$users;
32
}
33
}
ilAbstractUsersGalleryUserCollectionSorter\sort
sort(array $users)
Definition:
class.ilAbstractUsersGalleryUserCollectionSorter.php:25
ilUsersGalleryUser
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilUsersGalleryUser.php:21
ilAbstractUsersGalleryUserCollectionSorter
Definition:
class.ilAbstractUsersGalleryUserCollectionSorter.php:21
ilAbstractUsersGalleryUserCollectionSorter\compare
compare(ilUsersGalleryUser $left, ilUsersGalleryUser $right)
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ilUsersGalleryUserCollectionSorter
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilUsersGalleryUserCollectionSorter.php:20
Services
User
classes
Gallery
class.ilAbstractUsersGalleryUserCollectionSorter.php
Generated on Wed Sep 10 2025 14:12:01 for ILIAS by
1.8.13 (using
Doxyfile
)