Elgg\EntityIcon::hasIcon PHP 메소드

hasIcon() 공개 메소드

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'
리턴 boolean
    public function hasIcon($size, $type = 'icon');