36 if (isset(
$vars[
'href'])) {
40 if (!isset(
$vars[
'width'])) {
43 if (!isset(
$vars[
'height'])) {
56 if (!empty(
$vars[
'width'])) {
60 if (!empty(
$vars[
'height'])) {
if(isset($vars['href'])) if(!isset($vars['width'])) if(!isset($vars['height'])) $img_params
elgg_get_icon_sizes($entity_type=null, $entity_subtype=null, $type= 'icon')
Returns a configuration array of icon sizes.
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
if(!array_key_exists($size, $icon_sizes)) $vars['size']
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
if(!empty($class)) if(!empty($vars['width'])) if(!empty($vars['height'])) $img