Go to the source code of this file.
◆ $add_menu
Initial value:
'value' =>
elgg_echo(
'admin:add_menu_item:description'),
'class' => 'elgg-text-help',
])
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
Definition at line 55 of file save.php.
◆ $configure
for ( $i=0;$i< $num_featured_items;$i++) $configure |
Initial value:
'value' =>
elgg_echo(
'admin:menu_items:description'),
'class' => 'elgg-text-help',
])
Definition at line 25 of file save.php.
◆ $custom_items [1/2]
◆ $custom_items [2/2]
◆ $dropdown_values [1/2]
◆ $dropdown_values [2/2]
◆ $featured_menu_names
◆ $fields
◆ $footer
Initial value:
'#type' => 'submit',
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition at line 89 of file save.php.
◆ $menu
Initial value:=
elgg()->menus->getUnpreparedMenu(
'site', [
'sort_by' => 'name',
])
elgg()
Bootstrapping and helper procedural code available for use in Elgg core and plugins.
Form body for setting up site menu.
- Examples
- /root/Elgg/engine/lib/views.php.
Definition at line 7 of file save.php.
◆ $menu_items
$menu_items = $menu->getItems() |
◆ $name_str
◆ $num_featured_items
$num_featured_items = elgg_extract('num_featured_items', $vars, count($menu_items)) |
◆ $url_str
$url_str = elgg_echo('admin:plugins:label:website') |
◆ foreach
foreach($custom_items as $title=> $url) |
( |
|
$custom_items as, |
|
|
|
$url |
|
) |
| |