Elgg  Version master
tags.php File Reference

Go to the source code of this file.


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

Variable Documentation

Initial value:
= [
'value' => ''

Definition at line 14 of file tags.php.

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

Definition at line 54 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['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 12 of file tags.php.

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

Definition at line 52 of file tags.php.


Definition at line 34 of file tags.php.