Elgg  Version 2.3
Variables
tag.php File Reference

Go to the source code of this file.

Variables

if(empty($vars['value']) && $vars['value'] !==0 && $vars['value'] !=='0') $query_params = array()
 Elgg single tag output. More...
 
 $query_params ["q"] = $vars['value']
 
 $query_params ["search_type"] = "tags"
 
if(!empty($vars['type'])) if(!empty($vars['subtype'])) $url = !empty($vars['base_url']) ? $vars['base_url'] : 'search'
 
 $params
 

Variable Documentation

◆ $params

$params
Initial value:
= array(
'href' => $url,
'text' => $vars['value'],
'encode_text' => true,
'rel' => 'tag',
)
$vars['class']
Elgg tag input.
Definition: tag.php:11
if(!empty($vars['type'])) if(!empty($vars['subtype'])) $url
Definition: tag.php:31

Definition at line 36 of file tag.php.

◆ $query_params [1/3]

if (empty( $vars[ 'value']) &&$vars[ 'value'] !==0 &&$vars[ 'value'] !=='0') $query_params = array()

Elgg single tag output.

Accepts all output/url options

@uses $vars['value'] String @uses $vars['type'] The entity type, optional @uses $vars['subtype'] The entity subtype, optional @uses $vars['base_url'] Base URL for tag link, optional, defaults to search URL

Definition at line 16 of file tag.php.

◆ $query_params [2/3]

$query_params["q"] = $vars['value']

Definition at line 18 of file tag.php.

◆ $query_params [3/3]

$query_params["search_type"] = "tags"

Definition at line 19 of file tag.php.

◆ $url

$url = !empty($vars['base_url']) ? $vars['base_url'] : 'search'

Definition at line 31 of file tag.php.