Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elgg
EntityIcon
hasIcon
Elgg\EntityIcon::hasIcon PHP Method
EntityIcon Interface Documentation
Show file
Open project: elgg/elgg
hasIcon()
public
method
Returns if the entity has an icon of the passed type.
public
hasIcon
(
string
$size
,
string
$type
= 'icon' ) :
boolean
$size
string
The size of the icon
$type
string
The name of the icon. e.g., 'icon', 'cover_photo'
return
boolean
public function hasIcon($size, $type = 'icon');
EntityIcon
deleteIcon
getIcon
getIconLastChange
getIconURL
hasIcon
saveIconFromElggFile
saveIconFromLocalFile
saveIconFromUploadedFile