Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
reset.php
Go to the documentation of this file.
1 <?php
11 $vars['type'] = 'reset';
12 $vars['class'] = elgg_extract('class', $vars, 'elgg-button-cancel');
13 
14 echo elgg_view('input/button', $vars);
$vars['type']
Definition: reset.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