Elgg  Version 1.9
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'])) if(!empty($vars['base_url'])) else
 
 $http_query = http_build_query($query_params)
 
 if ( $http_query)
 

Variable Documentation

◆ $http_query

$http_query = http_build_query($query_params)

Definition at line 35 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.

@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.

◆ else

if (!empty( $vars[ 'type'])) if (!empty( $vars[ 'subtype'])) if (!empty( $vars[ 'base_url'])) else
Initial value:
{
$url = elgg_get_site_url() . "search"
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
$url
Definition: exceptions.php:24

Definition at line 31 of file tag.php.

◆ if

if($http_query) (   $http_query)

Definition at line 36 of file tag.php.