Elgg  Version 1.9
Namespaces | Variables
radio.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

 $defaults
 
 $vars = array_merge($defaults, $vars)
 
 $id = ''
 
if(isset($vars['id'])) $class = "elgg-input-radios elgg-{$vars['align']}"
 
 $vars ['class'] = 'elgg-input-radio'
 
if(is_array($vars['value'])) else
 
 $options = $vars['options']
 
 $value = $vars['value']
 

Variable Documentation

if (isset($vars['id'])) $class = "elgg-input-radios elgg-{$vars['align']}"

Definition at line 37 of file radio.php.

$defaults
Initial value:
= array(
'align' => 'vertical',
'value' => array(),
'disabled' => false,
'options' => array(),
'name' => '',
)

Definition at line 21 of file radio.php.

$id = ''

Definition at line 31 of file radio.php.

$options = $vars['options']

Definition at line 51 of file radio.php.

$value = $vars['value']

Definition at line 54 of file radio.php.

$vars = array_merge($defaults, $vars)

Definition at line 29 of file radio.php.

$vars['class'] = 'elgg-input-radio'

Definition at line 43 of file radio.php.

if (is_array($vars['value'])) else
Initial value:
{
$vars['value'] = array(elgg_strtolower($vars['value']))
elgg_strtolower()
Wrapper function for mb_strtolower().
Definition: mb_wrapper.php:178
$vars
Definition: radio.php:29

Definition at line 47 of file radio.php.