Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
output
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
16
$attributes
=
elgg_format_attributes
(
$vars
);
17
18
echo
"<span $attributes></span>"
;
$class
$class
Definition:
icon.php:11
elgg_extract
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:1464
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$vars
$vars["class"]
Definition:
icon.php:14
elgg_format_attributes
elgg_format_attributes(array $attrs=array())
Converts an associative array into a string of well-formed attributes.
Definition:
output.php:118
$attributes
$attributes
Definition:
icon.php:16
Generated on Sat Dec 21 2024 00:00:36 for Elgg by
1.8.11