Elgg
Version 2.3
|
Go to the source code of this file.
Namespaces | |
Elgg | |
Save menu items. | |
Variables | |
$entity = $vars['entity'] | |
$icon_sizes = elgg_get_icon_sizes($entity->type, $entity->getSubtype()) | |
$size = elgg_extract('size', $vars, 'medium') | |
if(!array_key_exists($size, $icon_sizes)) | $vars ['size'] = $size |
$class = elgg_extract('img_class', $vars, '') | |
if(isset($entity->name)) | else |
$title = htmlspecialchars($title, ENT_QUOTES, 'UTF-8', false) | |
$url = $entity->getURL() | |
if(isset($vars['href'])) if(!isset($vars['width'])) if(!isset($vars['height'])) | $img_params |
if(!empty($class)) if(!empty($vars['width'])) if(!empty($vars['height'])) | $img = elgg_view('output/img', $img_params) |
$class = elgg_extract('img_class', $vars, '') |
Definition at line 26 of file default.php.
Definition at line 15 of file default.php.
$icon_sizes = elgg_get_icon_sizes($entity->type, $entity->getSubtype()) |
Definition at line 18 of file default.php.
if (!empty($class)) if (!empty($vars['width'])) if (!empty($vars['height'])) $img = elgg_view('output/img', $img_params) |
Definition at line 64 of file default.php.
Definition at line 47 of file default.php.
$size = elgg_extract('size', $vars, 'medium') |
Definition at line 20 of file default.php.
Definition at line 33 of file default.php.
Definition at line 35 of file default.php.
Definition at line 24 of file default.php.
Definition at line 30 of file default.php.