Elgg  Version 4.3
Variables
color.php File Reference

Go to the source code of this file.

Variables

 $value = elgg_extract('value', $vars)
 Displays the input color. More...
 
if(!preg_match('/^# $vars [a-f0-9]{6}$/i', $value))['style'] = "background-color: $value"
 
 $vars ['value'] = strtoupper($vars['value'])
 
 $vars ['class'] = 'elgg-color-box'
 

Variable Documentation

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

Displays the input color.

$vars['value'] Color code in HexCode format

Definition at line 8 of file color.php.

if (!preg_match('/^# $vars[a-f0-9]{6}$/i', $value))['style'] = "background-color: $value"

Definition at line 14 of file color.php.

$vars['value'] = strtoupper($vars['value'])

Definition at line 15 of file color.php.

$vars['class'] = 'elgg-color-box'

Definition at line 16 of file color.php.