Elgg  Version master
Variables
tag.php File Reference

Go to the source code of this file.

Variables

 $value = elgg_extract('value', $vars)
 Elgg single tag output. More...
 
if(elgg_is_empty($value)) $href = elgg_extract('href', $vars)
 
 $vars ['rel'] = 'tag'
 
if($href) else
 

Variable Documentation

if (elgg_is_empty($value)) $href = elgg_extract('href', $vars)

Definition at line 16 of file tag.php.

$value = elgg_extract('value', $vars)

Elgg single tag output.

Accepts all output/url options

$vars['value'] String, text of the tag $vars['base_url'] Base URL for tag link, optional, usable in view var hooks $vars['href'] URL for tag link, optional, if left empty only text is shown

Definition at line 11 of file tag.php.

$vars['rel'] = 'tag'

Definition at line 17 of file tag.php.

if ($href) else
Initial value:
{
echo elgg_view('output/text', $vars)
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
$vars['class']
Elgg tag input.
Definition: tag.php:11

Definition at line 26 of file tag.php.