Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
submit.php
Go to the documentation of this file.
1 <?php
11 $vars['type'] = 'submit';
12 
13 $vars['class'] = (array) elgg_extract('class', $vars, []);
14 $vars['class'][] = "elgg-button-submit";
15 
16 echo elgg_view('input/button', $vars);
$vars['type']
Definition: submit.php:11
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1310