Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
components
column
icon.php
Go to the documentation of this file.
1
<?php
11
$item
=
$vars
[
'item'
];
12
/* @var ElggEntity $item */
13
14
$size
=
elgg_extract
(
'size'
,
$vars
,
'small'
);
15
16
echo
elgg_view_entity_icon
(
$item
,
$size
);
$vars
foreach($class as $index=> $c) $vars["class"]
Definition:
icon.php:80
$item
$item
Render an icon.
Definition:
icon.php:11
echo
elgg echo
Translates a string.
Definition:
languages.js:48
elgg_extract
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:1375
$size
$size
Definition:
icon.php:14
elgg_view_entity_icon
elgg_view_entity_icon(\ElggEntity $entity, $size= 'medium', $vars=array())
View the icon of an entity.
Definition:
views.php:936
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11