Elgg  Version master
Public Member Functions | Protected Member Functions | List of all members
Elgg\Entity\CropIcon Class Reference

Generic action listener to support cropping an existing icon. More...

Public Member Functions

 __invoke (\Elgg\Hook $hook)
 Set inputs required to support cropping an existing icon. More...
 

Protected Member Functions

 arrayToUploadedFile ($file_data)
 convert $_FILES array to UploadedFile More...
 

Detailed Description

Generic action listener to support cropping an existing icon.

Since
3.1

Definition at line 12 of file CropIcon.php.

Member Function Documentation

Elgg\Entity\CropIcon::__invoke ( \Elgg\Hook  $hook)

Set inputs required to support cropping an existing icon.

Parameters
\Elgg\Hook$hook'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_datafile information array
Returns
false|UploadedFile

Definition at line 115 of file CropIcon.php.


The documentation for this class was generated from the following file: