Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Menu
MenuItems.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Menu
;
4
5
use
Elgg\Collections\Collection
;
6
10
class
MenuItems
extends
Collection
{
11
15
public
function
__construct
(
$items
= [],
$item_class
= \ElggMenuItem::class) {
16
parent::__construct(
$items
,
$item_class
);
17
}
18
}
Elgg\Collections\Collection
A collection of unique items.
Definition:
Collection.php:11
Elgg\Collections\Collection\$items
$items
Definition:
Collection.php:19
Elgg\Menu
Definition:
Menu.php:3
Elgg\Menu\MenuItems\__construct
__construct($items=[], $item_class=\ElggMenuItem::class)
{}
Definition:
MenuItems.php:15
Collection
Elgg\Collections\Collection\$item_class
$item_class
Definition:
Collection.php:24
Elgg\Menu\MenuItems
A collection of menu items.
Definition:
MenuItems.php:10
Generated on Wed Dec 4 2024 00:00:21 for Elgg by
1.8.11