Elgg  Version 4.3
Variables
form.php File Reference

Go to the source code of this file.

Variables

 $defaults
 
 $vars = array_merge($defaults, $vars)
 
 $vars ['class'] = elgg_extract_class($vars, 'elgg-form')
 
if(elgg_extract('prevent_double_submit', $vars, true)) $vars ['action'] = elgg_normalize_url($vars['action'])
 
 $vars ['method'] = strtolower($vars['method'])
 
 $ignore_empty_body = (bool) elgg_extract('ignore_empty_body', $vars, true)
 
 $body = elgg_extract('body', $vars)
 

Variable Documentation

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

Definition at line 36 of file form.php.

$defaults
Initial value:
= [
'method' => 'post'

Definition at line 19 of file form.php.

$ignore_empty_body = (bool) elgg_extract('ignore_empty_body', $vars, true)

Definition at line 33 of file form.php.

$vars = array_merge($defaults, $vars)

Definition at line 24 of file form.php.

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

Definition at line 26 of file form.php.

if (elgg_extract('prevent_double_submit', $vars, true)) $vars['action'] = elgg_normalize_url($vars['action'])

Definition at line 30 of file form.php.

$vars['method'] = strtolower($vars['method'])

Definition at line 31 of file form.php.