16 if (isset(
$vars[
'entity'])) {
18 unset(
$vars[
'entity']);
21 if (empty(
$vars[
'tags']) && (!empty(
$vars[
'value']) ||
$vars[
'value'] === 0 ||
$vars[
'value'] ===
'0')) {
25 if (empty(
$vars[
'tags']) &&
$vars[
'value'] !== 0 &&
$vars[
'value'] !==
'0') {
29 if (!is_array(
$vars[
'tags'])) {
34 if (isset(
$vars[
'list_class'])) {
39 if (isset(
$vars[
'item_class'])) {
47 foreach(
$vars[
'tags'] as $tag) {
48 if (is_string($tag) && strlen($tag) > 0) {
64 <
div class=
"clearfix">
65 <
ul class=
"$list_class">
elgg_view_icon($name, $class= '')
View one of the elgg sprite icons.
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.