ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ 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
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
Definition:
interface.ilUsersGalleryUserCollectionSorter.php:21
components
ILIAS
User
classes
Gallery
class.ilAbstractUsersGalleryUserCollectionSorter.php
Generated on Mon Sep 1 2025 23:04:30 for ILIAS by
1.8.13 (using
Doxyfile
)