Elgg  Version 4.3
Variables
tags.php File Reference

Go to the source code of this file.

Variables

 $vars ['class'] = elgg_extract_class($vars, 'elgg-input-tags')
 Elgg tag input Displays a tag input field. More...
 
 $defaults
 
 if (is_array($vars['value']))
 
if(isset($vars['id'])) else
 
 $selector = ".elgg-input-tags[name='{$name}']"
 

Variable Documentation

$defaults
Initial value:
= [
'value' => ''

Definition at line 15 of file tags.php.

$selector = ".elgg-input-tags[name='{$name}']"

Definition at line 55 of file tags.php.

if (isset($vars['entity'])) $vars = elgg_extract_class($vars, 'elgg-input-tags')

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) $vars['tagify_options'] Optional. Array of options to pass to the tagify init

Definition at line 13 of file tags.php.

if (isset($vars['id'])) else
Initial value:
{
if(!$user||!$user->canDelete()) $name
Definition: delete.php:22
$vars['class']
Elgg tag input Displays a tag input field.
Definition: tags.php:13
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:547

Definition at line 53 of file tags.php.

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

Definition at line 35 of file tags.php.