Elgg  Version 1.9
Namespaces | Variables
checkbox.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)
 
 $default = $vars['default']
 
if(isset($vars['name']) && $default !==false) if (isset( $vars[ 'label']))
 

Variable Documentation

◆ $default

$default = $vars['default']

Definition at line 36 of file checkbox.php.

◆ $defaults

$defaults
Initial value:
= array(
'default' => 0,
'disabled' => false,
)

Definition at line 29 of file checkbox.php.

◆ $vars

$vars = array_merge($defaults, $vars)

Definition at line 34 of file checkbox.php.

◆ else

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

Definition at line 25 of file checkbox.php.

◆ if

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

Definition at line 43 of file checkbox.php.