Elgg  Version 2.3
link.php
Go to the documentation of this file.
1 <?php
10 $item = $vars['item'];
11 /* @var ElggEntity $item */
12 
13 echo elgg_view('output/url', [
14  'href' => $item->getURL(),
15  'text' => $item->getDisplayName(),
16 ]);
$vars['entity']
elgg echo
Translates a string.
Definition: languages.js:48
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:336