Elgg  Version 3.0
Variables
save.php File Reference

Go to the source code of this file.

Variables

 $menu
 Form body for setting up site menu. More...
 
 $menu_items = $menu->getItems()
 
 $num_featured_items = elgg_extract('num_featured_items', $vars, count($menu_items))
 
 $featured_menu_names = elgg_get_config('site_featured_menu_names')
 
 $dropdown_values = []
 
foreach($menu_items as $item) $dropdown_values [' '] = elgg_echo('none')
 
 $configure
 
 $fields = []
 
 $add_menu
 
 $custom_items = (array) elgg_get_config('site_custom_menu_items')
 
 $custom_items [''] = ''
 
 $name_str = elgg_echo('name')
 
 $url_str = elgg_echo('admin:plugins:label:website')
 
 foreach ($custom_items as $title=> $url)
 
 $footer
 

Variable Documentation

$add_menu
Initial value:
= elgg_view('output/longtext', [
'value' => elgg_echo('admin:add_menu_item:description'),
'class' => 'elgg-text-help',
])
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246

Definition at line 53 of file save.php.

for ($i=0;$i< $num_featured_items;$i++) $configure
Initial value:
= elgg_view('output/longtext', [
'value' => elgg_echo('admin:menu_items:description'),
'class' => 'elgg-text-help',
])
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246

Definition at line 23 of file save.php.

$custom_items = (array) elgg_get_config('site_custom_menu_items')

Definition at line 58 of file save.php.

$custom_items[''] = ''

Definition at line 59 of file save.php.

$dropdown_values = []

Definition at line 17 of file save.php.

foreach ($menu_items as $item) $dropdown_values[' '] = elgg_echo('none')

Definition at line 21 of file save.php.

$featured_menu_names = elgg_get_config('site_featured_menu_names')

Definition at line 15 of file save.php.

$fields = []

Definition at line 28 of file save.php.

$footer
Initial value:
'#type' => 'submit',
'value' => elgg_echo('save'),
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1395
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 87 of file save.php.

$menu
Initial value:
= elgg()->menus->getUnpreparedMenu('site', [
'sort_by' => 'name',
])
var elgg
Definition: elgglib.js:4

Form body for setting up site menu.

Definition at line 7 of file save.php.

$menu_items = $menu->getItems()

Definition at line 11 of file save.php.

$name_str = elgg_echo('name')

Definition at line 61 of file save.php.

$num_featured_items = elgg_extract('num_featured_items', $vars, count($menu_items))

Definition at line 13 of file save.php.

$url_str = elgg_echo('admin:plugins:label:website')

Definition at line 62 of file save.php.

foreach($custom_items as $title=> $url)

Definition at line 64 of file save.php.