43         $file->owner_guid = 
$guid;
 
   44         $file->setFilename(
"profile/{$guid}{$name}.jpg");
 
   46         $file->write($resized);
 
   51         foreach (
$files as $file) {
 
   68 $view = 
'river/user/default/profileiconupdate';
 
   72     'action_type' => 
'update',
 
   73     'subject_guid' => 
$owner->guid,
 
   74     'object_guid' => 
$owner->guid,
 
if(! $owner||!($owner instanceof ElggUser)||! $owner->canEdit()) $x1
 
if(!file_exists($filename)) $icon_sizes
 
if($guid==elgg_get_logged_in_user_guid()) $name
 
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
 
register_error($error)
Display an error on next page load.
 
system_message($message)
Display a system message on next page load.
 
forward($location="", $reason='system')
Forward to $location.
 
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
 
elgg_delete_river(array $options=array())
Delete river items.
 
elgg_create_river_item(array $options=array())
Adds an item to the river.
 
get_entity($guid)
Loads and returns an entity object from a guid.
 
get_resized_image_from_existing_file($input_name, $maxwidth, $maxheight, $square=false, $x1=0, $y1=0, $x2=0, $y2=0, $upscale=false)
Gets the jpeg contents of the resized version of an already uploaded image (Returns false if the file...