Elgg  Version 1.11
Namespaces | Variables
form.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

 $defaults
 
 $vars = array_merge($defaults, $vars)
 
 $vars ['class'] = (array) elgg_extract('class', $vars, [])
 
 $vars ['class'][] = 'elgg-form'
 
 $vars ['action'] = elgg_normalize_url($vars['action'])
 
 $vars ['method'] = strtolower($vars['method'])
 
 $body = $vars['body']
 

Variable Documentation

$body = $vars['body']

Definition at line 31 of file form.php.

$defaults
Initial value:
= array(
'method' => 'post',
'disable_security' => FALSE,
)

Definition at line 18 of file form.php.

$vars = array_merge($defaults, $vars)

Definition at line 23 of file form.php.

$vars['class'] = (array) elgg_extract('class', $vars, [])

Definition at line 25 of file form.php.

$vars['class'][] = 'elgg-form'

Definition at line 26 of file form.php.

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

Definition at line 28 of file form.php.

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

Definition at line 29 of file form.php.