|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Immutable container class for Web Link items. More...
Inheritance diagram for ilWebLinkItemsContainer:
Collaboration diagram for ilWebLinkItemsContainer: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 () | |
Public Member Functions inherited from ilWebLinkBaseItemsContainer | |
| __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 |
Protected Attributes inherited from ilWebLinkBaseItemsContainer | |
| 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 $items, $webr_id, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilWebLinkItemsContainer::getFirstItem | ( | ) |
Reimplemented from ilWebLinkBaseItemsContainer.
Definition at line 140 of file class.ilWebLinkItemsContainer.php.
| ilWebLinkItemsContainer::getItems | ( | ) |
Reimplemented from ilWebLinkBaseItemsContainer.
Definition at line 135 of file class.ilWebLinkItemsContainer.php.
References $items.
Referenced by sort().
Here is the caller graph for this function:| ilWebLinkItemsContainer::getWebrId | ( | ) |
Definition at line 145 of file class.ilWebLinkItemsContainer.php.
References $webr_id.
Referenced by sort().
Here is the caller graph for this function:
|
protected |
Definition at line 116 of file class.ilWebLinkItemsContainer.php.
References $webr_id, and ilContainerSorting\lookupPositions().
Referenced by sort().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 108 of file class.ilWebLinkItemsContainer.php.
References $webr_id, and ilContainerSortingSettings\_lookupSortMode().
Referenced by sort().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
|
protected |
Definition at line 121 of file class.ilWebLinkItemsContainer.php.
References ilArrayUtil\sortArray().
Referenced by sort().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 31 of file class.ilWebLinkItemsContainer.php.
Referenced by __construct(), and getItems().
|
protected |
Definition at line 27 of file class.ilWebLinkItemsContainer.php.
Referenced by __construct(), getWebrId(), lookupManualPositions(), and lookupSortMode().