Generic action listener to support cropping an existing icon.
More...
Generic action listener to support cropping an existing icon.
- Since
- 3.1
Definition at line 12 of file CropIcon.php.
Elgg\Entity\CropIcon::__invoke |
( |
\Elgg\Event |
$event | ) |
|
Set inputs required to support cropping an existing icon.
- Parameters
-
\Elgg\Event | $event | 'action:validate', 'all' |
- Returns
- void
Definition at line 21 of file CropIcon.php.
Elgg\Entity\CropIcon::arrayToUploadedFile |
( |
|
$file_data | ) |
|
|
protected |
convert $_FILES array to UploadedFile
- Parameters
-
array | $file_data | file information array |
- Returns
- false|UploadedFile
Definition at line 123 of file CropIcon.php.
Elgg\Entity\CropIcon::prepareUpload |
( |
int |
$entity_guid, |
|
|
string |
$input_name, |
|
|
string |
$icon_type |
|
) |
| |
|
protected |
Prepare a single existing icon for cropping.
- Parameters
-
int | $entity_guid | the Entity GUID |
string | $input_name | input name for the icon |
string | $icon_type | name of the icon type |
- Returns
- void
Definition at line 62 of file CropIcon.php.
The documentation for this class was generated from the following file: