Elgg  Version 1.9
Namespaces | Variables
select.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

if(isset($vars['class'])) else
 
 $defaults
 
 $vars = array_merge($defaults, $vars)
 
 $options_values = $vars['options_values']
 
 $options = $vars['options']
 
 $value = is_array($vars['value']) ? $vars['value'] : array($vars['value'])
 
 $vars ['multiple'] = !empty($vars['multiple'])
 
 if ($vars['multiple']&&!empty($vars['name'])&&is_string($vars['name']))
 

Variable Documentation

$defaults
Initial value:
= array(
'disabled' => false,
'value' => '',
'options_values' => array(),
'options' => array(),
)

Definition at line 27 of file select.php.

$options = $vars['options']

Definition at line 39 of file select.php.

$options_values = $vars['options_values']

Definition at line 36 of file select.php.

$value = is_array($vars['value']) ? $vars['value'] : array($vars['value'])

Definition at line 42 of file select.php.

$vars = array_merge($defaults, $vars)

Definition at line 34 of file select.php.

$vars['multiple'] = !empty($vars['multiple'])

Definition at line 46 of file select.php.

if (isset($vars['class'])) else
Initial value:
{
$vars['class'] = "elgg-input-dropdown"
$vars
Definition: select.php:34

Definition at line 23 of file select.php.

if($vars['multiple']&&!empty($vars['name'])&&is_string($vars['name']))

Definition at line 49 of file select.php.