8 elgg_deprecated_notice(
"/avatar/view resource view has been deprecated and will be removed. Use elgg_get_inline_url() instead.",
'2.2');
15 if (!in_array(
$size, array(
'master',
'large',
'medium',
'small',
'tiny',
'topbar'))) {
23 $filehandler->owner_guid =
$user->guid;
24 $filehandler->setFilename(
"profile/{$user->guid}{$size}.jpg");
if(!in_array($size, array('master', 'large', 'medium', 'small', 'tiny', 'topbar'))) $avatar_url
elgg_get_simplecache_url($view, $subview='')
Get the URL for the cached view.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
forward($location="", $reason='system')
Forward to $location.
elgg_get_inline_url(\ElggFile $file, $use_cookie=false, $expires='')
Returns file's URL for inline display Suitable for displaying cacheable resources,...
elgg_get_page_owner_entity()
Gets the owner entity for the current page.