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_build_query($query_params)

Definition at line 35 of file tag.php.

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

Elgg single tag output.

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

Definition at line 16 of file tag.php.

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

Definition at line 18 of file tag.php.

$query_params["search_type"] = "tags"

Definition at line 19 of file tag.php.

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

Definition at line 31 of file tag.php.

if($http_query)

Definition at line 36 of file tag.php.