ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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
Definition:
class.ilAbstractUsersGalleryUserCollectionSorter.php:22
ilAbstractUsersGalleryUserCollectionSorter\sort
sort(array $users)
Definition:
class.ilAbstractUsersGalleryUserCollectionSorter.php:25
ilAbstractUsersGalleryUserCollectionSorter\compare
compare(ilUsersGalleryUser $left, ilUsersGalleryUser $right)
ilUsersGalleryUserCollectionSorter
Definition:
interface.ilUsersGalleryUserCollectionSorter.php:22
ilUsersGalleryUser
Definition:
interface.ilUsersGalleryUser.php:22
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
User
classes
Gallery
class.ilAbstractUsersGalleryUserCollectionSorter.php
Generated on Sat Oct 18 2025 23:04:58 for ILIAS by
1.9.4 (using
Doxyfile
)