Elgg  Version 2.3
Variables
crop.php File Reference

Go to the source code of this file.

Variables

 $guid = get_input('guid')
 Avatar crop action. More...
 
 $owner = get_entity($guid)
 
if(! $owner||!($owner instanceof ElggUser)||! $owner->canEdit()) $coords
 
 $view = 'river/user/default/profileiconupdate'
 

Variable Documentation

◆ $coords

if (! $owner||!( $owner instanceof ElggUser)||! $owner->canEdit()) $coords
Initial value:
= [
'x1' => (int) get_input('x1', 0),
'y1' => (int) get_input('y1', 0),
'x2' => (int) get_input('x2', 0),
'y2' => (int) get_input('y2', 0),
]
get_input($variable, $default=null, $filter_result=true)
Get some input from variables passed submitted through GET or POST.
Definition: input.php:27

Definition at line 15 of file crop.php.

◆ $guid

$guid = get_input('guid')

Avatar crop action.

Definition at line 7 of file crop.php.

◆ $owner

$owner = get_entity($guid)

Definition at line 8 of file crop.php.

◆ $view

$view = 'river/user/default/profileiconupdate'