Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Variables
crop.php File Reference

Go to the source code of this file.

Variables

 $master_img
 
 $preview_img
 
 $coords = array('x1', 'x2', 'y1', 'y2')
 
 foreach ($coords as $coord)
 

Variable Documentation

$coords = array('x1', 'x2', 'y1', 'y2')

Definition at line 32 of file crop.php.

$master_img
Initial value:
= elgg_view('output/img', array(
'src' => $vars['entity']->getIconUrl('master'),
'alt' => elgg_echo('avatar'),
'class' => 'mrl',
'id' => 'user-avatar-cropper',
))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$vars['entity']
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342

Definition at line 12 of file crop.php.

$preview_img
Initial value:
= elgg_view('output/img', array(
'src' => $vars['entity']->getIconUrl('master'),
'alt' => elgg_echo('avatar'),
))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$vars['entity']
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342

Definition at line 19 of file crop.php.

foreach($coords as $coord)

Definition at line 33 of file crop.php.