Elgg  Version 3.0
Namespaces | Variables
form.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Configuration exception.
 

Variables

 $defaults
 
 $vars = array_merge($defaults, $vars)
 
 $vars ['class'] = elgg_extract_class($vars, 'elgg-form')
 
 $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 35 of file form.php.

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

Definition at line 21 of file form.php.

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

Definition at line 32 of file form.php.

$vars = array_merge($defaults, $vars)

Definition at line 26 of file form.php.

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

Definition at line 28 of file form.php.

$vars['action'] = elgg_normalize_url($vars['action'])

Definition at line 29 of file form.php.

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

Definition at line 30 of file form.php.