Méthode | Description | |
---|---|---|
__construct ( array $params, array $items ) | Constructor | |
getItems ( ) : ElggMenuIte\ElggMenuItem[] | Get the menu items | |
getName ( ) : string | Get the menu name | |
getParams ( ) : array | Get the menu parameters | |
getSortBy ( ) : string | callable | Get the designated (or default) sort strategy | |
setSortBy ( string | callable $sort_by = 'text' ) : void | Set how this menu should be sorted |
public __construct ( array $params, array $items ) | ||
$params | array | Parameters to be passed to the "prepare" hook and views. Must include value for "name". |
$items | array | Menu items |
public getItems ( ) : ElggMenuIte\ElggMenuItem[] | ||
Résultat | ElggMenuIte\ElggMenuItem[] |