Elgg  Version 1.11
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

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

Definition at line 15 of file tags.php.

◆ $vars [1/2]

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

Elgg tag input Displays a tag input field.

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

Definition at line 12 of file tags.php.

◆ $vars [2/2]

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

Definition at line 13 of file tags.php.

◆ if

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

Definition at line 29 of file tags.php.