Elgg  Version master
Variables
submit.php File Reference

Go to the source code of this file.

Variables

 $item = elgg_extract('item', $vars)
 Output an ElggMenuItem as a submit button. More...
 
 $vars = array_merge($item->getValues(), $vars)
 
 $vars ['class'] = elgg_extract_class($vars, ['elgg-menu-content'])
 
if($item->getLinkClass()) $href = elgg_extract('href', $vars)
 
 if ( $item->getConfirmText())
 

Variable Documentation

◆ $href

if ( $item->getLinkClass()) $href = elgg_extract('href', $vars)
Examples
/root/Elgg/engine/lib/views.php.

Definition at line 22 of file submit.php.

◆ $item

$item = elgg_extract('item', $vars)

Output an ElggMenuItem as a submit button.

@uses $vars['item'] the ElggMenuItem to display

Definition at line 8 of file submit.php.

◆ $vars [1/2]

$vars = array_merge($item->getValues(), $vars)

Definition at line 15 of file submit.php.

◆ $vars [2/2]

$vars[ 'class'] = elgg_extract_class($vars, ['elgg-menu-content'])

Definition at line 16 of file submit.php.

◆ if

if($item->getConfirmText()) (   $item->())

Definition at line 30 of file submit.php.