Elgg  Version 1.11
Variables
save.php File Reference

Go to the source code of this file.

Variables

 $num_featured_items = 6
 Form body for setting up site menu. More...
 
 $menu = elgg_get_config('menus')
 
 $builder = new ElggMenuBuilder($menu)
 
 $menu_items = $menu['default']
 
 $featured_menu_names = elgg_get_config('site_featured_menu_names')
 
 $dropdown_values = array()
 
foreach($menu_items as $item$dropdown_values [' '] = elgg_echo('none')
 
 for ( $i=0;$i< $num_featured_items;$i++)
 
 $custom_items = elgg_get_config('site_custom_menu_items')
 
 $name_str = elgg_echo('name')
 
 $url_str = elgg_echo('admin:plugins:label:website')
 
if(is_array($custom_items)) $new = elgg_echo('new')
 
 $name_input
 
 $url_input
 

Variable Documentation

◆ $builder

$builder = new ElggMenuBuilder($menu)
Examples
/root/Elgg/engine/lib/views.php.

Definition at line 12 of file save.php.

◆ $custom_items

$custom_items = elgg_get_config('site_custom_menu_items')

Definition at line 62 of file save.php.

◆ $dropdown_values [1/2]

$dropdown_values = array()

Definition at line 18 of file save.php.

◆ $dropdown_values [2/2]

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

Definition at line 22 of file save.php.

◆ $featured_menu_names

$featured_menu_names = elgg_get_config('site_featured_menu_names')

Definition at line 16 of file save.php.

◆ $menu

$menu = elgg_get_config('menus')

Definition at line 10 of file save.php.

◆ $menu_items

$menu_items = $menu['default']

Definition at line 14 of file save.php.

◆ $name_input

$name_input
Initial value:
= elgg_view('input/text', array(
'name' => 'custom_menu_titles[]',
))
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype='')
Return a parsed view.
Definition: views.php:354

Definition at line 86 of file save.php.

◆ $name_str

$name_str = elgg_echo('name')

Definition at line 64 of file save.php.

◆ $new

if (is_array( $custom_items)) $new = elgg_echo('new')

Definition at line 85 of file save.php.

◆ $num_featured_items

$num_featured_items = 6

Form body for setting up site menu.

Definition at line 7 of file save.php.

◆ $url_input

$url_input
Initial value:
= elgg_view('input/text', array(
'name' => 'custom_menu_urls[]',
))

Definition at line 90 of file save.php.

◆ $url_str

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

Definition at line 65 of file save.php.

◆ for

for($i=0; $i< $num_featured_items; $i++) ( )

Definition at line 35 of file save.php.