ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $webr_id, array $items=[]) | |
sort () | |
Sorts the items in this container according to the settings of this web link object. More... | |
getItems () | |
getFirstItem () | |
getWebrId () | |
![]() | |
__construct (array $items=[]) | |
getItems () | |
getFirstItem () | |
Protected Attributes | |
int | $webr_id |
array | $items |
![]() | |
array | $items |
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 Immutable container class for Web Link items
Definition at line 25 of file class.ilWebLinkItemsContainer.php.
ilWebLinkItemsContainer::__construct | ( | int | $webr_id, |
array | $items = [] |
||
) |
int | $webr_id | |
ilWebLinkItem[] | $items |
Definition at line 37 of file class.ilWebLinkItemsContainer.php.
References $webr_id, and ILIAS\GlobalScreen\Provider\__construct().
ilWebLinkItemsContainer::getFirstItem | ( | ) |
Definition at line 126 of file class.ilWebLinkItemsContainer.php.
ilWebLinkItemsContainer::getItems | ( | ) |
Definition at line 121 of file class.ilWebLinkItemsContainer.php.
References $items.
Referenced by sort().
ilWebLinkItemsContainer::getWebrId | ( | ) |
Definition at line 131 of file class.ilWebLinkItemsContainer.php.
References $webr_id.
Referenced by sort().
ilWebLinkItemsContainer::sort | ( | ) |
Sorts the items in this container according to the settings of this web link object.
Definition at line 47 of file class.ilWebLinkItemsContainer.php.
References ilContainerSortingSettings\_lookupSortMode(), getItems(), getWebrId(), ILIAS\Repository\int(), ilContainerSorting\lookupPositions(), ilContainer\SORT_MANUAL, ilContainer\SORT_TITLE, and ilArrayUtil\sortArray().
|
protected |
Definition at line 31 of file class.ilWebLinkItemsContainer.php.
Referenced by getItems().
|
protected |
Definition at line 27 of file class.ilWebLinkItemsContainer.php.
Referenced by __construct(), and getWebrId().