Go to the source code of this file.
|
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'])) |
|
Initial value:= array(
'disabled' => false,
'value' => '',
'options_values' => array(),
'options' => array(),
)
Definition at line 27 of file select.php.
$options = $vars['options'] |
$options_values = $vars['options_values'] |
$value = is_array($vars['value']) ? $vars['value'] : array($vars['value']) |
$vars = array_merge($defaults, $vars) |
$vars['multiple'] = !empty($vars['multiple']) |
if (isset($vars['class'])) else |
Initial value:{
$vars[
'class'] =
"elgg-input-dropdown"
Definition at line 23 of file select.php.
if($vars['multiple']&&!empty($vars['name'])&&is_string($vars['name'])) |