Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Elgg
EntityIcon
saveIconFromUploadedFile
Elgg\EntityIcon::saveIconFromUploadedFile PHP Method
EntityIcon Interface Documentation
Datei anzeigen
Open project: elgg/elgg
saveIconFromUploadedFile()
public
method
Saves icons using an uploaded file as the source.
public
saveIconFromUploadedFile
(
string
$input_name
,
string
$type
= 'icon',
array
$coords
= [] ) :
boolean
$input_name
string
Form input name
$type
string
The name of the icon. e.g., 'icon', 'cover_photo'
$coords
array
An array of cropping coordinates x1, y1, x2, y2
return
boolean
public function saveIconFromUploadedFile($input_name, $type = 'icon', array $coords = array());
EntityIcon
deleteIcon
getIcon
getIconLastChange
getIconURL
hasIcon
saveIconFromElggFile
saveIconFromLocalFile
saveIconFromUploadedFile