Elgg  Version 1.11
icon.php
Go to the documentation of this file.
1 <?php
11 $class = (array) elgg_extract("class", $vars);
12 $class[] = "elgg-icon";
13 
14 $vars["class"] = $class;
15 
17 
18 echo "<span $attributes></span>";
$class
Definition: icon.php:11
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1246
elgg echo
Translates a string.
Definition: languages.js:43
$vars["class"]
Definition: icon.php:14
elgg_format_attributes(array $attrs=array())
Converts an associative array into a string of well-formed attributes.
Definition: output.php:139
$attributes
Definition: icon.php:16