Elgg  Version 2.3
Namespaces | Variables
checkboxes.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

 $defaults
 
 $vars = array_merge($defaults, $vars)
 
if(empty($vars['options'])) $list_class = elgg_extract_class($vars)
 
 $list_class [] = 'elgg-input-checkboxes'
 
 $id = elgg_extract('id', $vars, '')
 
if(is_array($vars['value'])) else
 
 $input_vars = $vars
 
 $input_vars ['default'] = false
 
if($vars['name']&&$vars['default']!==false) $checkboxes = ''
 
 foreach ($vars['options'] as $label=> $value)
 

Variable Documentation

if ($vars['name']&&$vars['default']!==false) $checkboxes = ''

Definition at line 74 of file checkboxes.php.

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

Definition at line 31 of file checkboxes.php.

$id = elgg_extract('id', $vars, '')

Definition at line 52 of file checkboxes.php.

$input_vars = $vars
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 61 of file checkboxes.php.

$input_vars['default'] = false

Definition at line 62 of file checkboxes.php.

if (empty($vars['options'])) $list_class = elgg_extract_class($vars)

Definition at line 46 of file checkboxes.php.

$list_class[] = 'elgg-input-checkboxes'

Definition at line 49 of file checkboxes.php.

$vars = array_merge($defaults, $vars)

Definition at line 40 of file checkboxes.php.

if (is_array($vars['value'])) else
Initial value:
{
$values = array(elgg_strtolower($vars['value']))
elgg_strtolower()
Wrapper function for mb_strtolower().
Definition: mb_wrapper.php:174
$vars
Definition: checkboxes.php:40

Definition at line 57 of file checkboxes.php.

foreach($vars['options'] as $label=> $value)

Definition at line 75 of file checkboxes.php.