ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Immutable container class for Web Link items. 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 Member Functions | |
lookupSortMode (int $webr_id) | |
lookupManualPositions (int $webr_id) | |
sortArray (array $array, string $sort_by_key, bool $numeric) | |
Protected Attributes | |
int | $webr_id |
array | $items |
![]() | |
array | $items |
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 140 of file class.ilWebLinkItemsContainer.php.
References null.
ilWebLinkItemsContainer::getItems | ( | ) |
Definition at line 135 of file class.ilWebLinkItemsContainer.php.
References $items.
Referenced by sort().
ilWebLinkItemsContainer::getWebrId | ( | ) |
Definition at line 145 of file class.ilWebLinkItemsContainer.php.
References $webr_id.
Referenced by sort().
|
protected |
Definition at line 116 of file class.ilWebLinkItemsContainer.php.
References ilContainerSorting\lookupPositions().
Referenced by sort().
|
protected |
Definition at line 108 of file class.ilWebLinkItemsContainer.php.
References ilContainerSortingSettings\_lookupSortMode().
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 getItems(), getWebrId(), ILIAS\Repository\int(), lookupManualPositions(), lookupSortMode(), ilContainer\SORT_MANUAL, ilContainer\SORT_TITLE, and sortArray().
|
protected |
Definition at line 121 of file class.ilWebLinkItemsContainer.php.
References ilArrayUtil\sortArray().
Referenced by sort().
|
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().