Elgg  Version 1.11
Go to the documentation of this file.
1 <?php
12 elgg_deprecated_notice('The profile/icon view was deprecated. Use elgg_view_entity_icon()', 1.8);
14 $override = elgg_extract('override', $vars, false);
15 $vars['use_hover'] = !$override;
17 echo elgg_view('icon/user/default', $vars);
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
Definition: icon.php:14
elgg echo
Translates a string.
Definition: languages.js:43
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
Definition: elgglib.php:1006
Definition: icon.php:14
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354