Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Variables
tags.php File Reference

Go to the source code of this file.

Variables

 $vars ['class'] = (array) elgg_extract('class', $vars, [])
 Elgg tag input Displays a tag input field. More...
 
 $vars ['class'][] = 'elgg-input-tags'
 
 $defaults
 
 if (is_array($vars['value']))
 

Variable Documentation

$defaults
Initial value:
= array(
'value' => '',
'disabled' => false,
'autocapitalize' => 'off',
'type' => 'text'
)

Definition at line 15 of file tags.php.

if (isset($vars['entity'])) $vars = (array) elgg_extract('class', $vars, [])

Elgg tag input Displays a tag input field.

$vars['disabled'] $vars['class'] Additional CSS class $vars['value'] Array of tags or a string $vars['entity'] Optional. Entity whose tags are being displayed (metadata ->tags)

Definition at line 12 of file tags.php.

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

Definition at line 13 of file tags.php.

if(is_array($vars['value']))

Definition at line 29 of file tags.php.