ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilUsersGallerySortedUserGroup Class Reference
+ Inheritance diagram for ilUsersGallerySortedUserGroup:
+ Collaboration diagram for ilUsersGallerySortedUserGroup:

Public Member Functions

 __construct (protected ilUsersGalleryUserCollection $collection, protected ilUsersGalleryUserCollectionSorter $sorter)
 
 setItems (array $items)
 
 getItems ()
 
 current ()
 
 next ()
 
 key ()
 
 valid ()
 
 rewind ()
 
 count ()
 
 setHighlighted (bool $status)
 
 isHighlighted ()
 
 setLabel (string $label)
 
 getLabel ()
 
 setHighlighted (bool $status)
 
 isHighlighted ()
 
 getLabel ()
 
 setLabel (string $label)
 
 setItems (array $items)
 
 getItems ()
 

Detailed Description

Definition at line 21 of file class.ilUsersGallerySortedUserGroup.php.

Constructor & Destructor Documentation

◆ __construct()

ilUsersGallerySortedUserGroup::__construct ( protected ilUsersGalleryUserCollection  $collection,
protected ilUsersGalleryUserCollectionSorter  $sorter 
)

Definition at line 23 of file class.ilUsersGallerySortedUserGroup.php.

24 {
25 }

Member Function Documentation

◆ count()

ilUsersGallerySortedUserGroup::count ( )

Definition at line 66 of file class.ilUsersGallerySortedUserGroup.php.

66 : int
67 {
68 return $this->collection->count();
69 }

◆ current()

ilUsersGallerySortedUserGroup::current ( )

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

41 {
42 return $this->collection->current();
43 }

◆ getItems()

ilUsersGallerySortedUserGroup::getItems ( )
Returns
array<ilUsersGalleryUser>

Implements ilUsersGalleryUserCollection.

Definition at line 35 of file class.ilUsersGallerySortedUserGroup.php.

35 : array
36 {
37 return $this->collection->getItems();
38 }

◆ getLabel()

ilUsersGallerySortedUserGroup::getLabel ( )

Implements ilUsersGalleryUserCollection.

Definition at line 86 of file class.ilUsersGallerySortedUserGroup.php.

86 : string
87 {
88 return $this->collection->getLabel();
89 }

◆ isHighlighted()

ilUsersGallerySortedUserGroup::isHighlighted ( )

Implements ilUsersGalleryUserCollection.

Definition at line 76 of file class.ilUsersGallerySortedUserGroup.php.

76 : bool
77 {
78 return $this->collection->isHighlighted();
79 }

◆ key()

ilUsersGallerySortedUserGroup::key ( )

Definition at line 50 of file class.ilUsersGallerySortedUserGroup.php.

50 : int
51 {
52 return $this->collection->key();
53 }

◆ next()

ilUsersGallerySortedUserGroup::next ( )

Definition at line 45 of file class.ilUsersGallerySortedUserGroup.php.

45 : void
46 {
47 $this->collection->next();
48 }

◆ rewind()

ilUsersGallerySortedUserGroup::rewind ( )

Definition at line 60 of file class.ilUsersGallerySortedUserGroup.php.

60 : void
61 {
62 $this->collection->setItems($this->sorter->sort($this->collection->getItems()));
63 $this->collection->rewind();
64 }

◆ setHighlighted()

ilUsersGallerySortedUserGroup::setHighlighted ( bool  $status)

Implements ilUsersGalleryUserCollection.

Definition at line 71 of file class.ilUsersGallerySortedUserGroup.php.

71 : void
72 {
73 $this->collection->setHighlighted($status);
74 }

◆ setItems()

ilUsersGallerySortedUserGroup::setItems ( array  $items)
Parameters
array<ilUsersGalleryUser>$items

Implements ilUsersGalleryUserCollection.

Definition at line 27 of file class.ilUsersGallerySortedUserGroup.php.

27 : void
28 {
29 $this->collection->setItems($items);
30 }

◆ setLabel()

ilUsersGallerySortedUserGroup::setLabel ( string  $label)

Implements ilUsersGalleryUserCollection.

Definition at line 81 of file class.ilUsersGallerySortedUserGroup.php.

81 : void
82 {
83 $this->collection->setLabel($label);
84 }

◆ valid()

ilUsersGallerySortedUserGroup::valid ( )

Definition at line 55 of file class.ilUsersGallerySortedUserGroup.php.

55 : bool
56 {
57 return $this->collection->valid();
58 }

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